<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] plugins</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>That doesn't work for me I am afraid. The enterprises is not a valid OID.</FONT>
<BR><FONT SIZE=2>Any more ideas?</FONT>
<BR><FONT SIZE=2>Thanks Yiannis</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Daniel Jimenez [<A HREF="mailto:djimenez@pobox.com">mailto:djimenez@pobox.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: 01 March 2004 15:33</FONT>
<BR><FONT SIZE=2>To: Goldberg Alain (IT)</FONT>
<BR><FONT SIZE=2>Cc: Yiannis Zimianitis; nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>Subject: Re: [Nagios-users] plugins</FONT>
</P>

<P><FONT SIZE=2>Goldberg Alain (IT) wrote:</FONT>
<BR><FONT SIZE=2>> I have this in checkcommands.cfg</FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>> define command {</FONT>
<BR><FONT SIZE=2>>                 command_name                   check_snmpif</FONT>
<BR><FONT SIZE=2>>                 command_line                   $USER1$/check_snmp -H </FONT>
<BR><FONT SIZE=2>> $HOSTADDRESS$ -o $ARG1$ -m IF-MIB</FONT>
<BR><FONT SIZE=2>>                 }</FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>>  the check_snmpif in this format spares a lot of MIB parsing.</FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>> and this in servicves.cfg:</FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>> check_command                  check_snmpif!enterprises.9.2.1.58.0 -w </FONT>
<BR><FONT SIZE=2>> 1:50 -c 1:70</FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>>  will warn above 50% and critical above 70%</FONT>
</P>

<P><FONT SIZE=2>This is for processor usage?</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Daniel Jimenez <djimenez[at]pobox[dot]com></FONT>
<BR><FONT SIZE=2>Tell your ISP to support SPF/SASL AUTH (<A HREF="http://spf.pobox.com" TARGET="_blank">http://spf.pobox.com</A>) today!</FONT>
<BR><FONT SIZE=2>--------------------------------------------------------------------/</FONT>
</P>
<BR>

<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>SF.Net is sponsored by: Speed Start Your Linux Apps Now.</FONT>
<BR><FONT SIZE=2>Build and deploy apps & Web services for Linux with</FONT>
<BR><FONT SIZE=2>a free DVD software kit from IBM. Click Now!</FONT>
<BR><FONT SIZE=2><A HREF="http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click" TARGET="_blank">http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>

</BODY>
</HTML>