Ad Widget

Collapse

How to change shape fill based on trigger state?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • post.ed
    Junior Member
    • Mar 2025
    • 4

    #1

    How to change shape fill based on trigger state?

    I Made in zabbix monitoring of the temperature of air handling units.
    I want to divide the map into areas (like an air handling unit serves a given area of the room) - using figures and change the color, depending on the state of the trigger
    Each figure is linked to its host (accordingly, linked to the host trigger)
    Click image for larger version

Name:	1.png
Views:	59
Size:	69.8 KB
ID:	506284
    like in another software:
    Click image for larger version

Name:	2.jpg
Views:	29
Size:	140.3 KB
ID:	506285
    Currently it is not possible to link a figure to a host, perhaps this can be done using macros?
    Has anybode done something like this?
    Maybe share the code?


  • kz3
    Junior Member
    • Jul 2025
    • 20

    #2
    hey i been triying something i added an icon on
    Administration > zabbix > images called barra_roja that means red bar

    the idea is this in the map configuration there is this option that allows to change que shape of the host and i put the red bar the one that i manually added
    Click image for larger version  Name:	image.png Views:	0 Size:	29.3 KB ID:	506315

    so if there is a problem it apears like this
    Click image for larger version  Name:	image.png Views:	0 Size:	8.7 KB ID:	506317

    what i mean by this is maybe adding icons for green floor or red floor and whit the letting them change if there was problems


    imma try it for a second i can do something like this , and when a trigger fails it will change its form to "rojo" that is a red square i think that to change the shape the best is to add the icons by length and width
    Click image for larger version  Name:	image.png Views:	0 Size:	143.6 KB ID:	506318
    Attached Files

    Comment

    • post.ed
      Junior Member
      • Mar 2025
      • 4

      #3
      Thank you for idea! Yes, I am considering this option, to use the figured areas of the premises as host icons, but this is for extreme cases.

      Comment

      Working...