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!
ncpa custom service check
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ncpa custom service check
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-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
Re: ncpa custom service check
Thanks.... I'm all set now!