monitoring dhcp

C. Bensend benny at bennyvision.com
Tue Jan 24 15:36:24 CET 2012


> We've a Windows 2008 server with DHCP role. There is an option to display
> the statics of the scope.
> Total Addresses ..
> In Use .. %
> Available ..%
>
> Is it possible to gt these information available in Nagios.

I haven't had much luck with this.  Microsoft doesn't expose hardly
any of this data via WMI or any other interface that I've found.
I haven't looked at Powershell yet, mostly because many of my
servers do not have it installed (2003 -vs- 2008).

The best I've been able to do is watch the event log for DHCP
server complaints about a scope getting close to consumed.  Even
*that* has been problematic, as the DHCP server service seems to
arbitrarily decide when it wants to complain.  I ended up writing
a custom plugin that watches the event log for those events, parsing
the output, and deciding on whether it's appropriate to alert.

Benny


-- 
"Cats land on their feet. Toast lands peanut butter side down. A cat
with toast strapped to its back will hover above the ground in a state
of quantum indecision."           -- Unknown


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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