Page 1 of 1
Nagios XI Users
Posted: Mon Oct 05, 2015 1:26 pm
by r34220
Is it possible to prevent Nagios XI from switching to lower case for a user in the Manage Users pages? My imported nagios core contacts have a mix of case.
Re: Nagios XI Users
Posted: Mon Oct 05, 2015 4:07 pm
by jolson
It looks like usernames are all converted to lowercase before they enter the database:
2015-10-05 16_05_51-mRemoteNG - jesse.png
If you change this behavior, I expect that future upgrades to Nagios XI would un-change the behavior. I recommend using the new all-lowercase format and converting your current users to the new format. How many users are you working on importing? We can look at the code to see if we can unset the case-sensitivity, but there's no telling what might break if we do so.
Re: Nagios XI Users
Posted: Mon Oct 05, 2015 4:18 pm
by r34220
There is approx 70 contacts in nagios core that would need to match the XI users. Whats the best way to update the core contacts? From the GUI or DB?
Re: Nagios XI Users
Posted: Mon Oct 05, 2015 4:45 pm
by jolson
It depends on how you set up Nagios Core - where are your contacts stored? In Nagios XI adding the contacts through the Web GUI is definitely the best way, because it sets up the 'user' and 'contact' constructs appropriately. Feel free to read this document for more information:
https://assets.nagios.com/downloads/nag ... ntacts.pdf
You can either choose to add them one-by-one, or you can do an Active Directory import:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Let me know if you have any questions!
Re: Nagios XI Users
Posted: Tue Oct 06, 2015 11:13 am
by r34220
These contacts have already been imported form another instance of Nagios core with the mixed case. So now to "connect" Nagios XI users I have to modify the nagios contacts and contactgroups manually I believe.
Maybe for an enhancement request make the import of nagios contact and contactgroup cfg files change the case to lower?
Re: Nagios XI Users
Posted: Tue Oct 06, 2015 2:43 pm
by lmiltchev
I filed an internal feature request (TASK ID 6559). Thanks!