I was wondering if there's any specific changes requires for Nagios xi in order for a Nagios Core machine to check_nrpe to it.
I noticed that there was no need to install nrpe on there as it already had nrpe.cfg and .../xinetd.d/nrpe installed.
I am able to nrpe from Nagios xi to my remote hosts fine, the changes required after installing nrpe/plugins being;
1. edit /etc/xinetd.d/nrpe - allow ip of nagiosxi machine
2. edit /.../etc/nrpe.cfg - add check commands
So I followed these steps on Nagios xi but my Nagios Core machine keeps saying;
Code: Select all
Connection refused by host
I've tried with the IP Tables disabled as well but that didn't help.
To check I haven't done something wrong on the core side, I tested with a currently working server with NRPE installed and it worked fine.
Thank you for any help/tips.
Kind Regards,
Gary Shergill
EDIT: Just remembered, Nagios xi is CentOS, all other hosts I monitor with NRPE are Ubuntu. Maybe I'm missing a configuration step to do with CentOS?
EDIT: Tried installing another version of NRPE, 2.13 (default is 2.12 on Nagios xi).
Commands used were;
Code: Select all
rm -rf /usr/local/nagios/etc/nrpe.cfg /etc/xinetd.d/nrpe
wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz/download?use_mirror=freefr&utm_expid=6384-3
tar -zxvf nrpe-2.13.tar.gz
cd nrpe-2.13
./configure
make all
make install-plugin
make install-daemon
make install-daemon-config
touch /etc/xinetd.d/nrpe
make install-xinetd
vi /etc/xinetd.d/nrpe
vi /usr/local/nagios/etc/nrpe.cfg
service xinetd restart
service nagios restart