issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf
Mark Worrad
mark at abtgroup.com.au
Tue Jul 18 23:57:22 CEST 2006
My version of NRPE
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org)
Version: 2.5.1
Last Modified: 04-09-2006
License: 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 ssl
nrpe 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_live
CHECK_NRPE: Response packet had invalid CRC32.
I tried again with ssl
nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c /usr/local/nag
ios/nrpe.cfg --inetd
bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live
CHECK_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 -d
bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live
DISK OK - free space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565
12
I can have the daemon running with or without ssl and check_nrpe with or
without ssl works fine
does 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 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