Hi All,
Running a NagiosXI server on CentOS 5.8 and need to monitor a Windows 2008 R2 server. I installed the agent and ran the config wizard. I set the allowed hosts to my nagiosxi server ip and can telnet to 5666, however check_nrpe wont make the ssl handshake. I looked at the configs and just se nsclient.cfg, which does have the allowed host ip set correctly, I am missing something, but I am not sure what.
Is there a good guide for monitoring a Windows 2008 R2 server on XI available?
NRPE/NSClient
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE/NSClient
Have you made sure to check your NSCP/nsclient.ini file on the Windows machine and make sure that the:
value is set to your Nagios XI server's IP.
Also be sure to check the value of:
There is no direct guide for monitoring a Windows Server 2008 installation because of the large amounts of plugins available and different directions you can take. Is there something specific you are trying to accomplish?
Code: Select all
allowed_hosts=Also be sure to check the value of:
Code: Select all
use_ssl=Re: NRPE/NSClient
I have "Allowed hosts=my_ip" and there was not an SSL entry, I added it but no go. Do I need to create an nrpe.cfg or ini file?
Re: NRPE/NSClient
Ok, I changed this entry and it seems to be working;
to
The commands I suppose need to be adjusted, I have this entry;
That path does not exist, scripts were installed to /scripts/ and only a couple seem to exist. Do I add entries like it was a command, same as nrpe.cfg?
Code: Select all
allowed hosts = 127.0.0.1
Code: Select all
allowed hosts = /127.0.0.1
Code: Select all
; check_ok - Alias for check_ok. To configure this item add a section called: /settings/external scripts/alias/check_ok
check_ok = CheckOK Everything is fine!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE/NSClient
Actually, allowed_hosts should be set to your Nagios XI servers IP address
Also, use_ssl should be set to 1
Finally, after making the changes you need to restart the nsclient++ service
Also, use_ssl should be set to 1
Finally, after making the changes you need to restart the nsclient++ service