mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Line protocol wants field keys
This commit is contained in:
parent
63cdc060c7
commit
627d268d0b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user