<!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.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>hi,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>My service output</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Ldap Status UNKNOWN</TD> <TD 
class=statusBGUNKNOWN nowrap="nowrap">06-08-2008 12:29:01</TD> <TD 
class=statusBGUNKNOWN nowrap="nowrap">0d 0h 21m 5s</TD> <TD 
class=statusBGUNKNOWN>3/3</TD> <TD class=statusBGUNKNOWN 
valign="center">check_ldap: Please specify the host name </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I have configured ldap on Nagios Server as 
follows,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>vi commands.cfg</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>define 
command{<BR>        
command_name    
check_ldap<BR>        
command_line    $USER1$/check_nrpe!check_ldap 
-H $HOSTADDRESS$ -p $ARG1$ -b 
$ARG2$<BR>        }<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2>vi localhost</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>define 
service{<BR>        
use                            generic-service<BR>        
host_name                  server<BR>        
service_description       Ldap 
Status<BR>        
check_command           
check_nrpe!check_ldap -H 
192.168.100.80<BR>        }<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2>and remote site (on ldap server)</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>vi nrpe.cfg</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana 
size=2>command[check_ldap]=/usr/local/nagios/libexec/check_ldap -w 5 -c 
10</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT></TD></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>anyone help, what wrong with this 
configuration.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Regards,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Mangesh 
Dhamale<BR>-----------------------------------------------------------------<BR>System 
Administrator<BR>Suma Soft Pvt. Ltd.<BR>Suma Center, IInd Floor, Opp. Himali 
Society,<BR>Near Mangeshkar Hospital, Erandwane, Pune - 411004<BR>Ph : 
+91-20-40130400 Extn : 327<BR>Cell : +91-98508 87775<BR></FONT><A 
href="http://www.sumasoft.com"><FONT face=Verdana 
size=2>www.sumasoft.com</FONT></A><BR><FONT face=Verdana 
size=2>------------------------------------------------------------------<BR></FONT></DIV>

<br>
<html>----------------------------------------------
<br>Confidentiality No
te: This e-mail message and any attachments to it are
<br>
intended only for
 the named recipients and may contain legally privileged
<br>
and/or confide
ntial information. If you are not one of the intended 
<br>
recipients, plea
se forward this mail to abuse@sumasoft.net and do not duplicate or forward t
his 
<br>
e-mail message and immediately delete it from your computer.
</br>

----------------------------------------------
</br>
</html>


<br>
</BODY></HTML>