15 Jul 2022 10:21 PM - last edited on 16 May 2023 02:08 PM by Michal_Gebacki
Anyone using the Active Directory Services 2.0 extension in their environment and have not modified it? If so are you getting the error below with the metric below
metric name:
Total DHCP requests/s
metric key:
func:com.dynatrace.extension.active-directory.dhcp.server.requests.persec.total
error when pulling up metric in metrics page:
Error reading metric data. - Description: Stored metric is invalid: Can not handle metric key 'func:com.dynatrace.extension.active-directory.dhcp.server.requests.persec.total' because the stored expression '(com.dynatrace.extension.active-directory.dhcp.server.requests.persec)+(com.dynatrace.extension.active-directory.dhcp.server.v6.requests.persec)' is invalid. No metric found using the Metric Id "com.dynatrace.extension.active-directory.dhcp.server.requests.persec". Stored metric is invalid: Can not handle metric key 'func:com.dynatrace.extension.active-directory.dhcp.server.requests.persec.total' because the stored expression '(com.dynatrace.extension.active-directory.dhcp.server.requests.persec)+(com.dynatrace.extension.active-directory.dhcp.server.v6.requests.persec)' is invalid. No metric found using the Metric Id "com.dynatrace.extension.active-directory.dhcp.server.v6.requests.persec". Metric Expression: (func:com.dynatrace.extension.active-directory.dhcp.server.requests.persec.total:splitBy():avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names
I do see the below in the Log viewer when filtering for logs specific to the extension, I'm wondering if this could be causing the issue we are seeing
DEVICE_CONNECTION_ERROR:Cannot execute query: DHCPServer on device localhost: Exception occurred. (Invalid class ) [status code=38]; DEVICE_CONNECTION_ERROR:Cannot execute query: DHCPServerv6 on device localhost: Exception occurred. (Invalid class ) [status code=38]; OK:All queries;
Solved! Go to Solution.
12 Jan 2023 10:08 PM
@sivart_89 were you able to get this resolved? have you tried the latest version of the extension? If you were able to get this working could you please share with us what you had to do to get it working?
22 Mar 2023 01:09 PM
@travis_anderson I had similar problem and found that I didn't have DHCP server on host. Check it.
And if you don't have DHCP just turn off checkbox with DHCP metrics.
23 Feb 2024 09:25 AM
After updating this extension to version 3.1.9, the extension is not working anymore? Any update/feedback how I can resolve this issue?
23 Feb 2024 10:12 AM
Please create a support case.
23 Feb 2024 10:13 AM
already created a support ticket
07 Mar 2024 04:06 PM
Hi @jannick_deturck .
We had an issue with topology after upgrade to 3.1.9.
Support told us 3.1.9 version need to run locally with OneAgent. Remote WMI for this extension is no longer supported.
However, the metrics are still correctly collected for us and we can fix toplogy by ourself 🙂