Batch Change

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bmiller
Posts: 1
Joined: Wed Oct 19, 2011 11:30 am

Batch Change

Post 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?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Batch Change

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Batch Change

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Batch Change

Post 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...
Locked