Go to: <a href="http://ultralight.caltech.edu/web-site/ultralight/workgroups/network/sc2005/snmpd.conf">http://ultralight.caltech.edu/web-site/ultralight/workgroups/network/sc2005/snmpd.conf</a><br><br>There are most of the ucdavis snmp strings that work. Use it as a model and replace the strings from my command<br>
<br>It'll take a little playing, but it's worth it!<br><br><br><div class="gmail_quote">On Wed, Mar 5, 2008 at 9:30 AM, Hari Sekhon <<a href="mailto:hpsekhon@googlemail.com">hpsekhon@googlemail.com</a>> 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="Ih2E3d">Gary Every wrote:<br>
> Here is my command for checking load - it grabs 1,5,15 mins and<br>
> displays them. I'm watching to 5 min load, so it is first in the check:<br>
><br>
> command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C<br>
> $ARG1$ -o<br>
> enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3<br>
> -w :$ARG2$ -c :$ARG3$ -u "is 5min - ,is Current - ,is 15min"<br>
><br>
><br>
> The important thing in this is the<br>
> "enterprises.ucdavis.laTable.laEntry.laLoadInt.2" where "2" is the<br>
> second object returned, but since it is first, that is what nagios<br>
> will measure. The -u is formatting so the nagios check looks like this<br>
> on the webpage:<br>
><br>
> SNMP OK - 68 is 5min - 72 is Current - 63 is 15min<br>
><br>
> snmp is the way to go. Read up on it, you can do MANY checks - mem,<br>
> procs, disk space, execute remote commands, etc<br>
</div>Don't forget to CC the list.<br>
<br>
-h<br>
<br>
--<br>
<font color="#888888">Hari Sekhon<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Gary Every<br>"Pay it Forward!"<br>