Ad Widget

Collapse

How do I sum the integers of a bunch of OID's?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • syntaxcollector
    Junior Member
    • Nov 2008
    • 3

    #1

    How do I sum the integers of a bunch of OID's?

    Hi There

    What I need to do is walk an OID tree and sum all the integers that come out of the tree. The tree length changes so I do not know where the tree ends. I just want a command similar to snmpwalk that will list them all and then sum them.

    Currently I'm using an external check to do this with a bash script, but I thought there may be a better way.

    Any thoughts?
Working...