Page 1 of 1
Active Directory component
Posted: Tue Feb 12, 2013 8:44 am
by all.so.gft
Hi,
I need to use Active Directory component but after configuration I can't do any AD login on nagiosxi website.
Moreover I can't see any log to do troubleshooting... and on your documentation I can't see any step by step configuration doc (only basic settings...and then.. ).
Thanks for support
Giorgio
Re: Active Directory component
Posted: Tue Feb 12, 2013 11:43 am
by mguthrie
Do you see any entries showing up in /var/log/httpd/error_log?
An important note for the AD component is that any username that you attempt to login as still needs to exist as a Nagios XI user in order for the credentials to be checked.
Re: Active Directory component
Posted: Thu Feb 14, 2013 4:46 am
by all.so.gft
Thanks for your response
So if I've understand correctly I'll have:
- Nagios contact
- Nagiosxi (nagiosql) users
And to have always users updated I need to create a script that updates users on nagiosql db correct?
Thanks for support
Giorgio
Re: Active Directory component
Posted: Thu Feb 14, 2013 10:38 am
by mguthrie
Currently yes. Although we are currently developing a much more robust version of that component to alleviate the need for such scripts.
Re: Active Directory component
Posted: Mon Feb 18, 2013 6:52 am
by all.so.gft
We've already created similar script to sync ldap user on cgi.cfg and nagiosql db tables.
On Nagios XI there are many tables related to contacts and users (on db NagiosQL): so we need to insert users using a python script that will loop all ldap user in a particular OU with admin permissions and others with user permissions.
So please could you suggest in which tables we need to insert user (important column or SQL query) and contact.
Thanks
Giorgio
Re: Active Directory component
Posted: Mon Feb 18, 2013 9:57 am
by yancy
all.so.gft,
the table your looking for is:
db_tables[DB_NAGIOSXI]["users"]
I would recommend using the built in functions in utils-users.inc.php however instead of modify the tables directly.
I've modified the AD component already to allow the import of users by container. It's still an early alpha version, but I can send you a test version if your interested in trying it out.
Thanks,
-Yancy
Re: Active Directory component
Posted: Mon Feb 18, 2013 10:00 am
by all.so.gft
Sure, send me by email or upload where you want.
We'll be a good beta tester, believe me!
Thanks
Giorgio
Re: Active Directory component
Posted: Mon Feb 18, 2013 10:06 am
by yancy
all.so.gft,
Sounds good. I'll send you the details.
Thanks,
-Yancy
Re: Active Directory component
Posted: Mon Feb 18, 2013 4:06 pm
by asmgiadmin
Can anyone post info on how to configure via UI? Do users need to be imported? Is service account required to access AD servers from Nagios XI server?
Any assistance is appreciated!
Re: Active Directory component
Posted: Mon Feb 18, 2013 4:25 pm
by slansing