Page 1 of 1

Email Alerts Box Not Listing All Users

Posted: Tue Jan 20, 2015 6:49 pm
by myriad
Hi, in my favorite browser (Chrome) when attempting to create an alert, not all the users are showing in the selection box. This appears to be a bug? I'm on 2015R1.2b

Re: Email Alerts Box Not Listing All Users

Posted: Tue Jan 20, 2015 7:10 pm
by Box293
Is this only happening in Chrome?

Does it work in Firefox, IE, Safari or any other web browser?

Re: Email Alerts Box Not Listing All Users

Posted: Wed Jan 21, 2015 10:43 am
by lmiltchev
There was a bug in version 1.1, where no more than 10 users would display but this was fixed in 1.2.

http://assets.nagios.com/downloads/nagi ... HANGES.TXT

I wonder if this bug somehow this resurfaced... Do you see exactly 10 users?

Re: Email Alerts Box Not Listing All Users

Posted: Wed Jan 21, 2015 11:11 am
by myriad
Yes, I see only ten users. We have purchase a three instance installation for the company. I did an install on Oracle Linux 6.6 in a Vmware 5.5 environment. I'm giving up. I would like to replace the three instances with the OVF that Nagios provides to commit a standard installation.(according to Nagios) Is there a way to backup my user base so I don't have to rekey them in to the new instances?

Re: Email Alerts Box Not Listing All Users

Posted: Wed Jan 21, 2015 3:37 pm
by tmcdonald
I don't believe there is a user backup currently, but there might be a way to grab the info from LS and at least partially automate re-adding them. I am asking a developer to weigh in.

Re: Email Alerts Box Not Listing All Users

Posted: Wed Jan 21, 2015 4:02 pm
by lgroschen
OK, this is actually doable with the create and restore backup scripts!

Firstly, add this before we run these scripts:
pip install jsonselect

Then move to this file path and run this script:

Code: Select all

/usr/local/nagioslogserver/scripts/create_backup.sh
This will create a backup .tar.gz file with a name such as: nagioslogserver.2015-12-10.1418250999.tar.gz. Be sure you grab the newly created one by looking at the date of the most recent in that directory.

On the new server copy the .tar.gz we just created and place it after the restore_backup.sh similar to the following (do not use the * like in my example as this will not work correctly):

Code: Select all

/usr/local/nagioslogserver/scripts/restore_backup.sh nagioslogserver.2015-*.tar.gz