[mrtg] Want to monitor System temperature of 2811 router - Need OID

Mersberger, Robert robert.mersberger at goldenliving.com
Wed Aug 27 00:01:41 CEST 2008


Yes I did see that right after I sent the email.  I made the correction
and now it looks like it is working, that is no error messages,
 

________________________________

From: Anson Rinesmith [mailto:arinesmith at bigrivertelephone.com] 
Sent: Tuesday, August 26, 2008 4:52 PM
To: Mersberger, Robert; 'Steve Shipway'; mrtg at lists.oetiker.ch
Subject: RE: [mrtg] Want to monitor System temperature of 2811 router -
Need OID



Looks to me like the problem is that you aren't using the right OID.

When you do the snmpwalk, you are actually getting a return value of
cisco.ciscoMgmt.13.1.3.1.3.1 

When you are using MRTG you are using the "get" OID equivalent to
cisco.ciscoMgmt.13.1.3.1.3

See the difference?

 

 

________________________________

From: Mersberger, Robert [mailto:robert.mersberger at goldenliving.com] 
Sent: Tuesday, August 26, 2008 4:45 PM
To: Anson Rinesmith; Steve Shipway; mrtg at lists.oetiker.ch
Subject: RE: [mrtg] Want to monitor System temperature of 2811 router -
Need OID

 

Need your help.  Here is the cfg I am running  and the messages I am
getting.  What am I doing wrong.

 

EnableIPv6: no
WorkDir: /usr/local/rrd_data
Options[_]: bits,growright
LogFormat: rrdtool
routers.cgi*Options[_]: scaled
# Cisco router Temperature report for 10.88.91.254 08891forar
Target[08891forar_TEMP]:
1.3.6.1.4.1.9.9.13.1.3.1.3&1.3.6.1.4.1.9.9.13.1.3.1.3:?????@10.88.91.254
::2:2::1
Options[08891forar_TEMP]: gauge,nopercent,growright,nobanner
MaxBytes[08891forar_TEMP]: 140
Unscaled[08891forar_TEMP]: dwmy
Title[08891forar_TEMP]: Cisco router Temperature report for 08891forar
10.88.91.254
PageTop[08891forar_TEMP]: <H1>Temperature Monitor -- 08891forar </H1>
routers.cgi*Mode[08891forar_TEMP]: generic

 

WIth SNMP 1 defined I get the following message

 

SNMP Error:

Received SNMP response with error code

error status: noSuchName

index 1 (OID: 1.3.6.1.4.1.9.9.13.1.3.1.3) SNMPv1_Session (remote host:
"10.88.91.254" [10.88.91.254].161)

community: "?????"

request ID: 1770878177

PDU bufsize: 8000 bytes

timeout: 2s

retries: 2

backoff: 1)

at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 491 SNMPGET Problem for
1.3.6.1.4.1.9.9.13.1.3.1.3 1.3.6.1.4.1.9.9.13.1.3.1.3 on
?????@10.88.91.254::2:2::1:v4only at /usr/bin/mrtg line 2202

2008-08-26 16:15:05: ERROR: Target[08891forar_temp][_IN_] '
$target->[20]{$mode} ' did not eval into defined data

2008-08-26 16:15:05: ERROR: Target[08891forar_temp][_OUT_] '
$target->[20]{$mode} ' did not eval into defined data SNMP Error:

 

With Snmp version 2 

2008-08-26 16:30:06: ERROR: Target[08891forar_temp][_IN_] '
$target->[20]{$mode} ' did not eval into defined data

2008-08-26 16:30:06: ERROR: Target[08891forar_temp][_OUT_] '
$target->[20]{$mode} ' did not eval into defined data 

 

 

 

 

This is the walk from the NNM server using both version 1 and 2c

C:\Program Files\HP OpenView>snmpwalk -c ????? 10.88.91.254
1.3.6.1.4.1.9.9.13.1.3.1.3
cisco.ciscoMgmt.13.1.3.1.3.1 : Unsigned32: 22

 

C:\Program Files\HP OpenView>snmpwalk -v 2c -c ????? 10.88.91.254
1.3.6.1.4.1.9.9.13.1.3.1.3
cisco.ciscoMgmt.13.1.3.1.3.1 : Unsigned32: 22

 

C:\Program Files\HP OpenView>snmpwalk -v 1 -c ????? 10.88.91.254
1.3.6.1.4.1.9.9.13.1.3.1.3
cisco.ciscoMgmt.13.1.3.1.3.1 : Unsigned32: 22

 

________________________________

From: Anson Rinesmith [mailto:arinesmith at bigrivertelephone.com] 
Sent: Tuesday, August 26, 2008 12:18 PM
To: Mersberger, Robert; 'Steve Shipway'; mrtg at lists.oetiker.ch
Subject: RE: [mrtg] Want to monitor System temperature of 2811 router -
Need OID

I use these for my 7206, might get lucky and work for you.

Cisco 7206vxr router:
                     CPU: 1.3.6.1.4.1.9.2.1.58.0
                     Mem: 1.3.6.1.4.1.9.9.48.1.1.1.5.1
           Temp intake  1: 1.3.6.1.4.1.9.9.13.1.3.1.3.1
           Temp exhaust 2: 1.3.6.1.4.1.9.9.13.1.3.1.3.2
           Temp exhaust 3: 1.3.6.1.4.1.9.9.13.1.3.1.3.3
           Temp exhaust 4: 1.3.6.1.4.1.9.9.13.1.3.1.3.4

 

 

________________________________

From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Mersberger, Robert
Sent: Tuesday, August 26, 2008 12:09 PM
To: Steve Shipway; mrtg at lists.oetiker.ch
Subject: [mrtg] Want to monitor System temperature of 2811 router - Need
OID

 

I would like to monitor the system temperature that is shown when one
doe the show env command on the router.

Would anyone know the OID that I would need to use to accomplish this or
maybe have a better solution. 

 

I tried looking through the results of an snmpwalk for the router but
that was of little help.

 

If someone can help I would appreciate it.

 

 

________________________________

From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Hughes, Andy
Sent: Friday, August 22, 2008 10:06 AM
To: Steve Shipway; 'mrtg at lists.oetiker.ch'
Subject: Re: [mrtg] Newbie question

Steve, thanks again. I have changed the task to run every 5 minutes,
which currently means it fails every 5 minutes.

 

 

Here is a snippet that appears after manually trying to run (community
string and IP changed). The hosting provider swears they have not
altered the community string.  Does anything look obviously wrong?

 

SNMPv1_Session (remote host: "10.10.10.10" [10.10.10.10].161)
                  community: "xxxxxxx"
                 request ID: 1304582469
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at C:/mrtg-2.16.2/bin\..\lib\mrtg2/SNMP_util.pm line 492
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on
xxxxxxx at 10.10.10.10::::::v4only <mailto:xxxxxxx at 10.10.10.10::::::v4only>

 at mrtg line 2202
2008-08-19 09:04:54: WARNING: skipping because at least the query for
ifInOctets
.1 on  10.10.10.10 did not succeed
2008-08-19 09:04:54: WARNING: no data for
ifInOctets&ifOutOctets:xxxxxxx at 1
0.10.10.10. Skipping further queries for Host 10.10.10.10 in this round.

 

________________________________

From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Sent: Friday, August 22, 2008 12:36 AM
To: Hughes, Andy; 'mrtg at lists.oetiker.ch'
Subject: RE: Newbie question

The location of error logs depends on your system setup; I can't help
you there.

 

MRTG will poll at 5min intervals by default only if you are using Daemon
mode (you arent).  Therefore, you should set your cron job to run every
5 mins, unless you have explicitly set a 10min interval (you havent).

 

Steve

 

________________________________

From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On
Behalf Of Hughes, Andy [Andrew.Hughes at aquilent.com]
Sent: Friday, 22 August 2008 5:15 a.m.
To: 'mrtg at lists.oetiker.ch'
Subject: Re: [mrtg] Newbie question

Steve, thanks very much for the response.  I will pursue what you have
suggested.

 

I did search for some error logs but found none. Where are they hiding?

 

Is mrtg by default going to run every 5 minutes without my intervention,
or are you saying I should change the task to run every 5 minutes
instead rather than the 10 I set up?

 

Thanks again!

 

 

Please consider the environment before printing this e-mail. 

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively, this 'Email')
are intended 
only for the confidential use of the recipient(s) named above. If the
reader of this 
message is not the intended recipient named above or an agent
responsible for 
delivering it to the intended recipient named above, you have received
this Email in error. 
Please notify the sender immediately and permanently delete this Email
and any copies thereof.

Please consider the environment before printing this e-mail. 

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively, this 'Email')
are intended 
only for the confidential use of the recipient(s) named above. If the
reader of this 
message is not the intended recipient named above or an agent
responsible for 
delivering it to the intended recipient named above, you have received
this Email in error. 
Please notify the sender immediately and permanently delete this Email
and any copies thereof.



Please consider the environment before printing this e-mail.

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively, this 'Email') are intended
only for the confidential use of the recipient(s) named above. If the reader of this
message is not the intended recipient named above or an agent responsible for
delivering it to the intended recipient named above, you have received this Email in error.
Please notify the sender immediately and permanently delete this Email and any copies thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080826/b34ba307/attachment-0001.html 


More information about the mrtg mailing list