How to solve missing ports with Fortigate

Greetings to you

I’m a newbie… I would like to tell you thanks for this great app.
I have a problem with my 2 fortigate (Fortios 5.4.3) where i don’t show the ports interfaces.

It’s work well for the others devices (switchs, severs)

I seen the posts on Github and Fortigate 60D not view ports and Missing interfaces from FortiGate Firewall

But i don’t anderstand how to make for solve the problem.
Can you help me, please ?

I have fresh install from git (ubuntu 16.04+Nginx)


Here my ./validate.php :
LibreNMS | 337dd4d02ee52e75d1b959dcfff9438403332b3b
DB Schema | 192
PHP | 7.0.18-0ubuntu0.16.04.1
MySQL | 10.0.29-MariaDB-0ubuntu0.16.04.1
RRDTool | 1.5.5
[OK] Database connection successful
[OK] Database schema correct

Did you try setting these in your config.php?

$config['os']['fortigate']['ifname']           = 1;
$config['os']['fortigate']['empty_ifdescr']    = 1;`

Could also be this os, I forget:

$config['os']['fortios']['ifname']           = 1;
$config['os']['fortios']['empty_ifdescr']    = 1;`
1 Like

So cool Murrant :slight_smile:
I have add your code.
And now it’s Ok for my 2 fortigate (200D + 100D)

Thanks a lot

Hullo Folks,
I have added Cisco switches in Libre but the ports are not displaying.
I can only see the Null0 port and the management port.
All the other ports (96 ports + 4 uplink ports) are not showing.
Am using Catalyst 3650 and the switches are in stacked together.