Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1010 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 1010 Bytes

juniper-ex-telegraf-docker

This is a convenience container image to poll Juniper EX switches over SNMPv2 from telegraf.

Configuration

The telegraf configuration for the image pulls from environment variables.

telegraf.conf name envvar default value
global_tags > dc TELEGRAF_DC
global_tags > rack TELEGRAF_RACK
global_tags > user TELEGRAF_USER
agent > interval TELEGRAF_INTERVAL 10s
agent > round_interval TELEGRAF_ROUND_INTERVAL false
agent > collection_jitter TELEGRAF_COLLECTION_JITTER 0s
agent > flush_interval TELEGRAF_FLUSH_INTERVAL 30s
agent > flush_jitter TELEGRAF_FLUSH_JITTER 0s
outputs.influxdb > database INFLUX_DB telegraf
outputs.influxdb > retention_policy INFLUX_RP
outputs.influxdb > urls INFLUX_ADDRESS http://127.0.0.1:8086
inputs.snmp > agents SNMP_TARGET
inputs.snmp > community SNMP_COMMUNITY public