Simple Grafana Dashboard #3
PMaynard
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a simple setup testing out softflowd exporting netflow data to nfcapd, which in turn makes prometheus metric available. Docker is used to spin up prometheus and grafana. The defaults should work ping me if not and we can figure it out.
You can skip the softflowd step and use nfcapd to capture netflow data if you wish.
Note: This was run on Fedora using podman. Some of the docker commands may be specific to podman and Fedora setup.
Netflow Exporter
sudo bin/softflowd -v 9 -n 127.0.0.1:9995 -i enp4s0 -dNetflow Collector
nfcapd -v -w data/ -m /tmp/nfsen.sockPrometheus Metrics Exporter
go build && ./nfsen_exporterPrometheus Instance
docker run --replace --name prometheus -d -p 9990:9090 -v ./config/prometheus.yml:/etc/prometheus/prometheus.yml:z prom/prometheusconfig/prometheus.yml
Grafana Instance
docker run -d -p 3000:3000 --name=grafana grafana/grafana-enterpriseGrafana dashboard JSON NFExporter-1741424918416.json
Beta Was this translation helpful? Give feedback.
All reactions