<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=989422716-25062003><FONT face=Arial color=#0000ff size=2>I
found many extra plugins that weren't installed with the normal installer. Look
for where you untared your standard plugs. You untar the
nagios-plugins-1.3.0.tar.gz and get a new directory. In that directory you will
find a contrib directory. Inside "contrib" there are a bunch of .c files
that you can compile for new plugins. Then copy the newly created plugin
to your libexec and run it ./check_whatever -h to see the
information.</FONT></SPAN></DIV>
<DIV>
<DIV><SPAN class=989422716-25062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=989422716-25062003><FONT face=Arial color=#0000ff size=2>Anyone
have a reponse for my check_dhcp problem?</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> JoanPorta@lidl.es
[mailto:JoanPorta@lidl.es]<BR><B>Sent:</B> Wednesday, June 25, 2003 12:03
PM<BR><B>To:</B> Ira Harkness<BR><B>Subject:</B> Re: [Nagiosplug-help] Problem
with check_dhcp<BR><BR></FONT></DIV><BR><FONT face=sans-serif
size=2>Hi,</FONT> <BR><BR><FONT face=sans-serif size=2>I'm looking for extra
plugins to download. </FONT><BR><FONT face=sans-serif size=2>when you say
"contrib directory", which site are you talking?</FONT> <BR><FONT
face=sans-serif size=2>thanks<BR><BR><BR><BR>Joan Porta<BR>Sistemas de
Información<BR>Lidl Supermercados S.A.<BR>Av. Alcalde Barnils 64-68, Ed. Testa
Núcleo B<BR>08190 Sant Cugat del Vallés<BR>Teléf. +34-935816477<BR>Fax.
+34-935441980</FONT> <BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<TD><FONT face=sans-serif size=1><B>"Ira Harkness"
<ira@mse.ufl.edu></B></FONT> <BR><FONT face=sans-serif
size=1>Enviado por: nagiosplug-help-admin@lists.sourceforge.net</FONT>
<P><FONT face=sans-serif size=1>25/06/2003 17:22</FONT> <BR></P>
<TD><FONT face=Arial size=1> </FONT><BR><FONT
face=sans-serif size=1> Para:
<nagiosplug-help@lists.sourceforge.net></FONT>
<BR><FONT face=sans-serif size=1> cc:
</FONT> <BR><FONT face=sans-serif size=1>
Asunto:
[Nagiosplug-help] Problem with
check_dhcp</FONT></TR></TBODY></TABLE><BR><BR><BR><FONT face="Courier New"
size=2>I found check_dhcp.c in the contrib directory.<BR><BR>I typed "make
check_dhcp" and it made the "check_dhcp" file.<BR><BR>I then copied the
check_dhcp file to libexec.<BR><BR>Added it as a service definition then added
the two DHCP servers built on<BR>that definition.<BR><BR>Did a "../bin/nagios
-v nagios.cfg"<BR><BR>Error: Service check command 'check_dhcp' specified in
service 'DHCP' for<BR>host 'xxxxx' not defined anywhere!<BR>Error: Service
check command 'check_dhcp' specified in service 'DHCP' for<BR>host 'xxxxx' not
defined anywhere!<BR><BR>What do I need to do?<BR><BR>In the services.cfg I
used this as the DHCP template<BR><BR>----start template----<BR># Service
Template for DHCP<BR>define service{<BR> use
generic<BR> name
generic-dhcp<BR> register
0 ; keeps this
template from being<BR>registered<BR>
service_description Check
DHCP<BR> check_command
check_dhcp<BR>
contact_groups
admins<BR>}<BR>-----end template----<BR><BR>See anything wrong? Do I
need more with the check_dhcp command... probably<BR>something similar to the
check_ping!100.0,20%!500.0,60%<BR><BR>Thank you for your
help!<BR><BR><BR><BR><BR>-------------------------------------------------------<BR>This
SF.Net email is sponsored by: INetU<BR>Attention Web Developers &
Consultants: Become An INetU Hosting Partner.<BR>Refer Dedicated Servers. We
Manage Them. You Get 10% Monthly Commission!<BR>INetU Dedicated Managed
Hosting
http://www.inetu.net/partner/index.php<BR>_______________________________________________<BR>Nagiosplug-help
mailing
list<BR>Nagiosplug-help@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagiosplug-help<BR>:::
Please include plugins version (-v) and OS when reporting any issue. <BR>:::
Messages without supporting info will risk being sent to
/dev/null<BR><BR></FONT><BR><BR></BLOCKQUOTE></BODY></HTML>