Ad Widget

Collapse

count snmp rows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andrea.consadori
    Member
    • Apr 2013
    • 94

    #1

    count snmp rows

    Hi All,
    there's a way to create an snmp item and say: return me the row nuber of the root oid?

    i try to explain:
    [root@zabbix ~]# snmpwalk -v2c -c public 192.168.0.254 IF-MIB::ifIndex | wc -l
    127

    so with script i know i've 127 interfaces, and i know i can use external script but there's a way to directly create an item that count snmp oid output?

    thanks
  • Heilig
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2013
    • 366

    #2
    Without external scripts or userparameters, you can't do that.

    Comment

    • andrea.consadori
      Member
      • Apr 2013
      • 94

      #3
      thanks for your reply

      Comment

      Working...