[mrtg] Target error

Klaus Bruno bruno.klaus at infotrust.ch
Tue Oct 2 16:16:28 CEST 2007


If you want to use symbolic names you have to load the appropriate MIB in the cfg file.
Search the documentation for "LoadMIBs"

example: LoadMIBs: /dept/net/mibs/netapp.mib,/usr/local/lib/ft100m.mib

But why do you want change if the numeric form works?

Bruce


 
-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Andrea Bencini
Sent: Tuesday, October 02, 2007 4:45 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Target error

I installed mrtg
It is working.
My question is:
When I use the "Target" in numeric form I haven't problem
Target[server.cpuUser]: 
.1.3.6.1.4.1.2021.11.50.0&.1.3.6.1.4.1.2021.11.50.0:public at 10.100.0.1

When I use the "Target" in this form
Target[server.cpuUser]: 
.1.3.6.1.4.1.2021.11.ssCpuRawUser.0&.1.3.6.1.4.1.2021.11.ssCpuRawUser.0:public at 10.100.0.1

I receive those messages in mrtg.log

2007-09-29 17:34:04 -- Started mrtg with config '/etc/mrtg/fwall1.cfg'
2007-09-29 17:34:04 -- Argument "ssCpuRawUser" isn't numeric in numeric ge 
(>=) at /usr/bin/../lib/mrtg2/BER.pm line 256.
2007-09-29 17:34:04 -- Argument "ssCpuRawUser" isn't numeric in numeric ge 
(>=) at /usr/bin/../lib/mrtg2/BER.pm line 256.
2007-09-29 17:34:04 -- SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.4.1.2021.11.0.0)
SNMPv1_Session (remote host: "10.100.0.1" [10.100.0.1].161)
                  community: "public"
                 request ID: 951103521
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
2007-09-29 17:34:04 -- SNMPGET Problem for 
.1.3.6.1.4.1.2021.11.ssCpuRawUser.0 .1.3.6.1.4.1.2021.11.ssCpuRawUser.0 on 
public at 10.100.0.1::::::v4only
 at /usr/bin/mrtg line 2149
2007-09-29 17:34:04 -- 2007-09-29 17:34:04: ERROR: 
Target[server.cpuuser][_IN_] ' $target->[3]{$mode} ' did not eval into 
defined data
2007-09-29 17:34:04 -- 2007-09-29 17:34:04: ERROR: 
Target[server.cpuuser][_OUT_] ' $target->[3]{$mode} ' did not eval into 
defined data

Can you help me
Thanks
Andrea 

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3113 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20071002/7b1c8f0b/attachment.bin 


More information about the mrtg mailing list