Ad Widget

Collapse

Patch: Support host and global levels macros in headers graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dotneft
    Senior Member
    • Nov 2008
    • 699

    #1

    Patch: Support host and global levels macros in headers graphs



    Tested on Oracle DB, if you using other DB, maybe needed correctly SQL query!!
  • dotneft
    Senior Member
    • Nov 2008
    • 699

    #2
    updated.

    Current alrogithm:

    1) Search macro names and it values from hosts
    2) If the header graphic macros were search it in template thise graph
    3) If the header graphic macros were search in global level macros

    Comment

    • dotneft
      Senior Member
      • Nov 2008
      • 699

      #3
      updated. Now using API!

      Comment

      • funkypenguin
        Junior Member
        • May 2006
        • 3

        #4
        Hi,

        This looks really cool, but I'm not clear exactly how to use it?

        I'm trying to put the value of ifAlias.1 into my switch template graph label, for example... any way to do this?

        Thanks
        D

        Comment

        • sire
          Senior Member
          • Jul 2010
          • 210

          #5
          Originally posted by funkypenguin
          Hi,

          This looks really cool, but I'm not clear exactly how to use it?

          I'm trying to put the value of ifAlias.1 into my switch template graph label, for example... any way to do this?

          Thanks
          D
          As far as I understand this patch, it has nothing to do with SNMP ifAsliases. Instead it deals with Zabbix macros ${HOSTNAME}, ${DNS}, etc., replacing them with the corresponding values as it is natively done by Zabbix on the network maps. This can be used, for example, to display host DNS name in the graph caption. And I wonder why this feature is still not in Zabbix?! it just should be there as it is with the network maps. At least for the sake of uniformity.
          Last edited by sire; 15-10-2010, 15:50.
          Regards,
          Sergey Syreskin

          Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

          Temporary out of Zabbix business

          Comment

          Working...