Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi all
I'm currently setting up MRTG on my linux dialup server and want it to monitor my ppp connection. After finally getting snmp going, I've now run into an issue with cfgmaker. lo and eth0 work perfectly, but ppp0 runs into a snag. For some reason, snmp is telling cfgmaker that the 155... IP below belongs to Interface 21, when in fact it belongs to Interface 4 - ppp0. --snpo: confcache [EMAIL PROTECTED]: Descr ppp0 --> 4 <snip> _--snpo: confcache [EMAIL PROTECTED]: Ip 155.239.195.132 --> 21_ <snip> --snpo: confcache [EMAIL PROTECTED]: Type 23 --> 4 <snip> --snpo: confcache [EMAIL PROTECTED]: Eth --> 4 (duplicate) <bigsnip> ### Interface 4 >> Descr: 'ppp0' | Name: '' | Ip: '' | Eth: '' ### ### The following interface is commented out because: ### * has a speed of 0 which makes no sense # # Target[localhost_4]: 4:[EMAIL PROTECTED]: # SetEnv[localhost_4]: MRTG_INT_IP="" MRTG_INT_DESCR="ppp0" # MaxBytes[localhost_4]: 0 # Title[localhost_4]: Traffic Analysis for 4 -- hq # PageTop[localhost_4]: <H1>Traffic Analysis for 4 -- hq</H1> # <TABLE> # <TR><TD>System:</TD> <TD>hq in Home</TD></TR> # <TR><TD>Maintainer:</TD> <TD>Henning, [EMAIL PROTECTED]</TD></TR> # <TR><TD>Description:</TD><TD>ppp0 </TD></TR> # <TR><TD>ifType:</TD> <TD>ppp (23)</TD></TR> # <TR><TD>ifName:</TD> <TD></TD></TR> # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR> # </TABLE> ### Interface 21 >> Descr: '' | Name: '' | Ip: '155.239.195.132' | Eth: '' ### ### The following interface is commented out because: ### * has a speed of which makes no sense ### * got 'Received SNMP response with error code ### error status: noSuchName ### index 1 (OID: 1.3.6.1.2.1.2.2.1.10.21) ### SNMPv1_Session (remote host: "localhost" [127.0.0.1].161) ### community: "private" ### request ID: 1293164661 ### PDU bufsize: 8000 bytes ### timeout: 2s ### retries: 5 ### backoff: 1)' from interface when trying to query # # Target[localhost_21]: 21:[EMAIL PROTECTED]: # SetEnv[localhost_21]: MRTG_INT_IP="155.239.195.132" MRTG_INT_DESCR="" # MaxBytes[localhost_21]: 0 # Title[localhost_21]: Traffic Analysis for 21 -- hq # PageTop[localhost_21]: <H1>Traffic Analysis for 21 -- hq</H1> # <TABLE> # <TR><TD>System:</TD> <TD>hq in Home</TD></TR> # <TR><TD>Maintainer:</TD> <TD>Henning, [EMAIL PROTECTED]</TD></TR> # <TR><TD>Description:</TD><TD> </TD></TR> # <TR><TD>ifType:</TD> <TD> ()</TD></TR> # <TR><TD>ifName:</TD> <TD></TD></TR> # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR> # <TR><TD>Ip:</TD> <TD>155.239.195.132 (nlys-ip-nas-1-p132.telkom-ipnet.co.za)</TD></TR> # </TABLE> This is obviously not an mrtg issue as snmpwalk gives us the same thing: IP-MIB::ipAdEntIfIndex.155.239.195.132 = INTEGER: 21 Even so, I'm hoping someone here can shed some light on this. I'm including complete cfgmaker and snmpwalk logs as well as my snmpd.conf file in case anybody wants more info. Oh, and if my snmp configuration is hopelessly insecure, please let me know how to improve it. :) Thanks in advance, Henning -- Attached file removed by Ecartis and put at URL below -- -- Type: text/plain -- Size: 6k (6277 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/cfgmaker.log -- Attached file removed by Ecartis and put at URL below -- -- Type: text/plain -- Size: 97k (99480 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/snmpwalk.log -- Attached file removed by Ecartis and put at URL below -- -- Type: text/plain -- Size: 15k (16261 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/snmpd.conf -- Unsubscribe mailto:[EMAIL PROTECTED] 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
