make multiple hosts active at once

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chris.trotter
Posts: 36
Joined: Tue Jul 26, 2011 12:11 pm

make multiple hosts active at once

Post by chris.trotter »

I have just created a whole pile of hosts, and they are ready to be set as active.

Any way to batch that? Doing them one at a time in the GUI will be painful, and I expect to run into this same scenario again and again.

One other question while I'm at it - any way to have more than 15-20 hosts displayed at once? (i.e. a few long&scrollable page vs. many short pages)
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: make multiple hosts active at once

Post by nscott »

Unfortunately there isn't a non-painful way to do that if they were created without the Active option checked.

As for the second option: I assume you're talking about the Core Config Manager, and you can specify the lines per page under Config Manager Admin > Config Manager Settings and then set the data lines per page to whatever you want.
Nicholas Scott
Former Nagios employee
chris.trotter
Posts: 36
Joined: Tue Jul 26, 2011 12:11 pm

Re: make multiple hosts active at once

Post by chris.trotter »

Hm, getting a permission issue when I try to save that setting. Will have to look into why.

That's something that should definitely be added for the next version. I don't think there is a way to even do that via a custom script, as the config files are synched to the DB, right?
chris.trotter
Posts: 36
Joined: Tue Jul 26, 2011 12:11 pm

Re: make multiple hosts active at once

Post by chris.trotter »

Oh, nevermind. Setting has saved despite the error, and I'm now seeing the number of lines I specified.

Thanks!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: make multiple hosts active at once

Post by nscott »

Data lines permissions: Are you logged in as nagiosadmin?

Also, yes that is something that is being addressed in the upcoming update to the CCM that mguthrie is working on. However, you can access the nagios database through mysql and edit that directly if you wish and is addressed here:

http://support.nagios.com/wiki/index.ph ... In_The_CCM
Nicholas Scott
Former Nagios employee
wealthpartners
Posts: 1
Joined: Tue Oct 04, 2011 1:51 am

Re: make multiple hosts active at once

Post by wealthpartners »

Getting permission error sometimes. Could this caused by system lagging or connection problem?
Locked