added TAGS=dc=ffzg
[atop-influxdb] / import-files.sh
1 #!/bin/sh -x
2 while [ ! -z "$1" ] ; do
3         echo "# $1";
4         atopsar -A -r $1 | ./atop2influx.pl | curl -i -X POST http://localhost:8086/write?db=atop --data-binary '@-'
5         shift;
6 done