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?
AD integration component
Re: AD integration component
- 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:
- Try restarting the nagios server and see if this will fix your problem
- 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.shBe 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
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.
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
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
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