DHCP Pool Percent In Use
Put together a datasource that will report/alert on specific DHCP Scopes percent in use
LM Exchange: HMT9K4
sawyer_lef
Posted 8 years ago·Last reply 8 years ago
13 comments
Put together a datasource that will report/alert on specific DHCP Scopes percent in use
LM Exchange: HMT9K4
mnagel
·8 years agoI found the same thing and also elected to install the necessary module on our collectors rather than remote PS via WMI as the LM version uses. I also found the published DS does not account for superscopes, so I did my own (based on code I found, which is credited :). Sadly, there is no way to place linebreaks in the instance labels so superscopes labels tend to run off the edge of the column.
9AMZCD
Justin
·8 years agoI was referring to the fact that the core datasources do not work on server 2008.
Andrey_Kitsen
·8 years ago@Justin the DHCP DataSources in core work for 2012 and newer, not just 2012. Not sure where you got that information.
The reason we use the PropertySource is to identify a host and to apply appropriate categories prior to attempting to discover any instances. This removes a significant amount of load off the collector.
Justin
·8 years agoI wasn't happy with the idea that this would only work on Server 2012, so I updated it to run on the collector instead of the monitored DHCP server. this also removes the need to add psconfig properties. The only catch is that all of your collectors must be running Server 2012 with DHCP management tools installed. The script will check and if necessary install the DHCP tools at first discovery. Let me know your thoughts. Solved a lot of issues for me.
DHCP_Scope: 4P2WKM
DHCP_Server_Stats: MT7GPT
Andrey_Kitsen
·8 years ago@WillFulmer there's a PropertySource in our core repository called 'addCategory_Microsoft_DHCPServer' which will automatically add the categories.
You can also import it by locatorID GF2K94
Will Fulmer
·8 years agoWill DHCP servers be automatically discovered or must the Windows_DHCP be tagged on these specific devices?
Andrey_Kitsen
·8 years agogood reuse of code.
Would anyone else find what @mkqai created useful ? @WillFulmer @sawyer.lef @jamiemurphyit
If yes, I'll go ahead and file a ticket to get additional monitoring for Windows DHCP.
mkerfoot
·8 years ago7EMGDK
I have modified the script so that it monitors all DHCP pools on Windows Server 2012 R2. It should work on any Windows machine with PowerShell v5+ though.
PoolUsagePercentage threshold = >=90,95,98
Kerry DeVilbiss
·8 years agoHey @WillFulmer,
The two official DHCP datasources are now available from the repository, so you can check for them through Settings-> LogicModules-> DataSources-> Add-> From LogicMonitor Repository.
Alternatively, here are the names and locator codes:
Cheers,
Kerry
Will Fulmer
·8 years agoAny update on ETA for this?
sawyer_lef
OP8 years agoSorry I should of mentioned. This is for DHCP scope monitoring on Windows Server 2012 R2. I have not tested it on other verions of WIndows Server
jamiemurphyit
·8 years ago@sawyer.lef what is this for? cisco, juniper etc?
Andrey_Kitsen
·8 years ago@sawyer.lef we are close to releasing our official supported DHCP scope monitoring. I'll let you know when it goes live in core.