On Mon, Jun 04, 2007 at 05:50:48PM +0200, Toto Capuccino wrote:

> It works from the command line
> snmpget -v 1 -c [EMAIL PROTECTED] 10.2.1.3
> 1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108
> SNMPv2-SMI::enterprises.9600.1.1.5.1.5.6.95.84.111.116.97.108 = Gauge32: 0

[it==OID query in mrtg]
> It doesn't work.
> 
> I get this error :
> env LANG=C /usr/bin/mrtg test2.cfg
> SNMP Error:
> Received SNMP response with error code
>  error status: noSuchName
>  index 2 (OID: 1.3.6.1.4.1.9600.1.1.5.6.95.84.111.116.97.108)
> SNMPv1_Session (remote host: "10.2.1.3" [10.2.1.3].161)
>                  community: "[EMAIL PROTECTED]"
>                 request ID: 1534273303
>                PDU bufsize: 8000 bytes
>                    timeout: 2s
>                    retries: 5
>                    backoff: 1)
> at /usr/share/perl5/SNMP_util.pm line 490
> SNMPGET Problem for 1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108
> 1.3.6.1.4.1.9600.1.1.5.6.95.84.111.116.97.108 sysUptime sysName on
> [EMAIL PROTECTED]@10.2.1.3::::::v4only
> at /usr/bin/mrtg line 2043
> 2007-06-04 17:12:59: ERROR: Target[10.2.1.3][_IN_] ' $target->[1]{$mode} '
> did not eval into defined data
> 2007-06-04 17:12:59: ERROR: Target[10.2.1.3][_OUT_] ' $target->[1]{$mode} '
> did not eval into defined data

[snip: other example]

Perhaps a version problem?
Try 
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html#item_extended_host_name_syntax

Do sysUptime and sysName work?
Try http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html#nomib2

HTH
Alex

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to