I have some custom scripts that I need to move from core to xi.
I have placed them in /usr/local/nagios/libexec/ and I can run it via the command line.
# /usr/local/nagios/libexec/check_rootpw.sh -w 10 -c 30
WARNING: The last password change for root was 22 days ago
But when I try to create a service in xi using the CCM I cannot find that in the list. And I did confirm that it is in Admin--Manage PlugIns.
Am I putting it in the wrong location? Not pulling it it correctly?
Copy custom nagios core scripts to xi
-
- Posts: 327
- Joined: Wed Aug 09, 2023 9:58 am
Re: Copy custom nagios core scripts to xi
Hey @Kbauma01 thanks for reaching out.
You are on the right track but I think you may have missed a step. Have you created a command yet for your plugin? If not you will need to do that in order to add the command, which will use the plugin, to the service you are creating. Here's a link to some documentation going over on how to do this:
https://assets.nagios.com/downloads/nag ... ios-xi.pdf
Let us know if this fixes the issue for you.
-Sandor Gardil
You are on the right track but I think you may have missed a step. Have you created a command yet for your plugin? If not you will need to do that in order to add the command, which will use the plugin, to the service you are creating. Here's a link to some documentation going over on how to do this:
https://assets.nagios.com/downloads/nag ... ios-xi.pdf
Let us know if this fixes the issue for you.
-Sandor Gardil