Skip to content

Instantly share code, notes, and snippets.

@mdpuma
Created September 2, 2023 15:00
Show Gist options
  • Save mdpuma/f8ba481f62e881c499a18ac805ad2195 to your computer and use it in GitHub Desktop.
Save mdpuma/f8ba481f62e881c499a18ac805ad2195 to your computer and use it in GitHub Desktop.
fastnetmon graphite exporter victoriametrics
# Graphite monitoring
graphite = on
# Please use only IP because domain names are not allowed here
graphite_host = xxx.xxx.xxx.xxx
graphite_port = 9109
# Default namespace for Graphite data
graphite_prefix = fastnetmon
# How often we export metrics to Graphite
graphite_push_period = 30
mappings:
- match: fastnetmon.hosts.*.*.*
name: "fastnetmon_hosts"
labels:
cidr: "$1"
direction: "$2"
resource: "$3"
- match: fastnetmon.networks.*.*.*
name: "fastnetmon_networks"
labels:
cidr: "$1"
direction: "$2"
resource: "$3"
- match: fastnetmon.total.*.*
name: "fastnetmon_total"
labels:
direction: "$1"
resource: "$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment