issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf

Mark Worrad mark at abtgroup.com.au
Wed Jul 19 07:22:49 CEST 2006


Alexander Harvey <alexh19740110 <at> gmail.com> writes:

> 
> 
> Mark,May I ask, when you run your NRPE in daemon mode as you've shown us 
here, what happens when you just run:# ./check_nrpe -H x.x.x.xon 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:Jul 14 16:36:52 cairns daemon:err|error nrpe
[532718]: Error: Request packet had invalid CRC32.Jul 14 16:36:52 cairns 
daemon:err|error nrpe[532718]: Client request was invalid, bailing out...
> If NRPE was working, it should respond with:NRPE V(version number)Thanks,Alex
> 
> On 7/19/06, Mark Worrad <
> mark <at> abtgroup.com.au> wrote:My version of NRPENRPE - Nagios Remote 
Plugin Executor
> Copyright (c) 1999-2006 Ethan Galstad (nagios <at> nagios.org)Version: 
2.5.1Last Modified: 04-09-2006License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 
> 0.9.6 or higher 
required***************************************************************** 
POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!  ****      Read the 
NRPE SECURITY file for more information     **
> ***************************************************************My entry in 
inetd.conf with no sslnrpe    stream  tcp     
nowait  nagios  /usr/local/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg --inetd
> bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_liveCHECK_NRPE: Response 
packet had invalid CRC32.I tried again with sslnrpe    stream  tcp     
nowait  nagios  /usr/local/nagios/nrpe -c /usr/local/nag
> ios/nrpe.cfg --inetdbash-2.05b# ./check_nrpe -H 203.98.93.34 -c 
check_disk_liveCHECK_NRPE: Error - Could not complete SSL handshake.The only 
way i get this to work is to start it in Daemon mode
> bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -dbash-
2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_liveDISK OK - free 
space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565
> 12I can have the daemon running with or without ssl and check_nrpe with 
orwithout ssl works finedoes any one have any ideas on why it will not work 
when run from inetd.conf.Do i have to have tcpwrappers installed for this to 
work, if so has anyone got
> tcpwrappers working on aix5.3-------------------------------------------------
------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin 
SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn 
cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________Nagios-users mailing 
listNagios-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include 
Nagios version, plugin version (-v) and OS when reporting any issue.::: 
Messages without supporting info will risk being sent to /dev/null
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


> Mark 

I ran ./check_nrpe -H x.x.x.x
CHECK_NRPE: Socket timeout after 10 seconds.

I then ran ./check_nrpe -H x.x.x.x -n

NRPE v2.5.1

Do you know if I need tcpwrappers installed if i want to run it under inetd.conf
<<<<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list