mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-27 07:06:08 +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)
|
HOST=$(hostname -s)
|
||||||
|
|
||||||
|
|
||||||
echo "mem_total,host=$HOST $TOTAL"
|
echo "mem_total,host=$HOST value=$TOTAL"
|
||||||
echo "mem_avail,host=$HOST $AVAIL"
|
echo "mem_avail,host=$HOST value=$AVAIL"
|
||||||
echo "mem_free,host=$HOST $FREE"
|
echo "mem_free,host=$HOST value=$FREE"
|
||||||
|
Reference in New Issue
Block a user