question about ad integration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

question about ad integration

Post by benhank »

I have a question about integrating users.
heres the example.
user benhank was created in nagios via /admin/manage users and had a contact created for him.
When trying to add user benhank via AD, I get an error stating that the user already exists.
My question is if I delete benhanks Nagios login account, but not his contact and then re-addhim thru AD, will the account associate itself with his contact?

I ask this because we have a ton of locally created Nagios accounts with associated contacts and contact groups. We want them all to be able to login with their network accounts, but dont want to have to recreate all of the contact groups and such.

thanks guys!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: question about ad integration

Post by tmcdonald »

As long as the username and contact name remain the same, they will still be linked. If either changes, that link is broken.

Update: Might have spoken too soon. When you delete a user, the contact seems to be deleted as well. I am not 100% certain this is intended, but that appears to be what happens. Lemme check with the devs on this.

Update 2: For now, add "2" or something to the contact name before you delete and re-add the contact. So in your case you would have benhank2 and then benhank would be created, so you would need to then delete benhank and change benhank2 back. Going to see if we can make it optional to delete the contact. Ignore that, I wasn't thinking straight. There is no need to delete the account and re-add it. You should be able to switch between local and AD. What XI version are you on?
Former Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: question about ad integration

Post by benhank »

Thanks bro and now I feel dumb....right after I asked the question, I noticed the little button that allows you to change a users login from local to ad. I tell yah , you guys think of everything...lock it up sir!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: question about ad integration

Post by tmcdonald »

benhank wrote:and now I feel dumb
How do you think I feel? I'm supposed to know this stuff :)

Looooooong day, I'll go ahead and lock this up for both our sakes.
Former Nagios employee
Locked