When you upload a plugin through the GUI, what directory does it place them in? I can't seem to locate them...
Need to add them to /usr/local/nagios/etc/commands.cfg so they show on the drop down menu when creating a service but need the path to the plugin to do so.
Thanks.
Uploaded NagiosXI plugins directory
Re: Uploaded NagiosXI plugins directory
$USER1$ would be the path, just like all the other commands. Make sure you are making these changes under the Core Config Manager(CCM) and not modifying the files directly. The path is /usr/local/nagios/libexec but as stated, you can just use the $USER1$ variable.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Uploaded NagiosXI plugins directory
Yes, do not edit /usr/local/nagios/etc/commands.cfg directly in Nagios XI, it will get overwritten when apply configuration happens. Add the commands through the CCM as BanditBBS suggested.