Ad Widget

Collapse

How do I change the background color based on the item's values?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mursel.BAKAY
    Junior Member
    • Jun 2022
    • 12

    #1

    How do I change the background color based on the item's values?

    Hi all.

    How do I change the background color based on the item's values?
    For example; if item's value is "Running" my widget's background color will be GREEN, otherwise the background color will be RED.

    Regards.
  • vijayk
    Senior Member
    • May 2023
    • 305

    #2
    You have to define the "Thresholds" in item widget. If you are taking about Windows service then thresholds value are as below.

    Click image for larger version

Name:	image.png
Views:	2580
Size:	29.1 KB
ID:	469740

    Comment


    • Mursel.BAKAY
      Mursel.BAKAY commented
      Editing a comment
      Hi Vijayk. My Zabbix Server's version is 6.0. Is it possible at this version? I didn't see "Threshold" zone on item's widget.
  • vijayk
    Senior Member
    • May 2023
    • 305

    #3
    Yes, it is available in 6.0.

    Please check with below screenshot.
    Click image for larger version

Name:	image.png
Views:	2545
Size:	30.4 KB
ID:	470098

    Please refer the link. https://www.zabbix.com/documentation...ets/item_value

    Comment

    Working...