Page 1 of 1

Proxy and LDAP Components

Posted: Wed Jul 25, 2012 5:04 pm
by 65mustang4me
I've been using the proxy and ldap authentication components for Nagios Xi and they have been working great.

What is the chance of getting them both ported to Nagios Fusion?

Re: Proxy and LDAP Components

Posted: Thu Jul 26, 2012 9:54 am
by mguthrie
Well in snooping around on this, I just discovered that the update check for Fusion appears to be broken whether you're using a proxy or not, so I can send my modified proxy component, but it probably won't help much as of yet.

I'm attaching the LDAP auth component modified for Fusion. You'll need to install the php-ldap package in order for it to work. I don't actually have a local LDAP server to test against, so you'll have to let me know how it works ; )

Re: Proxy and LDAP Components

Posted: Thu Jul 26, 2012 4:29 pm
by 65mustang4me
The LDAP authentication components has been working fine so far. I did see the following error in the web server logs.

[Thu Jul 26 13:37:51 2012] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14


Also, is there a way to retain the same user credentials when moving from Fusion to NagiosXI? Currently, when access NagiosXI I get logged in as the user I setup in the "Server Credentails".

Re: Proxy and LDAP Components

Posted: Fri Jul 27, 2012 9:45 am
by mguthrie
[Thu Jul 26 13:37:51 2012] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined index: user_id in /usr/local/nagiosfusion/html/includes/utils-dashboards.inc.php on line 14
This appears to be unrelated to the LDAP component, I'll add it to my notes though to take a look.
Also, is there a way to retain the same user credentials when moving from Fusion to NagiosXI? Currently, when access NagiosXI I get logged in as the user I setup in the "Server Credentails".
Currently this is expected behavior. Are you wanting to log into Nagios XI as a particular user (not defined in Fusion's Server Credentials), then log into Fusion while keeping that original XI login? That might be tricky to implement because of XI's session security.

Re: Proxy and LDAP Components

Posted: Wed Aug 29, 2012 9:23 am
by BanditBBS
Sorry for thread-jacking, but it is relevant.

The ldap does work, but it doesn't walk the tree and all of our users are not in the same OU. Is there no way to use the Active Directory one for XI in Fusion?

Thanks

Re: Proxy and LDAP Components

Posted: Wed Aug 29, 2012 9:50 am
by mguthrie
There will be, I just haven't gotten to updating the AD component for Fusion yet. I bumped it up on the priority list for development, but we're making out final push to get XI 2012 out the door at the moment, so we'll get it posted as soon as we can.