Skip to content

Instantly share code, notes, and snippets.

@jdcasey
Created August 16, 2019 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdcasey/276eaa641c11ae866ce7f763da161a67 to your computer and use it in GitHub Desktop.
Save jdcasey/276eaa641c11ae866ce7f763da161a67 to your computer and use it in GitHub Desktop.
netmeter configuration
---
prefix: {{ node_prefix }}
delay: {{ metric_delay }}
{% if direct_carbon_metrics %}
send: carbon
carbon:
host: {{ graph_server }}
port: 2023
{% else %}
send: mqtt
mqtt:
host: {{ mqtt_host }}
port: {{ mqtt_port }}
username: {{ mqtt_user }}
password: {{ mqtt_password }}
topic: {{ mqtt_topic }}
{% endif %}
fping:
count: 20
targets:
{% for tgt in ping_targets: %}
- {{ tgt }}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment