Grafana|Prometheus -- How to monitor Fortigate using snmp_exporter

Hi,

I’m trying to setup snmp_exporter for Fortigate but getting the below.

==================
level=info ts=2020-07-22T14:45:49.665Z cal ler=collector.go:224 module=fortigate_snmp target=X.X.X.Xmsg=“Error scraping target” err=“error walking target X.X.X.X: marshal: unable to parse OID: strconv.Atoi: parsing “ifXTable”: inval id syntax”
level=info ts=2020-07-22T14:48:49.645Z caller=collector.go:224 module=fortigate_snmp target=X.X.X.X msg=“Error scraping target” err=“error walking target X.X.X.X: marshal: unable to parse OID: strconv.Atoi: parsing “ifXTable”: invalid syntax”

==================

FYI, Generator.yml file.

=================
fortigate_snmp:
walk:
- ifXTable
- fgVpn
- fgSystem
- fgIntf
- fgInetProto
version: 3
max_repetitions: 25
timeout: 10s
auth:
username: test # Required, no default. -u option to NetSNMP.
security_level: noAuthNoPriv # Defaults to noAuthNoPriv. -l option to NetSNMP.
# Can be noAuthNoPriv, authNoPriv or authPriv.
#password: password # Has no default. Also known as authKey, -A option to NetSNMP.
# Required if security_level is authNoPriv or authPriv.
#auth_protocol: SHA # MD5 or SHA, defaults to SHA. -a option to NetSNMP.
# Used if security_level is authNoPriv or authPriv.

=================

BR
Mohammed