DD2-monitor/influxdb/create.sh

13 lines
189 B
Bash
Raw Normal View History

2019-01-03 18:23:34 +01:00
#!/bin/bash
#
# create an inflix databasse
#
influx -host localhost -port 8086 << __EOC__
settings
CREATE DATABASE tests
__EOC__
lynx -head -dump http://localhost:8086/ping?verbose=true