Ad Widget

Collapse

[ZBX 2.2] Set macro with item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eljibe
    Member
    • Apr 2014
    • 31

    #1

    [ZBX 2.2] Set macro with item

    Hi all,

    I am trying something along these lines:

    I have an item that queries a DB2 database and retrieves the instance name. I know this item is associated with every DB2 host through a template.
    I'd like to put the result of this item in a user macro (say {$DB2INSTANCE}) so that, later on, in an other item, I can use {$DB2INSTANCE} to query said instance.

    Is that possible ?

    For the time being, this is done by using a configuration file in a external script, but this means every time a new DB2 host comes up, I have to update this file manually.

    And, yes, there is an awful lot of DB2 server/instances around here, so updating this is a hassle... And, of course, source for multiple failures, so I'd like to have this process automated.

    Any help is appreciated.

    Jean-Bernard
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Well, three years ago somebody try to create an universal DB monitoring tool


    But I have no idea about any improvement or news about that outdated project.
    Sincerely yours,
    Aleksey

    Comment

    Working...