mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-19 11:21:41 +02:00
Line protocol wants field keys
This commit is contained in:
@@ -7,6 +7,6 @@ FREE=$(grep "MemFree" /proc/meminfo | awk '{print $2}')
|
||||
HOST=$(hostname -s)
|
||||
|
||||
|
||||
echo "mem_total,host=$HOST $TOTAL"
|
||||
echo "mem_avail,host=$HOST $AVAIL"
|
||||
echo "mem_free,host=$HOST $FREE"
|
||||
echo "mem_total,host=$HOST value=$TOTAL"
|
||||
echo "mem_avail,host=$HOST value=$AVAIL"
|
||||
echo "mem_free,host=$HOST value=$FREE"
|
||||
|
Reference in New Issue
Block a user