Active Directory component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
all.so.gft
Posts: 9
Joined: Mon Dec 31, 2012 5:26 am

Active Directory component

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Active Directory component

Post 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.
all.so.gft
Posts: 9
Joined: Mon Dec 31, 2012 5:26 am

Re: Active Directory component

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Active Directory component

Post by mguthrie »

Currently yes. Although we are currently developing a much more robust version of that component to alleviate the need for such scripts.
all.so.gft
Posts: 9
Joined: Mon Dec 31, 2012 5:26 am

Re: Active Directory component

Post 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
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Active Directory component

Post 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
all.so.gft
Posts: 9
Joined: Mon Dec 31, 2012 5:26 am

Re: Active Directory component

Post 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
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Active Directory component

Post by yancy »

all.so.gft,

Sounds good. I'll send you the details.

Thanks,

-Yancy
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Active Directory component

Post 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!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Active Directory component

Post by slansing »

Please see the reply to your thread here:

http://support.nagios.com/forum/viewtop ... 9396#45609
Locked