Ad Widget

Collapse

Zabbix and Fortigate http template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BigRob
    Junior Member
    • Apr 2025
    • 1

    #1

    Zabbix and Fortigate http template

    Good day,

    I am trying to connect a fortigate firewall on firmware 7.4.7 to zabbix using the http template and the rest api. the issue is that in firmware 7.4.5 fortinet changed how it auth's api tokens as they now have to be done via the header using "bearer". Now I am more an Admin then I am a Coding guy, so I was wondering if its possible to modify the template to change how it passes the api token so it will work?

    Hopefully someone much smarter then me knows how to do this.

    Thanks.
  • Connector
    Junior Member
    • Apr 2025
    • 1

    #2
    We are also running info the same issue, no viable solution found yet. Reenabling token in URL parameter or using SNMP are not options. Configuring FortiGate 7.4.5+ to Allow... - Fortinet Community

    Comment

    • Hafamori
      Junior Member
      • May 2025
      • 8

      #3
      On the http checks you can just add the Header information int he template, but on the JS items i file too properly do it. addHeader() seems not work.

      Comment

      Working...