<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello,<br><br>I am having really NRPE weird issue, never faced this
type of problem before, configured NRPE on hundreds Hosts without any
problem but this one is killing me<br><br><b>Environment:</b><br><br>OS: Solaris 10 Zone<br><br>NRPE Version: 2.12<br><br>Nagios-plugins Version: 1.4.13<br><br>OpenSSL: 0.9.8i<br><br>Nagios Server: Ubuntu 8.04(hardy)<br><br>Nagios Version: 3.0.5<br><br><b>Problem:</b><br><br>I
compiled , installed and started NRPE successfully on Solaris 10 zone.
But somehow Nagios doesn't show the status critical or warning for this
host even services are down. Nagios shows status 'OK' all the time
though services are critical<br><br>For example <br><br><b>On Solaris 10 zone, nrpe.cfg file has</b><br><br>command[check_users]=/usr/local/sys/nrpe/libexec/check_users -w 2 -c 3<br>command[check_remote]=/usr/local/sys/nrpe/libexec/check_tcp -p 1250<br><br>root@asqstage# /usr/local/sys/nrpe/libexec/check_users -w 2 -c 3<br>USERS CRITICAL - 11 users currently logged in |users=11;2;3;0<br><br>root@asqstage# /usr/local/sys/nrpe/libexec/check_tcp -p 1250<br>Connection refused<br><b><br>On Nagios Server:</b><br>root@cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage -c check_users<br>USERS CRITICAL - 10 users currently logged in |users=10;2;3;0<br><br>root@cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage -c check_remote<br>Connection refused<br><br>So, it means NRPE is passing write information to the check_nrpe on nagios, but somehow Nagios is showing them as OK status<br><br><br>check users OK 11-20-2008 14:20:41 0d 0h 20m 28s 1/3 USERS CRITICAL - 10 users currently logged in<br><br>check Remote Trace OK 11-20-2008 14:16:57 0d 0h 19m 12s 1/3 Connection refused<br><br><br>Here is my nagios configuration<br><br>define host{<br> use generic-host ; Name of host template to use<br> host_name asqstage<br> alias asqstage<br> parents sheila<br> address 163.189.222.51<br> check_command check-host-alive<br> max_check_attempts 10<br> contact_groups CMESMonitoringGroup<br> notification_interval 1440<br> notification_period 24x7<br> notification_options d,u,r<br> }<br><br><br><br>define service{<br> use generic-service ; Name of service template to use<br> host_name asqstage<br> service_description check users<br> check_command check_nrpe!check_users<br> }<br><br>define service{<br> use generic-service ; Name of service template to use<br> host_name asqstage<br> service_description check Remote Trace<br> check_command check_nrpe!check_remote<br> }<br><br>Please anyone who can help me in this. I am really stuck into it and can't figure out why it is happening. <br><br><br>Thanks,<br><div>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style=""><font size="3"><font face="Times New Roman">-- </font></font></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style=""><font size="3"><font face="Times New Roman">Regards,</font></font></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style=""><font size="3"><font face="Times New Roman">Farhan Ahmed</font></font></span></p><br> <BR></div><br><br><br /><hr />Find great deals on eBay <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Frover%2Eebay%2Ecom%2Frover%2F1%2F705%2D10129%2D5668%2D323%2F4%3Fid%3D10&_t=763807330&_r=hotmailTAGLINES&_m=EXT' target='_new'>Net yourself a bargain</a></body>
</html>