On Mon, 9 Jan 2023 11:42:42 +0100 Biselx Nicolas nicolas.biselx@epfl.ch wrote:
In attachement, the debug with the list of ports
It did find some 118 interfaces on the Fortigate, but no IP address information.
Apparently, if found nothing useful in the IP-MIB:
2023-01-09 11:27:03,353 [DEBUG plugins.prefix.prefix] [inventory fortigate] Trying address tables from IP-MIB 2023-01-09 11:27:03,371 [WARNING plugins.prefix.prefix] [inventory fortigate] device has strange SNMP implementation of IP-MIB; ignoring retrieved IP address data: IPv4 address length is not 4: OID('.1.10.0.2.49.143') 2023-01-09 11:27:03,371 [DEBUG plugins.prefix.prefix] [inventory fortigate] Found 0 addresses in IP-MIB: set()
That is, it seems to have found *something*, but it didn't quite conform to that is expected in the MIB (the 1.10.0.2.49.143 value is invalid, as it is marked as a 4-octet IP address, but it contains 5 octets).
Do you have the NET-SNMP command line tools and basic MIBs available on your system? Might be interesting to get a raw view of that the device presents, using something like these two commands:
snmptable -v2c <community> <fortigate-ip-addr> IP-MIB::ipAddrTable
snmptable -v2c <community> <fortigate-ip-addr> IP-MIB::ipAddressTable