Page 1 of 1
Batch Change
Posted: Wed Oct 19, 2011 11:35 am
by bmiller
Does Nagios XI have any way to do batch changes? We have a couple hundred hosts we're monitoring as part of our Nagios XI evaluation, and I need to change the contacts setup for them - moving from contacts on each host to using templates like we should have to begin with. Short of deleting all the hosts and services and rerunning the import wizards, is there anyway to make a batch change to hosts and services?
Re: Batch Change
Posted: Wed Oct 19, 2011 5:51 pm
by jsmurphy
I believe this is something they are working on... I remember reading it somewhere... but it's not a function that currently exists. The only way to do batch changes to the best of my knowledge is to use SQL statements to modify the database directly.
Or settle in for the night with a big cup of coffee and do it manually.
Re: Batch Change
Posted: Thu Oct 20, 2011 2:24 pm
by mguthrie
Yeah, currently the only way to do this is by a Db query, but I wouldn't recommend it unless you've got someone there who understand DB relationships and how to do joins. It's sort of a "Do this at your own risk" method if you want to try and do it all at once. Otherwise currently the safe way is "one host at a time" if the templates aren't in place.
http://support.nagios.com/wiki/index.ph ... In_The_CCM
Re: Batch Change
Posted: Thu Oct 20, 2011 4:44 pm
by mguthrie
However, if there are no contacts assigned at the host level, you can create a hostgroup, and assign a host template to the host group...