Page 3 of 3

Re: UPTIME Threshold

Posted: Mon Mar 19, 2018 2:51 pm
by tgriep
For some reason, the output of the first command should of generated a Critical Alert so we are thinking it could be a NSClient++ version issue.
To get the version of NSClient++, run the following on the Nagios server (Replace xxx.xxx.xxx.xxx with the IP address of the remote host and yyyyyyyyyyyyyyy with the password).

Code: Select all

/usr/local/nagios/libexec/check_nt -H xxx.xxx.xxx.xxx -p 12489 -s yyyyyyyyy -v CLIENTVERSION
The output should look simular to this.

Code: Select all

NSClient++ 0.4.4.23 2016-04-05
FYI, that version of NSClient++ is working correctly when checking the Uptime using the days option.
http://nsclient.org/download/0.4.4/#0.4.4.23