Hi,
I have one windows machine where nagios installed. another one linux machine where Nagios plugin and NRPE daemon so totally i have two machines.
Is this possible to monitor linux host from Windows PC?
As per NRPE.pdf, i have installed below things in the linux host.
1) Installed the Nagios Plugins
2) Installed xinetd
3) Installed the NRPE daemon
In windows machine, i have installed nagios. The Nagwin is running fine on windows PC and i am able to monitor localhost
Is there anything i need to install it on windows machine?
i have configured linux host info in cfg file as below in windows machine.
define host{
use linux-server
host_name xxxx.xxxx.xxxx
alias xxxx
address 3.204.109.165
}
define service{
use generic-service
host_name xxxx.xxxx.xxxx
service_description CPU Load
check_command check_nrpe!check_load
}
I am getting below error, please help me out. Any contact person?
(Return code of 255 is out of bounds)
Below error i am getting in nagios.log file in windows pc
Warning: Return code of 255 for check of service '/dev/sda1 Free Space' on host 'xxxx.xxxx.com' was out of bounds.
Warning: Return code of 255 for check of service 'Current Users' on host 'jxxxx.xxxx.com' was out of bounds.
Warning: Return code of 255 for check of service 'CPU Load' on host 'xxxx.xxxx.com' was out of bounds.
Warning: Return code of 255 for check of service 'Total Processes' on host 'xxxx.xxxx.com' was out of bounds.
Did you follow our usage instructions at https://www.itefix.net/content/nagwin-usage-example-3-basic-monitoring-l... ?
Hi,
yes, I was following up the below link.
"https://assets.nagios.com/downloads/nagioscore/docs/nrpe/NRPE.pdf"
I did set up for c) Remote Host Setup(Linux machine)
Below part i have not done because i was using windows PC where nagios is nistalled.
d) Monitoring Host Setup( Linux Machine)
Thanks and Regards,
Venkatesh
Did you follow the rest of our usage example ? How does your nrpe.cfg look like ?
nrpe.cfg file
path: /etc/xinetd.d/nrpe
I mean the configuration file for the nrpe itself, not xinet - etc/nrpe.cfg