Ad Widget

Collapse

Can I use an SNMP value in an action script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ipguy
    Junior Member
    • Nov 2010
    • 12

    #1

    Can I use an SNMP value in an action script?

    At the moment we are using the SNMP agent to retrieve a value, it's working

    The value is added as an inventory item, also working

    Now I would like to use the value in an action script as a variable.

    I've tried using {INVENTORY.BLAH.A1} but the value is not passed to the action script.

  • ipguy
    Junior Member
    • Nov 2010
    • 12

    #2
    This isn't possible or nobody knows how?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      The macro {INVENTORY.BLAH.A1} is not found as a standard macro, what version of Zabbix are you using?

      Comment

      • ipguy
        Junior Member
        • Nov 2010
        • 12

        #4
        Originally posted by Atsushi
        The macro {INVENTORY.BLAH.A1} is not found as a standard macro, what version of Zabbix are you using?
        {INVENTORY.BLAH.A1} is an example, I found the resolution, thanks

        Comment

        Working...