Revise Query

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Revise Query

Post 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
angus
Posts: 125
Joined: Thu May 28, 2015 8:17 am

Re: Revise Query

Post 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.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Revise Query

Post by mcapra »

Glad to hear you were able to find a solution! Closing this
Former Nagios employee
https://www.mcapra.com/
Locked