[mrtg] Re: Problem with Net-SNMP and sysUptime / sysName

John Barbieri jbarbieri at metrocastcablevision.com
Tue Jun 28 21:04:16 MEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Clemson, Chris wrote:
> Hi everyone!
> Until recently I've been using UCD-SNMP (I think!) on linux.
> As I was reinstalling my server I thought I'd give Net-SNMP a go.
> 
> When I run mrtg, against it, all the counters work except sysUptime and sysName:
> 
> SNMP Error:
> Received SNMP response with error code
>   error status: noSuchName
>   index 2 (OID: 1.3.6.1.2.1.25.2.3.1.6.101)
> SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
>                   community: "public"
>                  request ID: 522267604
>                 PDU bufsize: 8000 bytes
>                     timeout: 2s
>                     retries: 5
>                     backoff: 1)
>  at /usr/bin/../lib/mrtg2/SNMP_util.pm line 487
> SNMPGET Problem for 1.3.6.1.2.1.25.2.3.1.5.101 1.3.6.1.2.1.25.2.3.1.6.101
> sysUptime sysName on public at localhost::::::v4only
>  at /usr/bin/mrtg line 1836
> SNMP Error:
> Received SNMP response with error code
>   error status: noSuchName
>   index 2 (OID: 1.3.6.1.4.1.2021.4.3)
> SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
> 
> this is weird as when I do:
> 
> snmpwalk -c public -v 1 localhost sysUptime
> snmpwalk -c public -v 1 localhost sysname
> 
> they return the expected information, and on the page headers they mention the following:
> 
> The statistics were last updated Tuesday, 28 June 2005 at 14:45,
> at which time 'plan10' had been up for 2:56:32.
> 
> which seems okish.
> Any ideas why this might be happening?
> 
> thanks,
> 
> chris
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://lists.ee.ethz.ch/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
> 
> 
> 


This does not look like to be a sysuptime OID.

[john at xwing]/home/john>: snmptranslate -Oa 1.3.6.1.2.1.25.2.3.1.6.101
HOST-RESOURCES-MIB::hrStorageUsed.101


it looks like it is used for storage, perhaps you were monitoring
storage before?? did you try snmpwalk'ing with that OID?? I get no output

[john at xwing]/home/john>: snmpwalk -c public -v 1 localhost
1.3.6.1.2.1.25.2.3.1.6.101


It just goes right back to command prompt after that.

To recap: That OID doesnt appear to be sysuptime or sysname.


Regards,

John

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCwZ8vntjrPsCbhI4RAgpfAJ9jiP1eS2Cq+5WlGhGvqV1Of/cHqgCgqxlM
kMjlqv990z7RTgs3KcgQoQ8=
=DrDi
-----END PGP SIGNATURE-----

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



More information about the mrtg mailing list