Hi ,
Yes I mean Nagios simply monitoring a different server also under CentOS 7
I managed to run Nagios 4.2.2 + Plugins 2.1.3 + NRPE v3.0.1 + Xined on CentOS 7 (Monitoring Server / Master server) 10.0.0.3
and
Plugins 2.1.3 + NRPE v3.0.1 + Xinetd on CentOS 7 (Monotored / Slave Server) 10.0.0.4
Now everything on check on both side seems to be working, no errors seen
Running command on Master server like :
# /usr/local/nagios/libexec/check_ssh 10.0.0.4
SSH OK - OpenSSH_6.6.1 (protocol 2.0) | time=0.007269s;;;0.000000;10.000000
or
# /usr/local/nagios/libexec/check_load 10.0.0.4
CRITICAL - load average: 0.00, 0.01, 0.05|load1=0.000;0.000;0.000;0; load5=0.010;0.000;0.000;0; load15=0.050;0.000;0.000;0;
So all seems to be working ok
checking the plugin directory /usr/local/nagios/libexec/
all plugins are on place
same on slave.monitored server 10.0.0.4 :
# /usr/local/nagios/libexec/check_load 10.0.0.3
CRITICAL - load average: 0.00, 0.01, 0.02|load1=0.000;0.000;0.000;0; load5=0.010;0.000;0.000;0; load15=0.020;0.000;0.000;0;
or
# /usr/local/nagios/libexec/check_ssh 10.0.0.3
SSH OK - OpenSSH_6.6.1 (protocol 2.0) | time=0.011093s;;;0.000000;10.000000
But on web interface it shows : Return code of 127 is out of bounds - plugin may be missing
and obviously not monitoring anything
installation was done using Only official tutorials such as :
For plugins This :
https://support.nagios.com/kb/article.p ... ategory=58
and
For NRPE This:
https://support.nagios.com/kb/article.php?id=515
Xinetd installed using yum
Yum install xinetd
Any idea what is the issue ...