Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26408

Fortigate Vlan-Values not queried in API-Call

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.0.12, 7.2.6, 7.4.0beta2
    • Templates (T)
    • None
    • Support backlog

      Steps to reproduce:

      1. setup Fortigate with Template "Fortigate by HTTP"

      Result:

      reult from "Get interface data" show rx/tx Values only on physical Interface not vlans

      {          "alias": "",          "description": "Fortivoice VLAN",          "id": "voice",          "link": false,          "mode": "static",          "name": "voice",          "q_origin_key": "voice",          "type": "vlan"       }
      ,
           
      {          "alias": "",          "description": "",          "duplex": 0,          "id": "wan1",          "ip": "0.0.0.0",          "link": false,          "mac": "xx:xx:xx:xx:xx:xx",          "mask": 0,          "mode": "dhcp",          "name": "wan1",          "q_origin_key": "wan1",          "rx_bytes": 0,          "rx_errors": 0,          "rx_packets": 0,          "speed": 0,          "tx_bytes": 0,          "tx_errors": 0,          "tx_packets": 0,          "type": "physical"       }
      ,
      

      Expected:
      Add include_vlan=true to api call at

      OLD:

          var netif_data = getHttpData(
              api_url + '/api/v2/monitor/system/interface?access_token=' + encodeURIComponent(params.token)
          );
      
      

      NEW:

          var netif_data = getHttpData(
              api_url + '/api/v2/monitor/system/interface?include_vlan=true&access_token=' + encodeURIComponent(params.token)
          );
      

            zit Zabbix Integration Team
            krauss@hdpnet.de Andreas Krauß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: