Ad Widget

Collapse

SNMP poll for nodata?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gshearer
    Junior Member
    • Jan 2010
    • 13

    #1

    SNMP poll for nodata?

    Hi All,

    Anyone know the proper way to trigger based on an index not existing?

    For example, when polling for the state of a given IPSec VPN session from a cisco IOS device, you may do something like:

    .1.3.6.1.4.1.9.9.171.1.2.3.1.35.INDEX# == return value of 1 means tunnel is UP

    .1.3.6.1.4.1.9.9.171.1.2.3.1.7 == index of remotely connected IKE peers

    SO... to get the status of a specific remote peer who has the IP address of, for example, 128.50.50.50:

    .1.3.6.1.4.1.9.9.171.1.2.3.1.35["index",".1.3.6.1.4.1.9.9.171.1.2.3.1.7","128.050. 050.050"]

    However.. if that VPN session isn't up, it's likely to not even be in the index list... so ZAbbix will just simply start saying that this particular SNMP OID is not supported... and it will not cause a trigger.

    I need to somehow check to see if it even exists in the first place and trigger based on that.

    Help
  • netgeek1979
    Junior Member
    • Jul 2010
    • 8

    #2
    I think this is effectively the same as my problem:

    Comment

    Working...