Fortigate Vlan-Values not queried in API-Call

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: 7.0.12, 7.2.6, 7.4.0beta2
    • Component/s: 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)
          );
      

            Assignee:
            Sava Mansurovs
            Reporter:
            Andreas Krauß
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 7h
                7h