I use check_mk, which included a plugin for monitoring Windows DHCP server:

netsh dhcp server show mibinfo | find /V ": dhcp." | find /V 
"DHCP-Serverversion wurde" | find /V "nicht richtig funktionieren." | find /V 
": dhcp server show mibinfo."

So, either you could either write a plugin for NSClient++ or get handy with 
winexe in Linux.

Though – a quick glance at the MIB shows the same data..

In the end, that may save you some scripting grief.

From: Giles Coochey [mailto:[email protected]]
Sent: Tuesday, January 24, 2012 7:31 AM
To: [email protected]
Subject: Re: [Nagios-users] monitoring dhcp


On 2012-01-24 14:00, Perfors, Henny wrote:
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.

Please advise.

Thanks!
Henry


It might be possible via SNMP, ensure you have the windows DHCP MIB loaded, and 
try walking 1.3.6.1.4.1.311.1.3 and see what is available to you.



--

Message sent via my webmail account.
------------------------------------------------------------------------------
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
[email protected]
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