Page 1 of 1

Uploaded NagiosXI plugins directory

Posted: Mon Nov 11, 2013 2:45 pm
by c.slagel
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.

Re: Uploaded NagiosXI plugins directory

Posted: Mon Nov 11, 2013 2:58 pm
by BanditBBS
$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.

Re: Uploaded NagiosXI plugins directory

Posted: Mon Nov 11, 2013 4:06 pm
by scottwilkerson
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.