Ad Widget

Collapse

How to check OID recursively

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trta
    Junior Member
    • Jul 2010
    • 18

    #1

    How to check OID recursively

    Hello,

    I'm back with SNMP :-)

    It is possible to monitor only piece of complete OID? For example i have OID iso.3.6.1.2.1.43.18.1.1.8.1.771 which represent text value. Last digit "771" is still changing by device (which I'm inspected). With clear snmpwalk i try get value from iso.3.6.1.2.1.43.18.1.1.8.1 - without last number and whoooom - i got right values. If it has multiple last digits - I got them all. In zabbix SNMP monitoring I'm try the same, but with no success.

    Is there a way to reach my (hopefully correct) thoughts?
    Last edited by trta; 20-03-2012, 13:28.
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    For Zabbix to work you need to get the value with snmpget not snmpwalk.

    Perhaps you could post some output from snmpget, if you get stuck.


    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • netmon
      Member
      • Feb 2012
      • 30

      #3
      From 2.0 you can use LLD for that.

      http://www.zabbix.com/documentation/...evel_discovery

      If the "Index" is the last digit of your OID builtin LLD for SNMP would be fine.
      As the OID of your discovery rule you would specify: iso.3.6.1.2.1.43.18.1.1.8.1

      For each Device the discovery rule would build specific Items for your Prototypes.
      For example:
      Device A: iso.3.6.1.2.1.43.18.1.1.8.1.123
      Device B: iso.3.6.1.2.1.43.18.1.1.8.1.321
      Device C: iso.3.6.1.2.1.43.18.1.1.8.1.771


      If you have longer Indexes (not only the last digit of your OID) or you dont have the Index at the last position check:
      My Addons to the Zabbix Monitoring Solution. Contribute to simonkowallik/Zabbix-Addons development by creating an account on GitHub.

      Comment

      Working...