Ad Widget

Collapse

Colors in widget command results

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aristosv
    Junior Member
    • Apr 2016
    • 10

    #1

    Colors in widget command results

    I have created an item that uses SSH to run the command below on multiple hosts.

    Code:
    pgrep mpg123 > /dev/null && echo YES || echo NO
    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
  • aristosv
    Junior Member
    • Apr 2016
    • 10

    #2
    Maybe I'm not explaining it correctly?
    I need a visual (color) indication if the service is running or not.
    Attached Files

    Comment

    Working...