Forum Discussion
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
- Andrey_KitsenFormer Employee
@sawyer.lef we are close to releasing our official supported DHCP scope monitoring. I'll let you know when it goes live in core.
@sawyer.lef what is this for? cisco, juniper etc?
Sorry 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
- WillFulmerNeophyte
Any update on ETA for this?
- 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
- 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.
- WillFulmerNeophyte
Will DHCP servers be automatically discovered or must the Windows_DHCP be tagged on these specific devices?
- 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
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
Related Content
- 5 years ago
- 9 years ago
- 7 years ago