Page 1 of 1

checking windows servers in AWS

Posted: Wed Feb 19, 2020 2:14 pm
by bruce_clegg
I don't work with windows much.

I am setting up nagios xi for the first time. The centos/linux boxes I've set up so far are monitoring for the most part just fine. However, I'm not getting responses from the first windows server I've set up. Well, ping is responding - nothing else so far.


I've gone to the nagios xi server and run this command as root:

/usr/local/nagios/libexec/check_nt -H 10.X.X.X -p 12489 -v MEMUSE -w 80 -c 90 -s KyItfXLuEymSZYlY
NSClient - ERROR: No performance data from command: check_memory

I am able to telnet to the client on port 12489.

I have attached a screen capture from nagios xi

Re: checking windows servers in AWS

Posted: Wed Feb 19, 2020 5:18 pm
by Box293
You might want to spend some time going through this documentation:

https://assets.nagios.com/downloads/nag ... ient++.pdf

We do recommend you have a look at NCPA instead:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: checking windows servers in AWS

Posted: Thu Feb 20, 2020 2:53 pm
by bruce_clegg
I decided to start over. I uninstalled nscp-0.5.2.35-x64 and reinstalled it.

I downloaded nscp-0.5.2.35-x64 and ran through the installer. I chose I added the IP of the nagios xi server and put in the password I got from the configuration wizard on the nagios xi master. (not the new one that showed up in the install) I chose to enable: common check plugins, enable nsclient server (check_nt) and the insecure legacy mode of NRPE (check_nrpe) and I enabled NSCA client. The client finished installing without any errors.

I checked task manager and saw that nsclient++ Monitoring Agent is running. I verified that I could reach the client from the master on port 12489 (telnet)

At this point, I believe the nagios xi master server should be able to monitor some basic functions using check_nt. But the only check that is working is ping. The rest say 'Unknown'

I cannot telnet on 12489 from the client to the master xi - is that my issue?


I have not gone throught the nrpe or the ncpa installation instructions yet. But can do so.

Re: checking windows servers in AWS

Posted: Thu Feb 20, 2020 3:16 pm
by bruce_clegg
more info - I am running nagios xi on a centOS7 server and the windows client I am working with is Windows Server 2016 Datacenter

Re: checking windows servers in AWS

Posted: Thu Feb 20, 2020 5:47 pm
by Box293
If you are starting from scratch I highly recommend starting with NCPA, toubleshooting NSClient is not worth spending time on.

https://assets.nagios.com/downloads/ncp ... g_NCPA.pdf

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: checking windows servers in AWS

Posted: Thu Feb 20, 2020 7:12 pm
by bruce_clegg
ncpa is working.

Thank you for your help!

Re: checking windows servers in AWS

Posted: Fri Feb 21, 2020 7:41 am
by scottwilkerson
bruce_clegg wrote:ncpa is working.

Thank you for your help!
Great!

Locking