Ad Widget

Collapse

zabbix 1.1.2 Icons on maps are reversed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akox
    Junior Member
    • Sep 2006
    • 7

    #1

    zabbix 1.1.2 Icons on maps are reversed

    Starting with zabbix 1.1.2 the icons on the maps are reversed and thus "icon_on" of an element is being displayed when "icon" should have been displayed. (you get "Red" icons when there is no problem, and "normal" icons where there is a problem!)

    maybe you should check
    frontends/php/include/maps.inc.php in line 232.
    the corrent code seems to be
    if(get_info_by_selementid($element["selementid"],$info,$color) != 0)

    instead of
    if(get_info_by_selementid($element["selementid"],$info,$color) == 0)

    [ != instead of == ]

    Thank you,
    Aris
  • sysigs
    Junior Member
    • Aug 2005
    • 27

    #2
    thank you for your help

    Comment

    • James Wells
      Senior Member
      • Jun 2005
      • 664

      #3
      Greetings,

      Thanx for catching this Aris. I have added this to a patch I am building to submit to the CVS repository for inclusion in 1.1.3
      Unofficial Zabbix Developer

      Comment

      • rxm8028
        Member
        • Apr 2005
        • 45

        #4
        Naturally...

        Of course, I find this thread only moments after changing the icons on all my maps!

        Thanks for the tip.

        Comment

        • James Wells
          Senior Member
          • Jun 2005
          • 664

          #5
          This has now been submitted to CVS.
          Unofficial Zabbix Developer

          Comment

          • Godzilla
            Junior Member
            • Aug 2005
            • 24

            #6
            Thanks AKOX!

            Comment

            Working...