Having Trouble With Window Check Disk and Memory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bolson

Re: Having Trouble With Window Check Disk and Memory

Post by bolson »

Try this from the command line on your XI server:

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.57.12 -v USEDDISKSPACE -l c -w 90 -c 95 -p 12489
rnadon
Posts: 17
Joined: Tue May 30, 2017 1:05 pm

Re: Having Trouble With Window Check Disk and Memory

Post by rnadon »

I believe this has to do with permissions on the client side. But I am new and not sure how to find out which user Nagios is using to connect. Any help on that?
bolson

Re: Having Trouble With Window Check Disk and Memory

Post by bolson »

Post the result of this command run from the CLI on the NagiosXI server:

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.57.12 -v USEDDISKSPACE -l c -w 90 -c 95 -p 12489
rnadon
Posts: 17
Joined: Tue May 30, 2017 1:05 pm

Re: Having Trouble With Window Check Disk and Memory

Post by rnadon »

https://support.nagios.com/forum/viewto ... =7&t=24914 seems to be my exact problem but I am struggling fixing it...
bolson

Re: Having Trouble With Window Check Disk and Memory

Post by bolson »

Please post the result of the following command:

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.57.12 -v USEDDISKSPACE -l c -p 12489
rnadon
Posts: 17
Joined: Tue May 30, 2017 1:05 pm

Re: Having Trouble With Window Check Disk and Memory

Post by rnadon »

I tried that exact command and am getting:
[root@eng-nagiosxi local]# /usr/local/nagios/libexec/check_nt -H 192.168.57.12 -v USEDDISKSPACE -l c -p 12489
CRITICAL - Socket timeout after 10 seconds

I have also added a -t 30 and got: CRITICAL - Socket timeout after 30 seconds
rnadon
Posts: 17
Joined: Tue May 30, 2017 1:05 pm

Re: Having Trouble With Window Check Disk and Memory

Post by rnadon »

I assume from the server as I do not have a check_nt on the client. I have check_nrpe and nscp, but no check_nt that I can see.
bolson

Re: Having Trouble With Window Check Disk and Memory

Post by bolson »

What is the IP address of the windows host you are monitoring? Please replace 192.168.57.12 with that IP address and report your result.
rnadon
Posts: 17
Joined: Tue May 30, 2017 1:05 pm

Re: Having Trouble With Window Check Disk and Memory

Post by rnadon »

Before things go up the wrong direction, that was the incorrect IP from the system I am using this command
[root@eng-nagiosxi nagios]# /usr/local/nagios/libexec/check_nt -H 172.16.0.125 -v USEDDISKSPACE -l c -p 12489
No data was received from host!
could not fetch information from server
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Having Trouble With Window Check Disk and Memory

Post by bheden »

Just as a quick bump - I've actually got this reproduced on my end.

I can't even run ./check_nt -v CLIENTVERSION.

I'll be spending a bit of time towards a resolution - but in the meantime, can you operate NSClient++ in test mode for verification on your end?

Open a cmd prompt as administrator and run the following:

Code: Select all

cd "C:\Program Files\NSClient++"
net stop nscp
nscp test
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
Locked