04 Jan 2024 04:27 PM - last edited on 19 Aug 2024 02:09 PM by Michal_Gebacki
hi all,
we've configured Fortigate WAF through activeGate extension Fortinet Fortigate monitoring & observability | Dynatrace Hub and aafter one day of being configured with "OK", the information doesnt appear in the tenant:
we haven't had problems on istallation, we created a user with "read" permissions to connect.
Solved! Go to Solution.
05 Jan 2024 08:50 AM
This is not a valid view, as it should include metrics. There could be many reasons for this. To start with, I would verify that you have the right network passes after the API to the devices.
Secondly download the logs from AG and analyse them.
Radek
05 Jan 2024 03:26 PM - last edited on 09 Jan 2024 07:50 AM by MaciejNeumann
is this view helpful? we configured communication through port 443 between activeGate en waf and created a user with read permissions. the logs says:
[query] Ping result: {'destination': None, 'packet_transmit': None, 'packet_receive': None, 'packet_loss_count': None, 'packet_loss_rate': None, 'rtt_min': None, 'rtt_avg': None, 'rtt_max': None, 'rtt_mdev': None, 'packet_duplicate_count': None, 'packet_duplicate_rate': None}
2024-01-03 17:06:00.741 UTC INFO [Python][5399398600470773862][FortiPrin][140642611086912][ThreadPoolExecutor-0_0] - [make_request] Making request to 'https://1xxxx:20443/login/logincheck'
2024-01-03 17:06:10.758 UTC ERROR [Python][5399398600470773862][FortiPrin][140642611086912][ThreadPoolExecutor-0_0] - [make_request] Error calling https://10.10.1.10:20443/login/logincheck: HTTPSConnectionPool(host='10xxxx', port=20443): Max retries exceeded with url: /login/logincheck?username=dynatrace&secretkey=.8G%2Br%2AUC03 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fe9c5274b20>, 'Connection to 10.10.1.10 timed out. (connect timeout=10)'))
2024-01-03 17:06:10.758 UTC INFO [Python][5399398600470773862][FortiPrin][140642611086912][ThreadPoolExecutor-0_0] - [make_request] Making request to 'https://10.10.1.10:20443/login/api/v2/monitor/system/status/select'
2024-01-03 17:06:20.762 UTC ERROR [Python][5399398600470773862][FortiPrin][140642611086912][ThreadPoolExecutor-0_0] - [make_request] Error calling https://10.10.1.10:20443/login/api/v2/monitor/system/status/select: HTTPSConnectionPool(host='10.10.1.10', port=20443): Max retries exceeded with url: /login/api/v2/monitor/system/status/select?scope=global (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fe9c5274a60>, 'Connection to 10.10.1.10 timed out. (connect timeout=10)'))
2024-01-03 17:06:20.763 UTC ERROR [Python][5399398600470773862][FortiPrin][140642611086912][ThreadPoolExecutor-0_0] - [query] Could not connect or obtain metrics: 'NoneType' object has no attribute 'json'
05 Jan 2024 06:42 PM
Hi,
Looks like a communication issue between your ActiveGate and target.
Best regards
08 Jan 2024 01:58 PM
we did a connectivity test, no problem there
05 Jan 2024 09:16 PM - edited 05 Jan 2024 09:18 PM
Hi @MariettaAlmeida . I have documented the same issue.
https://community.dynatrace.com/t5/Extensions/Fortinet-Fortigate-custom-extension/m-p/187719
For this case a support ticket would be the best approach, if you have new please share it with the community.
Please check @jegron tip