[mrtg] Re: Wrong OID 1600SC Dell Poweredge?

Campbell, David David.Campbell at granadamedia.com
Tue Nov 25 23:50:27 MET 2003


 Hi Vincent,

> I am rather new to this, but what about adding parenthesis before the /
> sign? Something like: ((OID1&OID2:community at device) / 10 ) * 1.8 + 32

me too ) But this didn't help

> Also: you are prefixing the second OID with a dot, and not the first

again no luck

When I try an use snmpget - I get a 'no security name' error

snmpget cpfc.org foo.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2
snmpget: No securityName specified

Dave



-----Original Message-----
From: Vincent De Keyzer
To: Campbell, David
Sent: 11/25/03 3:44 PM
Subject: RE: [mrtg] Wrong OID 1600SC Dell Poweredge?

I am rather new to this, but what about adding parenthesis before the /
sign? Something like: ((OID1&OID2:community at device) / 10 ) * 1.8 + 32

Other silly question: can you snmpget the value you are looking for?

Also: you are prefixing the second OID with a dot, and not the first
one?
1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2&.1.3.6.1.4.1.674.10892.1.700.20.1
.6.1
.2
^                                      ^
|                                      |
here                                   and here

Vincent


> Hi - I am trying to monitor the temperature on an dell 
> poweredge 1600SC - all other MRTG monitoring is working great
> 
> I am using the configs as described on this page:
> 
> http://web.csma.biz/resources.dellpedge.shtml
> 
> Like this
> 
> # CPU 1 Temp
> Target[cpfc.org.pt1]: ( 
> 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2&.1.3.6.1.4.1.674.10892.
> 1.700.20.1.6.1.2:foo at cpfc.org / 10 ) * 1.8 + 32
> XSize[cpfc.org.pt1]: 360
> YSize[cpfc.org.pt1]: 75
> Title[cpfc.org.pt1]: Processor 1 - Temperature (F)
> MaxBytes[cpfc.org.pt1]: 212
> AbsMax[cpfc.org.pt1]: 212
> Options[cpfc.org.pt1]: growright,gauge,nopercent
> PageTop[cpfc.org.pt1]: <h1>Processor 1 - Temperature (F)</h1>
> YLegend[cpfc.org.pt1]: Deg F
> ShortLegend[cpfc.org.pt1]: &deg;F
> Legend1[cpfc.org.pt1]: CPU 1 - TEMP
> Colours[cpfc.org.pt1]: RED#F90000,RED#F90000,RED#F90000,RED#F90000
> 
> But I am getting the following results in the logs
> 
> 2003-11-25 13:50:00 -- Started mrtg
> 2003-11-25 13:50:02 -- SNMP Error:
> Received SNMP response with error code
>   error status: noSuchName
>   index 1 (OID: 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2)
> SNMPv1_Session (remote host: "cpfc.org" [207.44.242.16].161)
>                   community: "foo"
>                  request ID: -246879584
>                 PDU bufsize: 8000 bytes
>                     timeout: 2s
>                     retries: 5
>                     backoff: 1)
>  at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 486
> 2003-11-25 13:50:02 -- SNMPGET Problem for 
> 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2 
> .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2 sysUptime sysName on 
> foo at cpfc.org::::::v4only
>  at /usr/local/mrtg-2/bin/mrtg line 1798
> 2003-11-25 13:50:03 -- ERROR: Target[cpfc.org.pt1][_IN_] '(  
> $target->[7]{$mode}  / 10 ) * 1.8 + 32' (warn): Use of 
> uninitialized value in division (/) at (eval 20) line 1.
> 2003-11-25 13:50:03 -- ERROR: Target[cpfc.org.pt1][_OUT_] '(  
> $target->[7]{$mode}  / 10 ) * 1.8 + 32' (warn): Use of 
> uninitialized value in division (/) at (eval 21) line 1.
> 2003-11-25 13:50:03 -- WARNING: Skipping Update of 
> cpfc.org.pt1, inlast is not defined
> 2003-11-25 13:50:03 -- WARNING: Skipping Update of 
> cpfc.org.pt1, outlast is not defined
> 
> Does this mean that the OID is wrong or something more fundamental?  



********************************************************************** 
Please visit the official Granada website at www.granadamedia.com
for the latest company news.

This email and any files transmitted are confidential and intended 
solely for the use of the individual or entity to which they are 
addressed.  If you have received this email in error, please notify 
postmaster at granadamedia.com 

Thank you.
**********************************************************************

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list