I downloaded these three mibs FORTINET-CORE-MIB.txt, FORTINET-FORTIGATE-MIB.txt and FORTINET-FORTIMANAGER-MIB.txt.
On Wednesday, 14 October 2020 at 12:56:35 UTC+5:30 sabarish narayanan wrote: > Check the indentation of "modules:", " fortigate_snmp:" and "walk:" try > the following, > > modules: > fortigate_snmp: > walk: > - ifXTable > - fgSystem > - fgVpn > - fgIntf > - fgInetProto > > version: 3 > max_repetitions: 25 > timeout: 10s > auth: > . > . > . > > This worked for me. I am using the exact dashboard you mentioned. > On Wednesday, 14 October 2020 at 12:53:03 UTC+5:30 sabarish narayanan > wrote: > >> If it's exactly the same as the one in >> https://grafana.com/grafana/dashboards/7567, then it won't work because >> that's not the complete file. Also that doesn't have >> "fortigate-fortinet-mib" in it. >> If you have added "modules:", before it then there may be some indenting >> issue. But I think without the generator.yml file it will be very difficult >> to guess the issue. >> >> On Wednesday, 14 October 2020 at 12:36:13 UTC+5:30 [email protected] >> wrote: >> >>> Can you run "cat generator.yml" and paste the *exact* output here, >>> without mangling the formatting? (Preferably, after pasting, select the >>> text and change font to "Courier New"). >>> >>> The error message appears to be saying that the string >>> "fortigate-fortinet-mib" appears in your YAML file. But that string does >>> not occur in the sample file that you linked to. >>> >>> The overall structure of generator.yaml should be like this one: >>> https://github.com/prometheus/snmp_exporter/blob/master/generator/generator.yml >>> >> -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3cf353be-4ae6-4716-9967-336db57b633dn%40googlegroups.com.

