DHCP server monitoring

Chris

Distinguished
Dec 7, 2003
2,048
0
19,780
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

Is there anyway or any utility that we could use to monitor
the leases on a subnet without having to use the MMC.

It would be great if an alert could be emailed out stating
that a subnet had less than 10% of its leases available.
The MMC tool is way to slow and we can't use this when we
are on the road.

Thank you
Chris
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

Wouldnt something like this be written to the Event Log? I'm sure there must be something that will fire off an email or something based on event log events.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.advanced_server (More info?)

"Chris" <anonymous@discussions.microsoft.com> wrote in message news:<258b01c41bfb$54c9f780$3501280a@phx.gbl>...
> Is there anyway or any utility that we could use to monitor
> the leases on a subnet without having to use the MMC.


If you know how many potential address are available,
DHCPcmd can enumerate active leases. You can use
this in a script to determine how many are available

The following link gives you more info and you can download
it there.

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q232/2/13.ASP&NoWebContent=1

You should also be able to use netsh something like this:

netsh dhcp server 192.168.0.2 scope 192.168.10.0 show clients

This also enumerates leases and you will need to calculate available
leases if you need that information.

--
Matt Hickman
An insult is like a drink; it affects one only if accepted.
Robert A. Heinlein (1907 - 1988)
_Glory Road_ 1963