Missing interfaces from FortiGate Firewall

I’ve added a FortiGate firewall to my install but many of the interfaces are missing.

It is a FortiGate 60D. It has 10 physical interfaces and if you have any FortiNet wireless hardware, you can have multiple wireless interfaces.

LibreNMS is only showing me a single one of the few wireless interfaces and not identifying any of the other physical or wireless interfaces.

I found this thread but it wasn’t clear what the issue is so I didn’t want to add to it.

Let me know what information I can provide or if I’m missing something. I’ve got MIBs that are downloaded straight from the unit as well if that is useful.

Thanks.

Quick Question:
Could this be related to https://github.com/librenms/librenms/issues/3859 ?

This is because ifDescr is empty, so the port is ignored.

Should we set this for fortigate/fortios or whatever device os this is?

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

Yes, it looks like it is related to the Github issue. My apologies for not checking there as well. I can get that fixed manually.

Thanks, everyone.

JacksonWG, if you set the settings I posted above (replacing $os with ‘fortios’ I think) it will also fix the issue.

It might be a good idea to add that setting as default, or maybe not ignore ports with empty ifDescr anymore…

Yeah no idea why we do, we should use ifAlias / ifDescr as fall backs.

My guess is there was some odd cisco behavior and this worked around it.

Thank!

This helps me a lot!