Skip to content
Snippets Groups Projects
Commit 5cfb2500 authored by Kerri Wait's avatar Kerri Wait
Browse files

Add inputs.exec block to call softnet_stat awk script via telegraf exec

parent 4a35796a
No related branches found
No related tags found
2 merge requests!505Fix syntax error in telegraf config for softnet_stats,!338Update telegraf config to parse /proc/net/softnet_stat details
This commit is part of merge request !338. Comments created here will be created in the context of that merge request.
......@@ -134,6 +134,14 @@
timeout="4s"
interval="300s"
[[inputs.exec]]
commands = [
"awk -v hostname="$(hostname)" -f /opt/telegraf/bin/telegraf_softnet_stats.awk /proc/net/softnet_stat"
]
data_format = "influx"
timeout="4s"
interval="60s"
# Both Slurm ManagementNodes will log sdiag stats, but no Compute or Login nodes will
{% if 'ManagementNodes' in group_names %}
[[inputs.exec]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment