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.

 

Lane Williams Jr. | Senior System Administrator | Cellular South

1018 Highland Colony Parkway | Suite No. 200| Ridgeland, MS  39157

Desk (601-974-7713) | Wireless (769-798-7713)

www.cellularsouth.com <http://www.cellularsouth.com/> 

 

________________________________

From: Natxo Asenjo [mailto:natxo.ase...@gmail.com] 
Sent: Monday, November 02, 2009 1:03 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring Active Directory

 

On Mon, Nov 2, 2009 at 5:56 PM, C. Bensend <be...@bennyvision.com>
wrote:


Hey folks,

  I just started a new job, and my immediate task is to build a
new Nagios system for them.  I love my new job...  :)

:-)
 

          They would like to monitor Active Directory OUs, so that
Nagios
        alerts if any of a certain group of OUs are
moved/renamed/deleted.
        Apparently, this happens every so often due to the number of
        admins that need rights to the AD structure.
        
          So.  I checked on the exchange site and did some googling, but
        have not found any community plugins that will allow me to
specify
        an OU and alert if it's not present.


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.


-- 
natxo asenjo

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to