Mark,<br><br>May I ask, when you run your NRPE in daemon mode as you've shown us here, what happens when you just run:<br><br># ./check_nrpe -H x.x.x.x<br><br>on the host, i.e. with no other arguments than the hostname? Could you check to see if you get an error message sent do
daemon.error in your syslog:<br><br>Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Error: Request packet had invalid CRC32.<br>Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Client request was invalid, bailing out...
<br><br>If NRPE was working, it should respond with:<br><br>NRPE V(version number)<br><br>Thanks,<br>Alex<br><br><div><span class="gmail_quote">On 7/19/06, <b class="gmail_sendername">Mark Worrad</b> <<a href="mailto:mark@abtgroup.com.au">
mark@abtgroup.com.au</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">My version of NRPE<br><br>NRPE - Nagios Remote Plugin Executor
<br>Copyright (c) 1999-2006 Ethan Galstad (<a href="mailto:nagios@nagios.org">nagios@nagios.org</a>)<br>Version: 2.5.1<br>Last Modified: 04-09-2006<br>License: GPL v2 with exemptions (-l for more info)<br>SSL/TLS Available: Anonymous DH Mode, OpenSSL
0.9.6 or higher required<br><br>***************************************************************<br>** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! **<br>** Read the NRPE SECURITY file for more information **
<br>***************************************************************<br><br>My entry in inetd.conf with no ssl<br><br>nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -n -c /usr/local/<br>nagios/nrpe.cfg --inetd
<br><br>bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_live<br>CHECK_NRPE: Response packet had invalid CRC32.<br><br>I tried again with ssl<br><br>nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c /usr/local/nag
<br>ios/nrpe.cfg --inetd<br><br>bash-2.05b# ./check_nrpe -H <a href="http://203.98.93.34">203.98.93.34</a> -c check_disk_live<br>CHECK_NRPE: Error - Could not complete SSL handshake.<br><br>The only way i get this to work is to start it in Daemon mode
<br><br>bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d<br><br>bash-2.05b# ./check_nrpe -H <a href="http://203.98.93.34">203.98.93.34</a> -c check_disk_live<br>DISK OK - free space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565
<br>12<br><br>I can have the daemon running with or without ssl and check_nrpe with or<br>without ssl works fine<br><br>does any one have any ideas on why it will not work when run from inetd.conf.<br>Do i have to have tcpwrappers installed for this to work, if so has anyone got
<br>tcpwrappers working on aix5.3<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>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></blockquote></div><br>