Try this and see if this works for you. Thanks<br><br><br>check_snmp -H yourhost -C your community_string -P your_snmp_version -o 1.3.6.1.4.1.9.9.13.1.3.1.3.1 -w 42: -c 38:42<br><br><div class="gmail_quote">On Thu, Feb 12, 2009 at 9:25 PM, Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com">marc@ena.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
On Feb 12, 2009, at 5:16 PM, Chris wrote:<br>
<br>
> I was wondering if there is any way to monitor a router's internal<br>
> temperature via Nagios? I get lots of information when I use snmlwalk.<br>
> But most check_snmp_* plugins give me<br>
<br>
</div>This will almost certainly depend on the type of router. You should<br>
check the MIB for your router. For cisco routers (7600's), I use the<br>
following to measure inlet temperatures --<br>
<br>
define command {<br>
command_name check_temperature<br>
command_line $USER1$/check_snmp -H $HOSTADDRESS<br>
$ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w<br>
37:32 -c 99:38 -l 'Temperature is'<br>
}<br>
<br>
define command {<br>
command_name check_temperature_npe-g1<br>
command_line $USER1$/check_snmp -H $HOSTADDRESS<br>
$ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.1 -C $USER3$ -w<br>
37:32 -c 99:38 -l 'Temperature is'<br>
}<br>
<br>
<br>
--<br>
<font color="#888888">Marc<br>
</font><div><div></div><div class="h5"><br>
------------------------------------------------------------------------------<br>
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA<br>
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise<br>
-Strategies to boost innovation and cut costs with open source participation<br>
-Receive a $600 discount off the registration fee with the source code: SFAD<br>
<a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>