So I configured my own Nagios core server (version 4.4.3) on Ubuntu 18.04 LTS VM. I have set it up to monitor most of the hosts on my infra, both Linux & Windows. I'm still very new to installing and configuring Nagios so some things are probably not up to scratch on my end.
Nagios server (Ubuntu 18.04) - 192.168.80.44
Host to monitor (Windows 10) - 192.168.60.41
On my web interface, I can see that my machine I'm monitoring has picked up all the defined check_nt services I have listed in my .cfg directory, so I know that checks are being carried out successfully (at least with check_nt):
https://imgur.com/a/CG1uE6h
The hosts .cfg file is as follows: When I try to run
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.60.41 -p 5666Code: Select all
root@glamon02:/usr/local/nagios/libexec# ./check_nrpe -H 192.168.60.41 -p 5666
CHECK_NRPE STATE CRITICAL: Socket timeout after 10 seconds.Code: Select all
root@glamon2:/usr/local/nagios/libexec# sudo ./check_nrpe -H 192.168.60.41 -p 5666 -t 30
CHECK_NRPE STATE CRITICAL: Socket timeout after 30 seconds.
root@glamon2:/usr/local/nagios/libexec# telnet 192.168.60.41 5666
Trying 192.168.60.41...
Connected to 192.168.60.41.
Escape character is '^]'.My Windows NSCLIENT++ file is as follows (after some changes): What am I missing? I know its got to be something simple and I need check_nrpe for part of the monitoring I need on this host.