Nagios authentication thru LDAP.
Allan Clark
allanc at chickenandporn.com
Wed Aug 10 23:05:27 CEST 2011
On Wed, Aug 10, 2011 at 14:16, <up at 3.am> wrote:
>> Quoting Robert J Molerio <rjm399 at nyu.edu>:
>>
>>> Can anyone indicate how this can be done?
>>> We would like users to log on to Nagios via LDAP.
>>> I think we need to configure the Apache server within Nagios to be able to
>>> do this but we're not sure.
>>
>> It's definitely possible using Apache's LDAPÂ auth, however you might want to
>> consider that when your network is going ape****, it's really nice to know that
>> your Nagios machine doesn't require any external resources.
>>
>> That's why IÂ chose local auth (htpasswd).
>>
>> Now matter how much of the brown stuff is flying around, Nagios is up.
>
> Those are the times that once I am notified, I wish nagios would shut up already ;-)
>
> For authentication only Nagios will still send out notifications, even if you
> can't get into its web interface, which is all we're talking about authenticating
> here.
>
> Always have more than one LDAP source, but this should be fairly easy to do using
> Apache's mod_auth_ldap. Disclaimer: I haven't used that mod, but I HAVE used
> mod_auth_xradius, which in turn used radius+LDAP, which has got to be at least as
> complicated as using LDAP directly.
I'll see if I can pull my examples tonight from when I did this a few years ago.
A syncrepl LDAP secondary on the same server as the apache server gets
the best of both worlds: LDAP replication, but it's on the same box so
not prone to network issues.
Allan
--
allanc at chickenandporn.com "金鱼" http://linkedin.com/in/goldfish
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list