Copying Nagios XI users between systems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Copying Nagios XI users between systems

Post by paul.jobb »

Hi;

I am moving from a nagios XI 2012 server to an XI 2014 servers, I have about 90 users defined on the 2012 system, is there a way to port those across without having to manually do it? I am using the active directory integration component so I'm not concerned about the password more just importing the account.

Also as bit of an enhancement suggestion it would be so nice to be able to utilize an AD group membership for access control to nagios...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Copying Nagios XI users between systems

Post by abrist »

Is there any reason why you are not cloning the 2012 install and upgrading to 2014 on the clone? The XI user configurations are stored in the postgres db, but are also linked to core contacts in nagiosql. You would be best off using the old databases - either by upgrading the server to 2014 or running a full backup and restoring it to the 2014 box and then re-running the 2014 upgrade.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: Copying Nagios XI users between systems

Post by paul.jobb »

The 2012 server has been in place for probably over 3 years now, the OS configuration has been tweaked quite a bit to try and address performance issues( part due to issues with our network storage and part with issues corrected with the performance update XI 2012 1.4) so anyways that configuration isn't well documented anymore , the OS is 32 bit centos version 5 I believe so that I wanted to upgrade also. We also moved from configuring service checks against host groups to using service templates instead, anyways the configuration is a bit messy lots of unknowns so it was a good opportunity to clean everything up(with the apply config taking over 15 minutes no one was to interested in cleaning things up as it would be tedious)... We have an application which we have an inventory of our server environment so generating nagios config files and using the /usr/local/nagios/etc/import directory is good way for us to keep things reconciled. Anyways very long story as to why, just my approach, maybe not the most efficient.

We have two data centres, edmonton and calgary, we have been doing all the monitoring from edmonton but we are getting to the size that I would like to put a nagios server in calgary to monitor that environment. It would be nice not to have to define users in both places, not a big deal though either.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Copying Nagios XI users between systems

Post by abrist »

Well, you could import the contacts and contact group configs, as well as restore the postgres dump for user settings. This would effectively migrate your user config to the new instance. You will most likely need to do a little cleanup in XI afterwards - change the program url, send email address, etc.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: Copying Nagios XI users between systems

Post by paul.jobb »

Ok thank you, I will investigate that
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Copying Nagios XI users between systems

Post by slansing »

Great, let us know if you have any questions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Copying Nagios XI users between systems

Post by abrist »

Alright. Let us know if you have any follow ups.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked