Page 1 of 1
Bulk modification in Nagios XI
Posted: Thu Oct 13, 2016 6:00 am
by RIDS_I2MP
Hi Team,
We want to add a new handler in the check settings tab of large number of services and hosts in Nagios XI 2014R2.7 and also need to enable few radio buttons.
Kindly let us know if we can do these changes in bulk ?
Re: Bulk modification in Nagios XI
Posted: Thu Oct 13, 2016 9:21 am
by avandemore
Nagios XI Enterprise contains a bulk modification tool in the CCM Manager section. Do you have Enterprise licensing?
Re: Bulk modification in Nagios XI
Posted: Fri Oct 14, 2016 1:07 am
by RIDS_I2MP
We are using 4 Nagios XI instances, 2 of them have enterprise license and rest 2 standard license.
Kindly let me know, how to use bulk modification in enterprise license Nagios instance?
Re: Bulk modification in Nagios XI
Posted: Fri Oct 14, 2016 6:58 am
by jacek
Login into Nagios XI
Config -> Core Config Manager -> Tools (left menu tab)
Here You have Bulk Modifications and Renaming tool.
Re: Bulk modification in Nagios XI
Posted: Fri Oct 14, 2016 9:33 am
by rkennedy
Thanks @slytheer!
@RIDS_I2MP - let us know if you have any further questions.
Re: Bulk modification in Nagios XI
Posted: Wed Oct 26, 2016 8:17 am
by RIDS_I2MP
Using this bulk modification action how can we add a new handler in the configuration of large number of services and hosts? Below is the exact request.
"We want to add a new handler in the check settings tab of large number of services and hosts in Nagios XI 2014R2.7 and also need to enable few radio buttons"
Re: Bulk modification in Nagios XI
Posted: Wed Oct 26, 2016 10:58 am
by gormank
Pretty much everything in the settings tab is better defined globally in a (host or service) template, then maybe more locally in another template (that sources the global template), then the template is sourced by hosts or services. Similarly, hosts would be defined in hostgroups, which are then applied to services. This way a service is defined once, not once for each host for example.
This is the intent/design of core, which is the basis for XI. The bulk change feature just helps us have bad habits. Separating monitoring from hosts/services (via templates), and hosts from services makes changes like the OP wants effortless...
Re: Bulk modification in Nagios XI
Posted: Wed Oct 26, 2016 12:30 pm
by rkennedy
gormank wrote:Pretty much everything in the settings tab is better defined globally in a (host or service) template, then maybe more locally in another template (that sources the global template), then the template is sourced by hosts or services. Similarly, hosts would be defined in hostgroups, which are then applied to services. This way a service is defined once, not once for each host for example.
This is the intent/design of core, which is the basis for XI. The bulk change feature just helps us have bad habits. Separating monitoring from hosts/services (via templates), and hosts from services makes changes like the OP wants effortless...
This is correct. Templates are the best thing to use when controlling hosts / services in mass. Thanks @gormank!
We want to add a new handler in the check settings tab of large number of services and hosts in Nagios XI 2014R2.7 and also need to enable few radio buttons"
What handler are you looking to add? A notification handler, event handler, we'll need a bit of clarification here. Also, which radio buttons? Some things may not be possible through the Bulk Mod Tool currently, but I can file feature requests for these changes.
Re: Bulk modification in Nagios XI
Posted: Wed Nov 02, 2016 4:34 am
by jacek
rkennedy wrote:gormank wrote:Pretty much everything in the settings tab is better defined globally in a (host or service) template, then maybe more locally in another template (that sources the global template), then the template is sourced by hosts or services. Similarly, hosts would be defined in hostgroups, which are then applied to services. This way a service is defined once, not once for each host for example.
This is the intent/design of core, which is the basis for XI. The bulk change feature just helps us have bad habits. Separating monitoring from hosts/services (via templates), and hosts from services makes changes like the OP wants effortless...
This is correct. Templates are the best thing to use when controlling hosts / services in mass. Thanks @gormank!
Hi, sorry to go in between Your conversation, but is there any example of such an configuration, including templates, hostgroups, etc.?
What is the advantage of this configuration?
You say I define once an "HDD check for Drive C" in an windows server, then create a hostgroup for windows servers?
Is there any way to make some hostgroups "administrative", so users won't see them?
Re: Bulk modification in Nagios XI
Posted: Wed Nov 02, 2016 10:09 am
by avandemore
@slytheer -- Please open a new thread or ticket for this type of question. There are many configuration documentation examples details, here are a few:
Main Configuration File Options,
Object Definitions,
Object Inheritance. These are mainly Nagios Core related which is the foundation XI is built.
A more general overview can be found here:
https://www.nagios.org/documentation/
@RIDS_I2MP -- Are we ok to lock this thread?