checking windows servers in AWS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bruce_clegg
Posts: 17
Joined: Tue Jan 28, 2020 5:05 pm

checking windows servers in AWS

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: checking windows servers in AWS

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bruce_clegg
Posts: 17
Joined: Tue Jan 28, 2020 5:05 pm

Re: checking windows servers in AWS

Post 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.
bruce_clegg
Posts: 17
Joined: Tue Jan 28, 2020 5:05 pm

Re: checking windows servers in AWS

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: checking windows servers in AWS

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bruce_clegg
Posts: 17
Joined: Tue Jan 28, 2020 5:05 pm

Re: checking windows servers in AWS

Post by bruce_clegg »

ncpa is working.

Thank you for your help!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: checking windows servers in AWS

Post by scottwilkerson »

bruce_clegg wrote:ncpa is working.

Thank you for your help!
Great!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked