<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi All,</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am new to nagios and we are implementing Nagios to one of our clients.</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have only 1 Linux box, so I installed both the Nagios plugin and NRPE daemon on the same machine.</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I had also installed the JNRPE plugins on the same machine.</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When I execute the command "<font color="#009900"><strong>java -jar jnrpe.jar -c conf.xml -h EXEC</strong></font>" </span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The description shows the sample invocation as given below</span></p>
<p style="MARGIN: 0in 0in 0pt"><b><i><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Example invocation:</span></i></b></p>
<p style="MARGIN: 0in 0in 0pt"><b><i><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">./check_nrpe -n -H myjnrpeserver -c check_disk -a 'c:!70!80'</span></i></b><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But when I execute the command <b><font color="#009900">/usr/local/nagios/libexec/check_nrpe -n -H <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">127.0.0.1</a> -c check_disk -a 'c:!70!80'</font></b>, I am getting the below error</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><font color="#cc0000"><strong>CHECK_NRPE: Error receiving data from daemon.</strong></font></span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Also help me, how to configure the java plugin as a service in nagios.</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</span></p>
<p style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Arul</span></p><br><br clear="all"><br>-- <br>With Regards,<br>Arul Anand S P