Page 1 of 1

Getting started help

Posted: Wed Jul 30, 2014 1:18 pm
by drav.85
Hello all,

I am trying to get setup with Nagios and NSClient for Windows 7. My nagios server is CentOS 6.5. I have followed the guides I've found and can access the interface and have connected my Windows machine to the system also. My main question is that when I look at the Windows 7 hosts I get 7 critical errors: C:\ Drive Space, CPU Load, Explorer, Memory Usage, NSClient++ Version, Uptime and W3SVC all with the same error of connection refused.

I have tried to look for the nsc.ini file everyone is talking about but cannot find it under my C:\Program Files\NSClient++ directory. Any help would be greatly appreciate.

Also, when i run the check_nrpe from my nagios server with the Windows IP address I get a message of I (0,4,1,73 2012-12-17) seem to be doing fine... I take it that is not normal?

Re: Getting started help

Posted: Thu Jul 31, 2014 2:26 pm
by lmiltchev
My main question is that when I look at the Windows 7 hosts I get 7 critical errors: C:\ Drive Space, CPU Load, Explorer, Memory Usage, NSClient++ Version, Uptime and W3SVC all with the same error of connection refused.
Are you using the correct password? Is port 12489 open? Can you run successfully the following command?

Code: Select all

./check_nt -H <client ip> -s <password> -p 12489 -v CLIENTVERSION
I have tried to look for the nsc.ini file everyone is talking about but cannot find it under my C:\Program Files\NSClient++ directory. Any help would be greatly appreciate.
The "nsc.ini" was renamed to "nsclient.ini" in NSClient++ ver. 4.x. You will find "nsclient.ini" in the same location as the "old" config (NSClient++ directory).
Also, when i run the check_nrpe from my nagios server with the Windows IP address I get a message of I (0,4,1,73 2012-12-17) seem to be doing fine... I take it that is not normal?
Yes, this is normal.

Re: Getting started help

Posted: Wed Aug 06, 2014 3:26 pm
by drav.85
Sorry for the long delay on a response.

After messing around with the NSClient++ I had gotten everything to work.