ncpa custom service check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

ncpa custom service check

Post by kendallchenoweth »

Can someone please point me to how to setup a custom monitor script to be run by the ncpa agent with Nagios XI. I have a functioning ncpa agent running. I have created a script and placed it in /usr/local/ncpa/plugins. The script uses a single return code of zero or nonzero. How do I configure the Nagios XI server to use this check? Is there a way I could create this check on the nagios XI server and push it out to multiple clients?

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ncpa custom service check

Post by scottwilkerson »

You can setup a new service making $ARG1$ the following where mytoken is your token and test.sh is the plugin you placed in /usr/local/ncpa/plugins

Code: Select all

-t mytoken -M agent/plugin/test.sh
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: ncpa custom service check

Post by kendallchenoweth »

Thanks.... I'm all set now!
Locked