htpasswd.users

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

htpasswd.users

Post by gregwhite »

We are building out our new Nagios 2014 environment. We copied over the htpasswd.users file from are old environment
to the new environment. When we log into the new environment it is only showing accounts from the new htpasswd.users. We have
logged out, restarted nagios but it still accesses the origninal account file. Is there something else we need to do in order to use
the file from our old production server?

Thanks,
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: htpasswd.users

Post by slansing »

Are you talking about actual Nagios XI users? That you are using to log into the XI web interface with? Those are housed in the XI postgres database which would still reside in the old environment, you could make a backup of your old XI server, and re-install it in the new environment, this should bring everything over for you. Then you can upgrade that install to the latest version once the restoration from that backup is complete:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: htpasswd.users

Post by gregwhite »

Ahh, that explains it . Thanks. The reason we are doing it this way is we have learned a lot from our current environment and have a list of what we would
do differently in the new environment had we known. We want to make better use of templates that are customized to our environment, we have restructured
how we create hostgroups so that each support groups hostgroups appear together. (Yes I'm crazy) Just to name a couple of things. This means we will be exporting
the devices from the old environment and importing them into the new environment with their approproate host and service templates and contact groups.
I was hoping to get the user account and contacts moved over so I could work on the templates. So that's our goal.

Thanks again for the quick response.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: htpasswd.users

Post by tmcdonald »

Contacts will be easy, just move over the configs and import. Users are a bit trickier because they have a lot of database presence. If you have a smallish amount I would honestly recommend just remaking the users and their contacts instead of trying to import. If this isn't possible let me know and we'll look at some alternatives.
Former Nagios employee
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: htpasswd.users

Post by gregwhite »

Thanks, will do.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: htpasswd.users

Post by tmcdonald »

Assuming you mean you'll recreate by hand then? If that is the case, is it safe to close this thread?
Former Nagios employee
Locked