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_7XizqdVpi9qbWRinGE9Wp1BhyKE5kRxJ7C9FC_-%2BV%2B_1Q%40mail.gmail.com.