[mrtg] Re: MRTG not getting information on all interfaces

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Apr 18 01:37:10 MEST 2002


mrtg at acg-solutions.net wrote:

> 
> I'm running mrtg 2.9.17 on RedHat Linux.  I'm polling a Cisco 3660 and a
> Nortel Networks ASN.  The trouble is twofold.  First, on the Cisco, not
> all interfaces are showing up in the mrtg.cfg file, nor the index.html I

Not even commented out?

> generate using indexmaker.  The interface that is glaringly obvious that
> it's missing is the interface the target IP address for mrtg.cfg is on. 

Erm... rephrase please?  I do understand that something is obvious but
I'm missing what is :)

> The second issue is on the ASN's interfaces.  Both the 10M ethernet and
> the serial interfaces are seen, but I get no traffic statistics on the
> serial interfaces.  MRTG seems to be able to get information about the
> interfaces, as it shows them as PPP, which they are.  The ethernet
> interfaces have traffic shown on the graphs.

Always check, using snmpget, that the device is reporting correctly. If
this doesn't work, MRTG cannot be expected to work.

> An snmpwalk from the server running mrtg gets the ifInOctets and
> ifOutOctets for the ASN, so I don't believe the ASN isn't able to give
> the server the desired information.

No pun intended but are you getting numbers that don't vary?

> Anyone have any suggestions on where to go from here?

snmpwalk device comm.string .1.3.6.1.2.1.2.2.1.2
For each of the reported instances do the following:
      snmpget device comm.string \
                    .1.3.6.1.2.1.2.2.1.10.x .1.3.6.1.2.1.2.2.16.x
      sleep 30
      snmpget device comm.string \
                    .1.3.6.1.2.1.2.2.1.10.x .1.3.6.1.2.1.2.2.16.x

Each time you should get a result; it should be more the second time.

Edit the config file by hand and use the 'Target[x]: 1:public at host' format.

Check that you can use snmp v1 or alter the config file so that it uses v2.

HTH,
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list