Hi,
my problem is still present with the interface inventory on fortigate.
How can I force the interface inventory with the ifName ?
Here is the snmpwalk result :
snmpwalk -v 2c -c community XX.XX.XX.XX .1.3.6.1.2.1.31.1.1.1.1
IF-MIB::ifName.1 = STRING: dmz
IF-MIB::ifName.2 = STRING: wan1
IF-MIB::ifName.3 = STRING: wan2
IF-MIB::ifName.4 = STRING: modem
IF-MIB::ifName.5 = STRING: ssl.root
IF-MIB::ifName.6 = STRING: mgmt
IF-MIB::ifName.7 = STRING: ha1
IF-MIB::ifName.8 = STRING: ha2
IF-MIB::ifName.9 = STRING: port1
IF-MIB::ifName.10 = STRING: port2
IF-MIB::ifName.11 = STRING: port3
IF-MIB::ifName.12 = STRING: port4
IF-MIB::ifName.13 = STRING: port5
IF-MIB::ifName.14 = STRING: port6
IF-MIB::ifName.15 = STRING: port7
IF-MIB::ifName.16 = STRING: port8
IF-MIB::ifName.17 = STRING: port9
IF-MIB::ifName.18 = STRING: port10
IF-MIB::ifName.19 = STRING: port11
IF-MIB::ifName.20 = STRING: port12
IF-MIB::ifName.21 = STRING: port13
IF-MIB::ifName.22 = STRING: port14
IF-MIB::ifName.23 = STRING: port15
IF-MIB::ifName.24 = STRING: port16
snmpwalk -v 2c -c community XX.XX.XX.XX .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING:
IF-MIB::ifDescr.2 = STRING:
IF-MIB::ifDescr.3 = STRING:
IF-MIB::ifDescr.4 = STRING:
IF-MIB::ifDescr.5 = STRING:
IF-MIB::ifDescr.6 = STRING:
IF-MIB::ifDescr.7 = STRING:
IF-MIB::ifDescr.8 = STRING:
IF-MIB::ifDescr.9 = STRING:
IF-MIB::ifDescr.10 = STRING:
IF-MIB::ifDescr.11 = STRING:
IF-MIB::ifDescr.12 = STRING:
IF-MIB::ifDescr.13 = STRING:
IF-MIB::ifDescr.14 = STRING:
IF-MIB::ifDescr.15 = STRING:
IF-MIB::ifDescr.16 = STRING:
IF-MIB::ifDescr.17 = STRING:
IF-MIB::ifDescr.18 = STRING:
IF-MIB::ifDescr.19 = STRING:
IF-MIB::ifDescr.20 = STRING:
IF-MIB::ifDescr.21 = STRING:
IF-MIB::ifDescr.22 = STRING:
IF-MIB::ifDescr.23 = STRING:
IF-MIB::ifDescr.24 = STRING:
snmpwalk -v 2c -c community XX.XX.XX.XX .1.3.6.1.2.1.31.1.1.1.18
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING: internet
IF-MIB::ifAlias.3 = STRING:
IF-MIB::ifAlias.4 = STRING:
IF-MIB::ifAlias.5 = STRING: sslvpn tunnel interface
IF-MIB::ifAlias.6 = STRING:
IF-MIB::ifAlias.7 = STRING:
IF-MIB::ifAlias.8 = STRING:
IF-MIB::ifAlias.9 = STRING: admin
IF-MIB::ifAlias.10 = STRING: peda
IF-MIB::ifAlias.11 = STRING: col
IF-MIB::ifAlias.12 = STRING: dmz
IF-MIB::ifAlias.13 = STRING: interco
IF-MIB::ifAlias.14 = STRING: dmzi
IF-MIB::ifAlias.15 = STRING: securite
IF-MIB::ifAlias.16 = STRING:
IF-MIB::ifAlias.17 = STRING:
IF-MIB::ifAlias.18 = STRING:
IF-MIB::ifAlias.19 = STRING:
IF-MIB::ifAlias.20 = STRING:
IF-MIB::ifAlias.21 = STRING:
IF-MIB::ifAlias.22 = STRING:
IF-MIB::ifAlias.23 = STRING:
IF-MIB::ifAlias.24 = STRING:
IF-MIB::ifAlias.25 = STRING:
Any suggestions are more then welcome!
Best regards,
Jonathan
Le 27/11/2018 à 15:39, Jonathan Chatriot a écrit :
Hello,
I have about 350 fortigate unit in my check_mk.
I am currently upgrading the firmware of my firewall, and I sax a
little change with the interface inventory.
With firmware 5.2.13, the interface are inventoried like :
Interface port1 detail : [Alias]
With firmware 5.4.10, the interface are inventoried like :
Interface 00X detail : [Alias]
I have tested with the different option in main.mk (
if_inventory_uses_alias, or if_inventory_uses_description), but I
can’t obtain the same result as the firmware 5.1.13.
The name interface 00X is not helpful.
Is there a way to obtain the interface inventory like : Interface
port1 detail : [Alias] ?
I am using check_mk 1.5.0p8.
Thanks for your help
Jonathan
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en