-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Daniel, Thanks for your answer, I tried two possibilities:
LoadMIBs: /usr/share/snmp/mibs/SNMPv2-SMI.txt,/usr/share/snmp/mibs/SNMPv2-TC.txt,/usr/share/snmp/mibs/UCD-SNMP-MIB.txt LoadMIBs: /usr/share/snmp/mibs/SNMPv2-SMI.txt,/usr/share/snmp/mibs/SNMPv2-TC.txt LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt To no avail... Camille. Daniel J McDonald a écrit : > On Fri, 2006-12-08 at 08:43 +0100, Camille Bégnis wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> Daniel J McDonald a écrit : >>> On Thu, 2006-12-07 at 18:26 +0100, Camille Bégnis wrote: > >>>> 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... > > UCD-SNMP-MIB has two imports: > IMPORTS > OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY, > Integer32, Opaque, enterprises, Counter32 > FROM SNMPv2-SMI > > TEXTUAL-CONVENTION, DisplayString, TruthValue > FROM SNMPv2-TC; > > > You may want to try importing those two files. Import them before the > mib you want to use. The perl snmp_utils module does not follow import > references for you, unlike the net-snmp tools written in C. > > I've never needed to include those two files, but I almost always have > to include the CISCO-SMI and CISCO-TC mibs... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFFeXBCjv9P65BfOUMRAi+cAJ9sPXHsKmgQbZ/c9HGa2ADFJfGt2ACgjGef lAuJZ2aqJDjw+ANZ/qV3sVo= =RBoB -----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/07-camille.vcf -- Unsubscribe mailto:[EMAIL PROTECTED] 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
