Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Net::SNMP Calculating traffic.

by NetWallah (Canon)
on May 22, 2014 at 04:58 UTC ( #1087055=note: print w/replies, xml ) Need Help??

in reply to Net::SNMP Calculating traffic.

The script part is relatively simple.

The more difficult part is to find the OID for the item you are trying to meter.

First - find out the relavant part of the MIB from the manufacturer of your hardware/firmware.

Use a simple snmp "get" command to make sure you can get that value, and that it makes sense.

Then convert that request into a script that runs periodically.

        What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
              -Larry Wall, 1992

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1087055]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2020-11-30 01:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found