[mrtg] Re: SNMP communication problem

Camille Bégnis camille at neodoc.biz
Fri Dec 8 08:43:01 MET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel J McDonald a écrit :
> On Thu, 2006-12-07 at 18:26 +0100, Camille Bégnis wrote:
> 
>> To sumup: ssCpuRawUser.0 can get queried OK through snmpget but results
>> in an error when used inside mrtg. You'll find details below.
> 
>> debug log:
>> - -------------------------------------------------------------
>> - - --snpo: SNMPGet from public at localhost --
>> ssCpuRawUser.0,ssCpuRawIdle.0,sysUptime,sysName
>> Unknown SNMP var ssCpuRawUser.0
>>  at /usr/bin/mrtg line 2035
>> Unknown SNMP var ssCpuRawIdle.0
>>  at /usr/bin/mrtg line 2035
> 
> ssCpuRawUser.0 is not an OID known to mrtg.  You will need to use
> LoadMibs: 
> with the name of the mib file that defines ssCpuRawUser

Yes I did that:
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt

(The full config is in my initial message)

I checked the file is readable and actually contains the OID:

# grep ssCpuRawUser /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
ssCpuRawUser OBJECT-TYPE


I'm really lost...

Camille.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFFeReFjv9P65BfOUMRApKGAJ4s5taRnUhwxAOBK3/LuanXd1EL/gCgoZVN
siR/6xoyXCDHXoLWZNZ1VtA=
=+J6z
-----END PGP SIGNATURE-----


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-vcard
-- Size: 488 bytes
-- URL : http://lists.ee.ethz.ch/p/06-camille.vcf


--
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