Ad Widget

Collapse

ShellScript return <empty string> in Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rafael.queiroga
    Junior Member
    • Dec 2023
    • 1

    #1

    ShellScript return <empty string> in Zabbix

    I created a .sh file on Macos that returns the Maximum Capacity of the battery. On MacOS I return the correct value of the percentage I still have battery, however in the Item that I created in Zabbix passing the parameter from the same shell script, it returns as <empty string>.

    What can I do to correct it and make the percentage appear?​
Working...