Page 1 of 1

services

Posted: Fri Jul 02, 2021 1:25 am
by wipro-nagios-service
My client has asked me to monitor few services. He is using NSClient++.

Disk- IOPS , Disk Latency, Disk space usage
DB- User connections on DB, Db Availability
Process -Analyze specific process
Any help would be appreciated.

Re: services

Posted: Fri Jul 02, 2021 10:35 am
by vtrac
Hi,
Hope you are having a great Friday!!

I have found the URL (below) for NSClient++ that you can use as reference:
https://docs.nsclient.org/reference/win ... ck_service

Hope this helps!!


Best Regards,
Vinh

Re: services

Posted: Tue Jul 20, 2021 8:45 am
by wipro-nagios-service
Hi

We have not found any proper commands . Could you please elaborate the solution and derive a command for us if possible

Re: services

Posted: Tue Jul 20, 2021 3:48 pm
by pbroste
Hello

The command and command alias which is called check_xi_service_nsclient can be found in the Nagios web console > CCM (Core Configuration Manager) > Commands. The alias check_xi_service is associated with the '$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$'.

For example, to check disk we are using the following raw data pulled from the cfg.
  • check_xi_service_nsclient!!USEDDISKSPACE!-l C -w 80 -c 95
When we then check on the plugin usage details for the 'check_nt':
Usage:
check_nt -H host -v variable [-p port] [-w warning] [-c critical]
[-l params] [-d SHOWALL] [-u](DEPRECATED) [-t timeout]

Options:
-h, --help
Thanks,
Perry