<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You can also use the ldapsearch command from
your linux based nagios server to query your active directory server. Same as
below, use your favorite scripting language to generate the check.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=1 color=gray
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:gray;
font-weight:normal'>Lane Williams Jr.</span></span></font></b></strong><font
size=1 color=gray face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:gray'> | Senior System Administrator | </span></font><strong><span
style='mso-bidi-theme-font: minor-bidi'><b><font size=1 color=teal
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:teal;
font-weight:normal'>Cellular South<o:p></o:p></span></font></b></strong></p>

</span>

<p class=MsoNormal style='margin-left:.5in'><font size=1 color=gray
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:gray'>1018
Highland Colony Parkway | Suite No. 200| Ridgeland, MS  39157</span></font><font
color=gray><span style='color:gray'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><strong><span style='mso-bidi-theme-font: minor-bidi'><b><font
size=1 color=gray face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:gray;font-weight:normal'>Desk</span></span></font></b></strong><font
size=1 color=gray face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:gray'> (601-974-7713) | <strong><span style='mso-bidi-theme-font: minor-bidi'><b><font
face=Verdana><span style='font-family:Verdana;font-weight:normal'>Wireless</span></span></font></b></strong>
(769-798-7713)</span></font><font size=2 color=navy face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'><a
href="http://www.cellularsouth.com/"><font size=1 color=gray face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:gray'>www.cellularsouth.com</span></font></a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Natxo Asenjo
[mailto:natxo.asenjo@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, November 02, 2009
1:03 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users]
Monitoring Active Directory</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Mon, Nov 2, 2009 at 5:56 PM, C. Bensend <<a
href="mailto:benny@bennyvision.com">benny@bennyvision.com</a>> wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
Hey folks,<br>
<br>
  I just started a new job, and my immediate task is to build a<br>
new Nagios system for them.  I love my new job...  :)<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>:-)<br>
 <o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>  They would like to monitor Active Directory OUs, so that Nagios<br>
alerts if any of a certain group of OUs are moved/renamed/deleted.<br>
Apparently, this happens every so often due to the number of<br>
admins that need rights to the AD structure.<br>
<br>
  So.  I checked on the exchange site and did some googling, but<br>
have not found any community plugins that will allow me to specify<br>
an OU and alert if it's not present.<o:p></o:p></span></font></p>

</blockquote>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
I do not think there is something like that, but it is not difficult to make
your own. Use dsquery to see if an ou, user or group exists, write your own
plugin and execute it with nrpe. You can use your favorite scripting language
for this.<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
-- <br>
natxo asenjo<o:p></o:p></span></font></p>

</div>

</body>

</html>