Uploaded NagiosXI plugins directory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
c.slagel
Posts: 57
Joined: Mon Dec 17, 2012 6:47 pm

Uploaded NagiosXI plugins directory

Post 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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Uploaded NagiosXI plugins directory

Post 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.
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Uploaded NagiosXI plugins directory

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked