<div>Hi,</div>
<div> </div>
<div>Problem resolved.</div>
<div>previoulsy i was using </div>
<div><strong>checkcommands.cfg</strong> :</div>
<div>command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ </div>
<div><br>I changed this line to :</div>
<div>$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$</div>
<div> </div>
<div> </div>
<div>Thanks for your support</div>
<div>Chandresh<br> </div>
<div><span class="gmail_quote">On 1/18/07, <b class="gmail_sendername">Michael Connors</b> <<a href="mailto:michaelc@go2.ie">michaelc@go2.ie</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Try using check_nrpe_1arg instead of check_nrpe in the line:<br><br> check_command check_nrpe!check_load
<br><br>Chandresh Suthar wrote:<br>> hosts.cfg<br>><br>> define host{<br>> use generic-host ; Name of host<br>> template to use<br>><br>> host_name localhost
<br>> alias Solaris Server<br>> address <a href="http://127.0.0.1">127.0.0.1</a> <<a href="http://127.0.0.1">http://127.0.0.1</a>><br>> check_command check-host-alive
<br>> max_check_attempts 10<br>> notification_interval 120<br>> notification_period 24x7<br>> notification_options d,u,r<br>> }<br>><br>> services.cfg
<br>><br>> define service{<br>> use generic-service ; Name<br>> of service template to use<br>><br>> host_name localhost<br>> service_description PING
<br>> is_volatile 0<br>> check_period 24x7<br>> max_check_attempts 3<br>> normal_check_interval 5<br>> retry_check_interval 1
<br>> contact_groups nagios<br>> notification_interval 120<br>> notification_period 24x7<br>> notification_options c,r<br>> check_command check_ping!100.0,20%!500.0,60%
<br>> }<br>><br>> define service{<br>> use generic-service<br>> host_name localhost<br>> service_description NRPE - check_load
<br>> is_volatile 0<br>> check_period 24x7<br>> max_check_attempts 4<br>> normal_check_interval 5<br>> retry_check_interval 5
<br>> contact_groups nagios<br>> notification_options w,u,c,r<br>> notification_interval 960<br>> notification_period 24x7<br>> check_command check_nrpe!check_load
<br>> }<br>><br>><br>><br>><br>> On 1/18/07, *Chandresh Suthar* <<a href="mailto:chandresh.suthar@gmail.com">chandresh.suthar@gmail.com</a><br>> <mailto:<a href="mailto:chandresh.suthar@gmail.com">
chandresh.suthar@gmail.com</a>>> wrote:<br>><br>> as a nagios user:<br>><br>> bash-2.05$ /usr/local/nagios/libexec/check_nrpe -H localhost -c<br>> check_load<br>> OK - load average:
0.02, 0.02, 0.07|load1=0.016;15.000;30.000;0;<br>> load5=0.016;10.000;25.000;0; load15=0.066;5.000;20.000;0;<br>><br>> working fine.<br>><br>><br>> On 1/18/07, *Chandresh Suthar* <<a href="mailto:chandresh.suthar@gmail.com">
chandresh.suthar@gmail.com</a><br>> <mailto:<a href="mailto:chandresh.suthar@gmail.com">chandresh.suthar@gmail.com</a>>> wrote:<br>><br>> I have one sun machine with Solaris 9. I have installed
<br>> nagios and nrpe. Nrpe works perfect on command prompt.<br>><br>> root@localhost <mailto:<a href="mailto:root@localhost">root@localhost</a>># ./check_nrpe -H<br>> localhost -c check_load
<br>> OK - load average: 0.08, 0.19,<br>> 0.20|load1=0.082;15.000;30.000;0; load5=<br>> 0.188;10.000;25.000;0; load15=0.195;5.000;20.000;0;<br>><br>> but on gui it shows "No output returned from plugin" .Also it
<br>> doesn't show any thing in logs.<br>><br>> nrpe.cfg:<br>><br>> command[check_load]=/usr/local/nagios/libexec/check_load -w<br>> 15,10,5 -c 30,25,20<br>><br>>
services.cfg<br>><br>> define service{<br>> use generic-service<br>> host_name localhost<br>> service_description NRPE - check_load
<br>> is_volatile 0<br>> check_period 24x7<br>> max_check_attempts 4<br>> normal_check_interval 5
<br>> retry_check_interval 5<br>> contact_groups nagios<br>> notification_options w,u,c,r<br>> notification_interval 960
<br>> notification_period 24x7<br>> check_command check_nrpe!check_load<br>> }<br>><br>> I am not getting the problem.my
nagios version is 1.3 and nrpe 2.6<br>><br>> Thanks<br>> Chandresh<br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> -------------------------------------------------------------------------
<br>> Take Surveys. Earn Cash. Influence the Future of IT<br>> Join SourceForge.net's Techsay panel and you'll get the chance to share your<br>> opinions on IT & business topics through brief surveys - and earn cash
<br>> <a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>> ::: Messages without supporting info will risk being sent to /dev/null
<br><br></blockquote></div><br>