Hey all have some questions regarding Grafana Agents and SNMP Data Collection
We are currently using telegraf/influxdb but are trying to move entirely into Grafana Agents sending data to our Mimir instance.
I was reading the example grafana agent config below which looks like its for SNMPv2 with public community string?However we use SNMPv3 for some of our equipment and SNMPv2 for other equipment with a non standard string.
How would i go about configuring this for SNMPv3 devices and different community strings?I feel like its rather simple and im just not seeing it(i probably am juggling too much at once)
snmp:
enabled: true
relabel_configs:
- action: replace
source_labels: [job]
regex: (^.*snmp)\/(.*)
target_label: job_snmp
replacement: $1
- action: replace
source_labels: [job]
regex: (^.*snmp)\/(.*)
target_label: snmp_target
replacement: $2
snmp_targets:
- name: network_switch_1
address: '<host_address_1>'
module: if_mib
auth: public_v2
- name: network_switch_2
address: '<host_address_2>'
module: if_mib
auth: public_v2