<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><title>Re: [Nagios-users] Authentication using AD</title>
</head>
<body>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Thanks for the heads up.<br>
Over the last few days I’ve had other priorities/fires but hope to get back on this by early next week.<br>
It would be good to share our experiences.<br>
<br>
Nagios-XI, at least I think, is a commercial/supported implementation of nagios. I saw this & figured it only applied to their tweaked version of nagios?<br>
<br>
Joe<br>
<br>
On 2/2/11 4:49 AM, "Bryan Berry" <<a href="bryan.berry@gmail.com">bryan.berry@gmail.com</a>> wrote:<br>
<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Joe I am in the same boat as you except I have much less experience w/ cas, krb, ldap, etc.<br>
<br>
I am going to try out this plugin today <br>
<a href="http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details">http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details</a><br>
<br>
and will let you know how it goes for me<br>
 <<a href="http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details">http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details</a>> <br>
<br>
On Fri, Jan 28, 2011 at 7:57 PM, Joe Beck <<a href="JBeck@urbn.com">JBeck@urbn.com</a>> wrote:<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">The recent thread on this topic was timely. <br>
After looking thru some of the details of these options, its not clear to me which would be best & which I should try to implement first:<br>
Mod_auth_ldap<br>
Mod_cas<br>
Mod_krb<br>
<br>
We’re on suse 11, apache 2.2.10 (more details below)<br>
The goal is to allow users to authenticate with their active directory credentials to the nagios web interface.<br>
The #1 requirement is quick setup at this point—most of our users, esp. mgt are using windows & IE. We’re pretty far down the path of getting buy-in from mgt to use Nagios. If I can get them to click on our nagios email notification links (we’re using frank4dd’s send perl plugin) and get right to the page without having to  enter their username/password, that would be great.<br>
The mapping of AD groups to nagios contactgroups would be awesome down the road but right now I’m looking for quickest implementation of AD auth integration into nagios.<br>
<br>
Some of my concerns: <br>
when I first looked I saw the need of a user w/out a password but after looking again I see that its just for a “principal” user tied to communications between apache & an AD user.<br>
I have little kerberos experience, lots of ldap experience, and a decent amount of apache & php background.<br>
<br>
Any observations or comments are appreciated.<br>
Thanks,<br>
Joe<br>
<br>
<br>
(more details on env)<br>
/usr/sbin/httpd2-prefork -V<br>
Server version: Apache/2.2.10 (Linux/SUSE)<br>
Server built:   Dec  3 2008 10:04:51<br>
Server's Module Magic Number: 20051115:18<br>
Server loaded:  APR 1.3.3, APR-Util 1.3.4<br>
Compiled using: APR 1.3.3, APR-Util 1.3.4<br>
Architecture:   32-bit<br>
Server MPM:     Prefork<br>
  threaded:     no<br>
    forked:     yes (variable process count)<br>
Server compiled with....<br>
 -D APACHE_MPM_DIR="server/mpm/prefork"<br>
 -D APR_HAS_SENDFILE<br>
 -D APR_HAS_MMAP<br>
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<br>
 -D APR_USE_SYSVSEM_SERIALIZE<br>
 -D APR_USE_PTHREAD_SERIALIZE<br>
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<br>
 -D APR_HAS_OTHER_CHILD<br>
 -D AP_HAVE_RELIABLE_PIPED_LOGS<br>
 -D DYNAMIC_MODULE_LIMIT=128<br>
 -D HTTPD_ROOT="/srv/www"<br>
 -D SUEXEC_BIN="/usr/sbin/suexec2"<br>
 -D DEFAULT_PIDLOG="/var/run/httpd2.pid"<br>
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<br>
 -D DEFAULT_LOCKFILE="/var/run/accept.lock"<br>
 -D DEFAULT_ERRORLOG="/var/log/apache2/error_log"<br>
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"<br>
 -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"<br>
<br>
<br>
<br>
<br>
(Active Directory) to authenticate Nagios web interface users<br>
<br>
On 1/27/11 5:18 AM, "Tevfik Karagulle" <<a href="tevfik.karagulle@gmail.com">tevfik.karagulle@gmail.com</a> <<a href="http://tevfik.karagulle@gmail.com">http://tevfik.karagulle@gmail.com</a>> > wrote:<br>
<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
I ran an AD-query script periodically. The script could map Nagios contact groups to AD-groups, getting AD-users of those groups and create corresponding Nagios contacts.<br>
<br>
<br>
On Thu, Jan 27, 2011 at 7:55 AM, Bryan Berry <<a href="bryan.berry@gmail.com">bryan.berry@gmail.com</a> <<a href="http://bryan.berry@gmail.com">http://bryan.berry@gmail.com</a>> > wrote:<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">thanks Jan and Tevfik. I will have to experiment w/ your solutions<br>
<br>
How does Nagios application know about the individual accounts? Do you have to create them separately and then mod_cas or mod_krb passes thru the credentials to Active Directory for verification?<br>
<br>
<br>
On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle <<a href="tevfik.karagulle@gmail.com">tevfik.karagulle@gmail.com</a> <<a href="http://tevfik.karagulle@gmail.com">http://tevfik.karagulle@gmail.com</a>> > wrote:<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">The link below can be helpful if If you look for single sign-on integration with Active Directory:<br>
 <br>
<a href="http://www.itefix.no/i2/node/11683">http://www.itefix.no/i2/node/11683</a> (Nagios single sign-on authentication with Active Directory)<br>
 <br>
That recipe is successfully implemented on a Nagios implementation two years ago.<br>
 <br>
Tev<br>
 <br>
On Wed, Jan 26, 2011 at 10:17 AM, <<a href="jan.grant@bristol.ac.uk">jan.grant@bristol.ac.uk</a> <<a href="http://jan.grant@bristol.ac.uk">http://jan.grant@bristol.ac.uk</a>> > wrote:<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">On Wed, 26 Jan 2011, Bryan Berry wrote:<br>
<br>
> Anybody using CAS for SSO authentication (<br>
> <a href="https://wiki.jasig.org/display/CASC/phpCAS">https://wiki.jasig.org/display/CASC/phpCAS</a>) into Nagios? I would love to<br>
> know if there is an existing solutions for this. haven't managed to find<br>
> anything regarding this on google yet<br>
<br>
We just slapped it behind mod_cas (or whatever it's called); seems to<br>
work, although you'll need an alternative route if you want<br>
unauthenticated access too, since there's no "opt-out" with that, unless<br>
you construct a cunning config that lets the front page through<br>
unauthenticated.<br>
<br>
<br>
--<br>
jan grant, ISYS, University of Bristol. <a href="http://www.bris.ac.uk/">http://www.bris.ac.uk/</a><br>
Tel +44 (0)117 3317661   <a href="http://ioctl.org/jan/">http://ioctl.org/jan/</a><br>
They modified their trousers secretly.<br>
<br>
------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d">http://p.sf.net/sfu/arcsight-sfd2d</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a> <<a href="http://Nagios-users@lists.sourceforge.net">http://Nagios-users@lists.sourceforge.net</a>> <br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
<br>
------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d">http://p.sf.net/sfu/arcsight-sfd2d</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a> <<a href="http://Nagios-users@lists.sourceforge.net">http://Nagios-users@lists.sourceforge.net</a>> <br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
<br>
------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d">http://p.sf.net/sfu/arcsight-sfd2d</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a> <<a href="http://Nagios-users@lists.sourceforge.net">http://Nagios-users@lists.sourceforge.net</a>> <br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
Joe<br>
</span></font></blockquote></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
Joe<br>
-- <br>
<br>
Joe Beck | IT-Open Systems Engineer | urban outfitters inc.<br>
5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | <a href="jbeck@urbn.com">jbeck@urbn.com</a><br>
</span></font>
</body>
</html>