> How do I use net-snmp to get the in-octets and out-octets
> from a Router ?
snmpwalk -v 1 -c public router ifInOctets
or snmpwalk -v 1 -c public router ifOutOctets
(or whatever the appropriate settings are for your router).
To monitor this over a period of time, and draw pretty graphs of the
traffic over the router, have a look at MRTG or Cricket.
Dave
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users