Page 1 of 1
Feature Request: Mass Functions
Posted: Mon Dec 17, 2018 6:51 am
by bomahony
I have been asked by our app team to investigate extended Mass Functions. We want to be able to put a service for ~250 nodes in downtime during upgrades, rather than downtiming the whole nodes, as there is other checks running. Having a quick look in the components section, I saw this:
https://exchange.nagios.org/directory/A ... ns/details
Can that be used to extend XI functionality? It looks pretty handy.
Re: Feature Request: Mass Functions
Posted: Mon Dec 17, 2018 3:38 pm
by cdienger
The scheduling tool under Home > Incident Management >Scheduled Downtime does allow the scheduling of individual services across multiple hosts, but I did find the tool from the exchange can be integrated if you still want to test it out. Integration required couple additional steps on my lab machine:
1. Install CGI.pm with "cpan install CGI.pm"
2. The .cgi scripts hard code the location of the status.dat. If your machine has a ramdisk or otherwise uses a different location for status.dat, then you'll want to edit the scripts to point to /var/nagiosramdisk/status.dat instead of /usr/local/nagios/var/status.dat
Note that the link is accessible by going to the core interface(http(s)://nagios_ip/nagios) of the XI machine.
Re: Feature Request: Mass Functions
Posted: Tue Dec 18, 2018 10:09 am
by bomahony
I would rather go with the proper tools. I completely missed that big blue button
However will it ever be feasible to do this via either hostgroup or service group? I dont think my app team will appreciate 180+ clicks when doing node upgrades on specific node types.
Or an ability to search for a service name and apply it to all copies of that service.
Re: Feature Request: Mass Functions
Posted: Tue Dec 18, 2018 3:01 pm
by cdienger
The ability to schedule hostgroup and servicegroup downtime is expected in the 5.6 release currently expected in Q1 next year.
https://www.nagios.com/roadmaps/
Re: Feature Request: Mass Functions
Posted: Thu Dec 20, 2018 7:33 am
by bomahony
Thats great! You can close this, and I will investigate it when released.