- What Grafana version and what operating system are you using?
Hi,
I’m using a Grafana cloud instance, I’ve grabbed the SNMP_Exporter , configured where I’m pointing and it grabs SNMP data
I’m trying to collect this data and send it through the Grafana agent to my instance and so made the change to my agent-config.yaml
server:
log_level: warn
metrics:
wal_directory: C:\ProgramData\grafana-agent-wal
global:
scrape_interval: 1m
remote_write:
- url: https://url
basic_auth:
username: usernane
password: password
configs:
- name: integrations
scrape_configs:- job_name: snmp
static_configs:- targets: [‘10.1.1.3’]
metrics_path: /snmp
params:
module: [if mib]
target_label: __param_target
- targets: [‘10.1.1.3’]
- source_labels: [__param_target]
target_label: instance - target_label: address
replacement: 127.0.0.1:9116 # The SNMP exporter’s real hostname:port.
- job_name: snmp
integrations:
windows_exporter:
enabled: false
Since added the additional lines my Grafana agent wont start, I don’t see any logs being generated.