PDC plugin

Marc Powell marc at ena.com
Thu Jan 18 16:56:57 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon
> Sent: Thursday, January 18, 2007 8:26 AM
> To: Nagios Users mailinglist
> Subject: Re: [Nagios-users] PDC plugin
> 
> I would also be very interested if anyone knows how to do this. I am
> using 2003 Active Directory. I was thinking about just doing check_tcp
> again the ldap and kerberos ports but that is a pretty lame test since
> they are always bound.
> 
> I think a more specific test like an ldap query and a kerberos request
> would be better.
> 
> Anybody got anything more on this?

Big caveat: I'm not a Windows kind-of-guy but...

We use a program named dcdiag that actively checks the state of our
domain controllers and send its output to us via e-mail. It performs
many tests such as connectivity, replication, netlogons, advertising,
etc, etc etc... If I were trying to do this I'd install ActiveState perl
and create a simple plugin that called dcdiag and parsed its output
looking for failures. Run the plugin via NRPENT (or other) and you
should have interesting results. Now, I'm sure there's a better way to
parse the output than AS Perl that's native to Windows but I'm just not
familiar enough to know what it is.

dcdiag from MS TechNet -
http://207.46.196.114/WindowsServer/en/library/f7396ad6-0baa-4e66-8d18-1
7f83c5e4e6c1033.mspx?mfr=true

Try running it with 'dcdiag /s:<domaincontroller> /e'

HTH,

Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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