DD2-monitor/influxdb/create.sh

13 lines
189 B
Bash
Raw Normal View History

2019-01-04 04:23:34 +11: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