How is NETIF_SNMP_ACCESS supposed to work with NetObserv Flow? Where can I find documentation for the file format and options?
I set the following but never see any SNMP queries from the collector:
EF_PROCESSOR_ENRICH_NETIF_SNMP_ACCESS_ENABLE: "true"
EF_PROCESSOR_ENRICH_NETIF_SNMP_ACCESS_PATH: /etc/elastiflow/settings/snmp_access.yml
EF_PROCESSOR_ENRICH_NETIF_SNMP_ACCESS_REFRESH_RATE: 15
/etc/elastiflow/settings/snmp_access.yml contains:
10.0.0.1:
enabled: true
port: 161
retries: 2
timeout: 5
version: 3
v3_credential:
username: 'mysnmpusername'
authentication_protocol: 'sha'
authentication_passphrase: 'secret_passphrase'
privacy_protocol: 'aes'
privacy_passphrase: 'privacy_passphrase'
If I configure the section below then SNMP queries work but I have multiple devices with different SNMPv3 credentials which is one of the reasons I want to use the “ACCESS” method.
This works but only for hosts which share SNMP settings:
EF_PROCESSOR_ENRICH_NETIF_SNMP_COMMUNITIES: snmpusername
EF_PROCESSOR_ENRICH_NETIF_SNMP_ENABLE: "true"
EF_PROCESSOR_ENRICH_NETIF_SNMP_PORT: 161
EF_PROCESSOR_ENRICH_NETIF_SNMP_RETRIES: 2
EF_PROCESSOR_ENRICH_NETIF_SNMP_TIMEOUT: 5
EF_PROCESSOR_ENRICH_NETIF_SNMP_V3_AUTHENTICATION_PASSPHRASE: "secret_authphrase"
EF_PROCESSOR_ENRICH_NETIF_SNMP_V3_AUTHENTICATION_PROTOCOL: SHA
EF_PROCESSOR_ENRICH_NETIF_SNMP_V3_PRIVACY_PASSPHRASE: "secret_passphrase"
EF_PROCESSOR_ENRICH_NETIF_SNMP_V3_PRIVACY_PROTOCOL: AES
EF_PROCESSOR_ENRICH_NETIF_SNMP_V3_USERNAME: "snmpusername"
EF_PROCESSOR_ENRICH_NETIF_SNMP_VERSION: 3
Post was edited to fix code formatting.