Hi,
I have some custom plugins designed for Nagios that have been supplied by a vendor and I'll like to integrate with Nagios XI.
The package constsis 15 .pl files and 1 .cfg file. To integrate with XI are the following steps valid?
1. Copy the *.pl files to /usr/lib/nagios/plugins/ folder
2. Chmod +x /usr/lib/nagios/plugins/*.pl (Should I do this for each of the 16 .pl files rather than applying it to the existing plugins in that folder?)
3. Chown nagios:nagios /usr/lib/nagios/plugins/*.pl (Same as previous - is it better to do this individually?)
Where should the .cfg file be copied to?
Are there any additional steps that I will need to take prior to creating host and services to use the plugins?
If necessary, I can make the plugins available if required.
Thanks for your help
Plugin Integration to XI 2014 R1.1
Re: Plugin Integration to XI 2014 R1.1
Hey,
Personnally I'm using WinSCP to copy the plugins, (as we are 99 % MS unfortunately), but the directory is /usr/local/nagios/libexec/ for Nagios XI. The plugins need to be executable by nagios, so +x seems fine. I don't think the owner needs to be nagios, most of my plugins have root as owner.
if you think the plugins can be useful, you could put them on the Nagios Exchange (http://exchange.nagios.org) Could you tell us what they do?
Grtz
Willem
Personnally I'm using WinSCP to copy the plugins, (as we are 99 % MS unfortunately), but the directory is /usr/local/nagios/libexec/ for Nagios XI. The plugins need to be executable by nagios, so +x seems fine. I don't think the owner needs to be nagios, most of my plugins have root as owner.
if you think the plugins can be useful, you could put them on the Nagios Exchange (http://exchange.nagios.org) Could you tell us what they do?
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Plugin Integration to XI 2014 R1.1
It's best upload each plugin via the GUI as it does all the permissions.
Admin > System Extensions > Manage Plugins.
As for the .cfg files, you can import them.
Copy them to:
/usr/local/nagios/etc/import
And then:
Admin > System Extensions > Manage Plugins.
As for the .cfg files, you can import them.
Copy them to:
/usr/local/nagios/etc/import
And then:
- Core Configuration Manager > Tools > Import Config Files
Select the file in the list and click Import
To prevent errors or misconfigurations, you should import your configurations in an useful order. We recommend importing in the following order:
commands -> timeperiods -> contacttemplates -> contacts -> contactgroups -> hosttemplates -> hosts -> hostgroups -> servicetemplates -> services -> servicegroups
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Plugin Integration to XI 2014 R1.1
Thanks for your help.
All in good working order.
All in good working order.