[mrtg] snmq queries MRTG using
MrPaul
mrpaular at gmail.com
Sun Jan 28 16:12:22 CET 2007
Most routers set the SNMP interface ID upon bootup and I haven't seen an
easy way to get this from any device yet from the CLI. You can do a
snmpwalk on ifName or ifDesc and get the interface that is associated with
102 in your case.
The OID to get the In/Out counters is ifInOctets/ifOutOctets (32 bit
counters) or ifHCInOctets/ifHCOutOctets (64 bit counters). 64 bit should
always be used on speeds over 100Mb to prevent the counter from looping more
than once during your polling interval.
To get the full OID add "-On" for numerical output or "-Of" for text output
to your snmpwalk command.
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070128/42eaebb5/attachment.htm
More information about the mrtg
mailing list