Fortinet Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
dan
New Contributor III

FG-61F: "FortiSwitch Ports" does not show devices anymore in column "Device Information"

FG-61F, 6.4.5, several FortiSwitches connected via FortiLink.

 

Since today, the FortiSwitch Ports view does not show anymore any devices in the "Device information" column.

The "Device inventory" in the Web GUI (Dashboard, User&Devices) is empty as well.

 

Yet, if I check the device database with the CLI command

 

diag user device list

 

I can see that all devices are apparently still in the DB.

 

I like the device information in the GUI. How can I get that information back?

 

Interesting side info:

 

diag user device clear     <---  seems not to work at all...

 

fortipg # diag user device stats generation.global 509997 generation.seen 69192 generation.deletion 44 count 139 joined 0 create_failed 0 fd 5 hash 2048

 

 

Regards

Dan

 

29 REPLIES 29
Debbie_FTNT

Hey inf_printer, Kenneth,

based on the numbers, I wouldn't expect a timeout to happen, we're not dealing with anything excessive here.

Can you do one more check?

1. Log into FortiGate GUI

2. Open a new tab (not an incognito one!)

3. Go to this URL: https://<FortiGate>/api/v2/monitor/user/device/query

-> this is the API call that should provide device information

-> this should be used by the device widget

-> the information should be formatted at least a little bit in the browser window; it should be fairly clear if there is device information or not

Debbie_FTNT_1-1645611121957.png

 

 

+++ Divide by Cucumber Error. Please Reinstall Universe and Reboot +++
KennethH
New Contributor III

Hi @Debbie_FTNT ,

 

Result:

 

There is device information

{
  "http_method":"GET",
  "results":[
    {
      "ipv4_address":"xxxxxxxxxxxx",
      "mac":"xxxxxxxxxxxxxxxxx",
      "hardware_vendor":"Universal Globa",
      "vdom":"root",
      "os_name":"Windows",
      "hostname":"RE-KO-BB-01",
      "last_seen":1645611513,
      "host_src":"dns",
      "unjoined_forticlient_endpoint":false,
      "is_online":true,
      "active_start_time":1645611513,
      "is_fortiguard_src":false,
      "master_mac":"xxxxxxxxxxxxxxxx",
      "detected_interface":"VLAN142",
      "is_master_device":true,
      "is_detected_interface_role_wan":false,
      "detected_interface_fortitelemetry":true,
      "online_interfaces":[
        "VLAN142"
      ]
    }
  ],
  "vdom":"root",
  "query_type":"memory",
  "count":1,
  "total":1,
  "start":0,
  "number":0,
  "status":"success",
  "serial":"FG100FTK2xxxxxxx",
  "version":"v7.0.4",
  "build":301
}

 

Learning fortinet....... :)
Debbie_FTNT

@KennethH in your case it looks like more of a GUI issue - API can fetch the information, it's just not displayed in browser for some reason.
@inf_PRINTER in your case, the results are empty (results[]); that would indicate that either no devices are detected (output of 'diag user device list' should be empty as well) or API can't fetch the information for some reason

In either case, I would want to do some in-depth troubleshooting that goes a bit beyond a forum thread, I would suggest a ticket with Technical Support :)

+++ Divide by Cucumber Error. Please Reinstall Universe and Reboot +++
indi81
New Contributor II

I've created ticket 5841805. My case is the same as @KennethH is seeing except I am on 7.0.5.

inf_PRINTER

That's what I got:

 

http_method"GET"
results[]
vdom"root"
query_type"memory"
count0
total1
start0
number0
status"success"
serial 
version"v7.0.5"
build304
JOÃO SILVA
IT MANAGER
PRINTER PORTUGUESA, SA
RIO DE MOURO
PORTUGAL
Debbie_FTNT

Hey @KennethH , @inf_PRINTER , @indi81 

there is at least one issue regarding device inventory not displaying (or not displaying properly) under investigation.

If you open tickets like indi81 has, the engineers should be able to provide more information.

+++ Divide by Cucumber Error. Please Reinstall Universe and Reboot +++
KennethH
New Contributor III

Hey @Debbie_FTNT , 

 

Thanks again for quick help.

I have created a ticket.

I will post the answer when it is found.

 

Have a great day!

Learning fortinet....... :)
KennethH
New Contributor III

Answer from TAC:

I searched our internal documents and we have a case with our developers related to this issue, case id 778932 .

 

The fix is in firmware 7.2.0, which is scheduled for Mar 28, 2022 , or 7.0.6 which is scheduled for May 10, 2022 .

Learning fortinet....... :)
Debbie_FTNT

Hey Kenneth,

great!

Regarding those release dates - I've double-checked internally, and they are not fixed yet, only estimates, and may be subject to change as further bug fixes and improvements are added and QA tests the proposed release build.

So please take them with a grain of salt :)

+++ Divide by Cucumber Error. Please Reinstall Universe and Reboot +++
Thisisalotofwork
New Contributor

I am seeing the same behavior as the other posters. Same results as KennethH when running the API call for device info. I see one device shown. When I run dia user device stats I show a count of 763. Started happening after updating to 7.0.5 from 7.0.4 on an FG100F with 8 managed Fortiswitches running 7.0.3.