Page 3 of 3

Re: Revise Query

Posted: Mon Jun 13, 2016 12:32 pm
by ssax
Just put the script (I named mine disk_check.ps1) in your C:\Program Files (x86)\Nagios\NCPA\plugins directory and restart the NCPA Listener service.

Then create a new service (Configure > Core Config Manager > Services > Add New)
- Check command: check_xi_ncpa_agent
- $ARG1$:

Code: Select all

-t 'YOURAPIKEY' -P 5693 -M agent/plugin/disk_check.ps1/C/80/95
The format is: agent/plugin/disk_check.ps1/DRIVELETTER/WARNING/CRITICAL

Re: Revise Query

Posted: Mon Jun 13, 2016 1:58 pm
by angus
HA! i had that all correct, i just didn't restart the service. I am all set now, thanks for the help!

Please close this ticket.

Re: Revise Query

Posted: Mon Jun 13, 2016 2:03 pm
by mcapra
Glad to hear you were able to find a solution! Closing this