Hello!
I'm running Zabbix to collect data of my FortiGate network. I have multiple FortiAP WiFi access points and these are configured and orchestrated through a FortiGate firewall.
To auto-discover these FortiAPs and to monitor them, I'm using this open-source community template: https://github.com/mbdraks/fortinet-zabbix
It works pretty much flawlessly, but there is one thing that I would like to change: Every FortiAP issue message has the AP's serial number and not the AP's name. I would like to use names here, I can remember which AP is located at which position by their names, not by their serial numbers.
From the template I can see that the serial is fetched under "Wireless discovery" to the #SNMPVALUE variable/macro:
I tried to mimick some other discovery rules and change this to:
To get the name of each FortiAP item and then be able to use it in triggers, etc with #SNMPNAME. I got as far as importing this to my Zabbix instance (everything was green and it seemed to parse the yaml just file), but when I pressed "Import", it says:
Import failed
Graph with ID "10490" is not available.
What am I doing wrong?
I'm running Zabbix to collect data of my FortiGate network. I have multiple FortiAP WiFi access points and these are configured and orchestrated through a FortiGate firewall.
To auto-discover these FortiAPs and to monitor them, I'm using this open-source community template: https://github.com/mbdraks/fortinet-zabbix
It works pretty much flawlessly, but there is one thing that I would like to change: Every FortiAP issue message has the AP's serial number and not the AP's name. I would like to use names here, I can remember which AP is located at which position by their names, not by their serial numbers.
From the template I can see that the serial is fetched under "Wireless discovery" to the #SNMPVALUE variable/macro:
Code:
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.12356.101.14.4.3.1.1]'
Code:
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.12356.101.14.4.3.1.1, {#SNMPNAME},.1.3.6.1.4.1.12356.101.14.4.3.1.3]'
Import failed
Graph with ID "10490" is not available.
What am I doing wrong?