Hi All,
I am facing issue when generating exporter .yml file for Fortigate.
[root@etp-monitor1 generator]# ./generator generate
level=warn ts=2020-11-19T02:09:03.052Z caller=main.go:120 msg="NetSNMP reported parse error(s)" errors=2815
level=info ts=2020-11-19T02:09:03.053Z caller=main.go:52 msg="Generating config for module" module=fortigate_snmp
level=error ts=2020-11-19T02:09:03.053Z caller=main.go:130 msg="Error generating config netsnmp" err="cannot find oid 'fgInetProto' to walk"
This is my generator.yml file:
modules:
fortigate_snmp:
walk:
- ifXTable
- fgVpn
- fgSystem
- fgIntf
- fgInetProto
version: 3
max_repetitions: 25
timeout: 10s
auth:
======
When I try to run ./generator parse_errors, I can see a lot of errors as attached.
I downloaded the MIB file from Fortigate WEB console under SNMP.
I need your help to get this working :)
Thanks,
Donny