Hi there, having some issues with the template FortiGate by SNMP as subject says. I posted this to reddit but I thought posting here might be a better idea.
Lots of the values are coming up with no OID found for my access points utilizing this template. For example ,"Preprocessing failed for: .1.3.6.1.4.1.12356.101.14.4.3.1.1.1.16.70.80.52.51 .snip.50.snip.50 = STRING: ... 1. Failed: unable to extract value for given OID: no data was found" for memory capacity for each AP.
I have dug in and see that clicking on the item it says, wc.mem.size[fgWcWtpSessionWtpMemoryCapacity.1.3.6.1.4.1.12356. 101.14.4.3.1.1.1.16.70.80.52.51.snip.50.snip.50]. Now, I know no OID is really that long so my issue is in that item config itself. So I backed up a level via the web UI here to Wireless Discovery, which has the key as wc.mem.size[fgWcWtpSessionWtpMemoryCapacity.{#SNMPINDEX}] and the master item is the "SNMP walk wireless AP" item.
If I manually walk it, I get the proper data, but I have no idea how to translate the serial number in quotes into, well, something manageable in Zabbix so this can work. Obviously {#SNMPINDEX} is my issue. Is there a way I can implement quotation marks on it? I tried wc.mem.size[fgWcWtpSessionWtpMemoryCapacity."{#SNMPINDEX}"] without luck. What is the right way to properly modify the template to capture this data below?

Can someone give me some guidance on where to start trying to fix this?
Lots of the values are coming up with no OID found for my access points utilizing this template. For example ,"Preprocessing failed for: .1.3.6.1.4.1.12356.101.14.4.3.1.1.1.16.70.80.52.51 .snip.50.snip.50 = STRING: ... 1. Failed: unable to extract value for given OID: no data was found" for memory capacity for each AP.
I have dug in and see that clicking on the item it says, wc.mem.size[fgWcWtpSessionWtpMemoryCapacity.1.3.6.1.4.1.12356. 101.14.4.3.1.1.1.16.70.80.52.51.snip.50.snip.50]. Now, I know no OID is really that long so my issue is in that item config itself. So I backed up a level via the web UI here to Wireless Discovery, which has the key as wc.mem.size[fgWcWtpSessionWtpMemoryCapacity.{#SNMPINDEX}] and the master item is the "SNMP walk wireless AP" item.
If I manually walk it, I get the proper data, but I have no idea how to translate the serial number in quotes into, well, something manageable in Zabbix so this can work. Obviously {#SNMPINDEX} is my issue. Is there a way I can implement quotation marks on it? I tried wc.mem.size[fgWcWtpSessionWtpMemoryCapacity."{#SNMPINDEX}"] without luck. What is the right way to properly modify the template to capture this data below?
Code:
support@zbx-proxy:~$ snmpwalk -v2c -c public -m +FORTINET-FORTIGATE-MIB 10.10.14.1 FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryCapacity FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryCapacity.1."FP432FTFXX XXXX1" = Gauge32: 891288 FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryCapacity.1."FP432FTFXX XXXX2" = Gauge32: 891288 FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryCapacity.1."FP432FTFXX XXXX3" = Gauge32: 891288 FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryCapacity.1."FP432FTFXX XXXX9" = Gauge32: 891288
Can someone give me some guidance on where to start trying to fix this?

Comment