On Tuesday, 1 March 2022 at 15:58:48 UTC [email protected] wrote:

> just few questions:
>
> do those changes have to be done in snmp generator ? and then generate a 
> snmp.yml? or it can be added straight away in snmp.yml?
>
>
I apply them straight away to snmp.yml
 

> What should I need to add, if for example the switch snmp version is V3?
>

Example:










*if_mib3:  <<: *if_mib  version: 3  auth:    security_level: authPriv    
username: bla    auth_protocol: SHA    password: blabla    priv_protocol: 
AES    priv_password: blablabla*

 

> Is it possible to have more than one string for snmp authentication in 
> snmp.yml?
>
>
Yes, but you need to instantiate a separate module for each one:





*if_mib_foo:  <<: *if_mib  version: 2  auth:    community: tcpip123*





*if_mib_bar:  <<: *if_mib  version: 2  auth:    community: xyzzy*

...etc

-- 
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/770cd3a9-890c-42d6-a510-f60a1386f8fen%40googlegroups.com.

Reply via email to