AD integration component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chris.trotter
Posts: 36
Joined: Tue Jul 26, 2011 12:11 pm

AD integration component

Post by chris.trotter »

I've emailed Tony, but it appears his email is no longer valid. Would anyone be able to help with these questions?

I’m trying to install the AD integration component you’ve written but have run into some issues.

• Is it compatible with the latest release of XI? I note that it was written almost a year ago, so not sure about that.
• I’ve installed it as a component, not wizard, and can see the setting page, but am getting SQL errors:
o SQL: SQL Error [nagiosxi] : ERROR: duplicate key value violates unique constraint "xi_options_pkey"
o LDAP libraries not installed! To install them, log into the server, and run 'yum install php-ldap'.
 I have already done so, still erroring (requires restart of Nagios?)

Any ideas?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: AD integration component

Post by lmiltchev »

- The AD component *should* be compatible with the latest release of Nagios XI.
- You will have to create users in XI for the accounts you would like to use and the passwords should be pulled automatically from the AD
- You can try fixing the error: SQL: SQL Error [nagiosxi] : ERROR: duplicate key value violates unique constraint "xi_options_pkey" by running in a terminal:

Code: Select all

# /usr/local/nagiosxi/tools/fix_postgres_sequences.sh
- Try restarting the nagios server and see if this will fix your problem
Be sure to check out our Knowledgebase for helpful articles and solutions!
chris.trotter
Posts: 36
Joined: Tue Jul 26, 2011 12:11 pm

Re: AD integration component

Post by chris.trotter »

Okay, great, the SQL error is gone and I can save settings. I had to restart the server Nagios XI is on to get the LDAP error to go away - I can now enable the AD component.

I've added a new user that matches an AD user account, but passwords do not appear to be synchronizing. I'll do more searching.

Any specific logs I should look in for errors related to the AD component? Also, I just noticed that the time on the machine is wrong, so I have to synch that up to the AD ntp stuff - guessing that would be causing the password synch issues.
chris.trotter
Posts: 36
Joined: Tue Jul 26, 2011 12:11 pm

Re: AD integration component

Post by chris.trotter »

Time is now correct, and have even restarted the host server, but no luck.

Found a thread about how it would not work using the 'SSL enabled' feature of the component. Sure enough, I disabled the SSL option, tried to log in, and it worked! Any pointers on getting the SSL component working?

For reference, I already have the SSL packages installed:
openssl.x86_64 1.0.0-4.el6_0.2 @updates
openssl-devel.x86_64 1.0.0-4.el6_0.2 @updates

Thread I referenced: http://support.nagios.com/forum/viewtop ... ion#p10197
Locked