[mrtg] Re: Fw: no stats

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Nov 26 13:37:08 MET 1999


Saheed Akhtar wrote:
> 
> I have just set-up mrtg to monitor traffic down a isdn router which does
> have snmp running. I get the graphs however they show no activity.

1st: get snmpget/snmpwalk or a similar package.
2nd: walk some relevant parts of the MIB.
3rd: only when you are able to get information from your device this way
     you can start thinking about MRTG.

"snmpwalk 128.0.0.61 public .1.3.6.1.2.1.2.2.1.2" should show what
targets to use.  Some "interfaces" won't show any data transfers.

"snmpwalk 128.0.0.61 public .1.3.6.1.2.1.1" should display system name
and more.

"snmpget 128.0.0.61 public .1.3.6.1.2.1.2.2.1.10.2 .1.3.6.1.2.1.2.2.1.16.2"
should provide the interface in and out counters.  They will probably
show up as zero for you.  Change snmpget into snmpwalk and skip the
instance (the ".2" appended to each OID) so you see all counters.

This should be enough for now.

Regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list