Forum Discussion
- mnagelProfessor
I 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
I was referring to the fact that the core datasources do not work on server 2008.
- Andrey_KitsenFormer Employee1 hour ago, Justin said:
I 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
@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.
I 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_KitsenFormer Employee1 minute ago, WillFulmer said:
Will DHCP servers be automatically discovered or must the Windows_DHCP be tagged on these specific devices?
@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
- WillFulmerNeophyte
Will DHCP servers be automatically discovered or must the Windows_DHCP be tagged on these specific devices?
- Andrey_KitsenFormer EmployeeOn 1/9/2018 at 11:22 AM, mkerfoot said:
7EMGDK
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
good 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.
7EMGDK
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_DeVilbissEmployee
Hey @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:
- Microsoft_DHCP_IPv4Server - K9AN49
- Microsoft_DHCP_IPv4Scopes - 3LWA7T
Cheers,
Kerry
- WillFulmerNeophyte
Any update on ETA for this?
Related Content
- 5 years ago
- 7 years ago
- 9 years ago