I have created an item that uses SSH to run the command below on multiple hosts.
I have also created a widget that shows me the results.
I want to configure Zabbix to show the widget results in Green when the word is YES and in Red when the word is NO.
Also if for some reason Zabbix can't connect, on the remote host, the widget result should also be Red.
How can I do this?
Thanks
Code:
pgrep mpg123 > /dev/null && echo YES || echo NO
I want to configure Zabbix to show the widget results in Green when the word is YES and in Red when the word is NO.
Also if for some reason Zabbix can't connect, on the remote host, the widget result should also be Red.
How can I do this?
Thanks
Comment