On Thu, 2009-11-12 at 15:28 +0000, Lee Todd wrote:
> 
> Daniel
> I have changed the config and re run cfgmaker with the following
> cfgmaker --output=/etc/mrtg/wc1-6000.cfg --global
> workdir:/var/www/mrtg/wc1-6000 --ifref=nr --global "options[_]:
> growright,bits" --snmp-options=:::::2 [email protected]


> 
> When I run it I get the following errors.  I have tried changing the
> --ifref etc to other options and get the same.
> 
> SNMPGET Problem for ifInOctets.223 ifOutOctets.223 sysUptime sysName on
> [email protected]::::::v4only
>  at /usr/bin/mrtg line 2149
> SNMP Error:
> Received SNMP response with error code
>   error status: noSuchName
>   index 2 (OID: 1.3.6.1.2.1.2.2.1.16.224)
> SNMPv1_Session (remote host: "172.x.x.x" [172.x.x.x].161)

So, it is falling back to snmp v1?  Usually that indicates that the host
doesn't have HC counters.  There are a couple of debugs you can turn on
to get a fuller picture of why it is falling back.  To turn on
debugging, edit the cfgmaker file change the line that says:
@main::DEBUG=qw();

to
@main::DEBUG=qw(snpo snpd);

There are lots of broken snmp agents in this world.  MRTG can handle
most of the broken ones, but you have to know how they managed to break
it.



-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com

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

Reply via email to