Page 1 of 1

Relation between Users and Contacts

Posted: Wed May 27, 2015 4:15 am
by WillemDH
As our tld changed from digipolis.be to digipolis.gent, I changed all the users email addresses. I'm a bit concerned however to the behaviour of the contacts, as the email addresses there have not been changed automatically it appears. So I was wondering how the Users are linked to the contacts.

If I changed a user's email address, will it still be linked to the old contact? What if I also changed the username and the email address of the user? Will Nagios XI match the user name with the contact name? What if I rename a contact linked to a user?

Re: Relation between Users and Contacts

Posted: Wed May 27, 2015 9:02 am
by tmcdonald
I believe the (User) "Username" and the (contact) "contact name" fields need to match for it all to work. The (User) "Name" field and the (contact) "Description" fields do not need to match.

Re: Relation between Users and Contacts

Posted: Wed May 27, 2015 12:06 pm
by WillemDH
Just in case. If I would delete an existing contact linked to a username and then rename another contact identically as this username, this new contact would become the 'linked contact'? (There is no match on id or sth in the db?)

Re: Relation between Users and Contacts

Posted: Wed May 27, 2015 12:32 pm
by abrist
That is correct, I believe the match is made between XI username and contact_name.

Re: Relation between Users and Contacts

Posted: Wed May 27, 2015 6:52 pm
by Box293

Re: Relation between Users and Contacts

Posted: Thu May 28, 2015 3:03 am
by WillemDH
Thanks all for the replies. managed to fix most things that needed fixing. Had some issues with NagVis, but recreated accounts there. One small thing. It seems the email address is not synced between users and contacts. Wouldn't this be a logical implementation? As now I had to edit 100 users and the re-edit 100 contacts email addresses..

If you guys agree, I'll make a feature request.

Grtz

Willem

Re: Relation between Users and Contacts

Posted: Thu May 28, 2015 9:05 am
by tmcdonald
We could make a feature request to have the option to link them, but I would not make it the default or enforced behavior. There might be cases where you would want those addresses to be different, and forcing them to match could mess up some environments.

Re: Relation between Users and Contacts

Posted: Thu Jun 04, 2015 11:07 am
by tmcdonald
WillemDH, did you ever make that request or did you want us to do so?

Re: Relation between Users and Contacts

Posted: Thu Jun 04, 2015 2:15 pm
by WillemDH
Well I'll let you make it. Make it low prio. Thread can be closed.

Re: Relation between Users and Contacts

Posted: Tue Aug 18, 2015 1:46 pm
by tmcdonald
Feature 6291, since I forgot to mention it before :)