I have run this through a yaml formatting test with no issues. i'm not getting yaml formatting errors.
What im pretty sure that is a custom mib/module and written by someone else that's why it wont work. How it gets posted on grafana is incredible. *Justin Counsell* IT Administrator [email protected] www.plasticwax.com <https://twitter.com/RealPlasticWax> <https://www.facebook.com/plasticwax/> <https://www.linkedin.com/company/plastic-wax-animation> This email may contain confidential and/or private information. If you received this email in error please delete and notify sender. On Wed, Oct 14, 2020 at 6:15 PM Justin Counsell <[email protected]> wrote: > What your asking is near impossible on this webpage, the formatting is > awful. But here goes: > > modules: > fortigate_snmp: > walk: > - ifXTable > - fgVpn > - fgSystem > - fgIntf > - fgInetProto > version: 3 > max_repetitions: 25 > timeout: 10s > auth: > username: snpuser # Required, no default. -u option to NetSNMP. > > > security_level: noauthNoPriv # Defaults to noAuthNoPriv. -l option to > NetSNMP. > > # Can be noAuthNoPriv, authNoPriv or > authPriv. > > #password: your_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. > > There is no fortigate_snmp in any fortigate MIBs that I can find? > > On Wed, Oct 14, 2020 at 6:06 PM Brian Candler <[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/f2d7d21e-fb1c-41be-9c17-8e7a9e8e4c3co%40googlegroups.com >> <https://groups.google.com/d/msgid/prometheus-users/f2d7d21e-fb1c-41be-9c17-8e7a9e8e4c3co%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/CA%2B5v_7UMicb7OrCgkembVbUDv5MU-bjbO8F_vnhbftX-n0ygbA%40mail.gmail.com.

