10 Jun 2024 10:30 AM - last edited on 11 Jun 2024 07:11 AM by MaciejNeumann
Hello,
I need your help to resolve an issue with two Dynatrace extensions; the dashboards are empty even though the connection to the devices is OK:
1. Extension Fortinet FortiGate 0.2.1:
Despite an "OK" status and the reporting of some information (List of FortiGate Interface, Tunnels, Tunnel Proxy), all metrics remain empty and the default dashboard is empty:
In the log file, I find a reference to the number of metrics that are sent to EEC:
[INFO] api (ThreadPoolExecutor-1_1): Sent 154 metric lines to EEC: [MintResponse(lines_ok=154, lines_invalid=0, error=None, warnings=None)]
But I also have some errors:
[err]2024-06-10 11:00:29,582 [ERROR] dynatrace_extension.extension (ThreadPoolExecutor-0_0): [device-fortigate] Could not parse or report metrics: 'NoneType' object has no attribute 'splitlines'
[err] File "/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/com.dynatrace.extension.fortigate_0.2.1/lib/python3.10/site-packages/fortigate/__main__.py", line 208, in query_endpoint
[err] filter_lines = endpoint.interfaces_filter.splitlines()
[err]AttributeError: 'NoneType' object has no attribute 'splitlines'
I also have this error; the Fortigate certificate is self-signed but since it’s a warning, it should not be blocking:
[err]/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/com.dynatrace.extension.fortigate_0.2.1/lib/python3.10/site-packages/urllib3/connectionpool.py:1100: InsecureRequestWarning: Unverified HTTPS request is being made to host 'fortigate'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
I even tried adding these two lines to the connectionpool.py file but without success:
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
Is there an action to take to retrieve the Fortinet metrics on the dashboard?
2. Extension Juniper Networks (SNMP):
The default dashboard is empty.
In the log file, I have this type of error:
[err][2024-06-10 09:07:08.404Z] [ds:snmp] [warning] [INVALID_CONFIG_ERROR] No value reported for: metricConfig=com.dynatrace.extension.juniper.generic.device.fru.temp, host=10.1.10.1 [status code=32]
This error comes from the absence of the 2636 branch on the Juniper SSG140 which instead uses 3224. Is there a solution for supporting Juniper Netscreen devices with this extension or do we need to manually rewrite the extension.yaml file?
Thany you for your help
Solved! Go to Solution.
18 Jun 2024 09:51 PM
Support cases would likely be required to investigate these.