-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
7.4.0
-
None
Applying Fortigate by HTTP template to the host results in API errors, token is correct though, i can access the API via url from the zabbix server
1181065:20250709:152611.605 [ FortiGate ] [ https://...:443/api/v2/monitor/license/status?access_token=... ] Received response with status code 401: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply....
Here with curl:
root@zabbix:/var/log/zabbix# curl --insecure -H "Accept: application/json" -H "Authorization: Bearer ..." https://.../api/v2/monitor/web-ui/state
{
"http_method":"GET",
"results":{
"model_name":"FortiGate",
"model_number":"100F",
"model":"FG100F",
"model_subtype":"",
"model_level":"medium",
"eos":false,
"limited_ram":false,
"admin_using_default_password":false,
"admin":{
"name":"zabbix",
- is duplicated by
-
ZBX-25448 Fortigate by HTTP template not working with fortigate 7.4.5
-
- Confirmed
-