This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
influx -database '$DATABASE' -format 'csv' -execute 'SHOW SERIES' | grep -v "name,_id,host" | wc -l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fstab_string='/dev/xvdh /mnt/data ext4 defaults,nofail,nobootwait 0 2' | |
configure() | |
{ | |
echo "Start a service in here, fix permissions or whatever" | |
} | |
# Wait for EBS volume to appear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 15 08:46:11 ip-172-21-71-217 vault[1631]: 2017/08/15 08:46:11.687525 [INFO ] core/startClusterListener: starting listener: listener_address=0.0.0.0:8201 | |
Aug 15 08:46:11 ip-172-21-71-217 vault[1631]: 2017/08/15 08:46:11.687751 [INFO ] core/startClusterListener: serving cluster requests: cluster_listen_address=[::]:8201 | |
Aug 15 08:46:11 ip-172-21-71-217 vault[1631]: 2017/08/15 08:46:11.687948 [INFO ] core/startClusterListener: starting listener: listener_address=0.0.0.0:8901 | |
Aug 15 08:46:11 ip-172-21-71-217 vault[1631]: 2017/08/15 08:46:11.688149 [INFO ] core/startClusterListener: serving cluster requests: cluster_listen_address=[::]:8901 | |
Aug 15 08:46:11 ip-172-21-71-217 vault[1631]: 2017/08/15 08:46:11.688347 [INFO ] core/startClusterListener: starting listener: listener_address=0.0.0.0:9001 | |
Aug 15 08:46:11 ip-172-21-71-217 vault[1631]: 2017/08/15 08:46:11.688546 [INFO ] core/startClusterListener: serving cluster requests: cluster_listen_address=[::]:9001 | |
Aug 15 08:47:51 ip-172-21-71-217 vault[1631]: 2017/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: ==> WARNING: Expect Mode enabled, expecting 5 servers | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: ==> Starting Consul agent... | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: ==> Consul agent running! | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Version: 'v0.9.2' | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Node ID: '94adc968-0390-8776-6dc2-00771c4cfff5' | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Node name: 'ip-172-21-70-171' | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Datacenter: 'eu-west-1' | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Server: true (bootstrap: false) | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600) | |
Aug 11 08:06:20 ip-172-21-70-171 consul[1396]: Cluster Addr: 172.21.70.171 (LAN: 8301, WAN: 8302) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Consul service discovery agent | |
Requires=network-online.target | |
After=network.target | |
[Service] | |
User=consul | |
Group=consul | |
Restart=on-failure | |
Environment=GOMAXPROCS=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Logs begin at Thu 2017-08-10 15:19:48 UTC, end at Thu 2017-08-10 15:26:26 UTC. -- | |
Aug 10 15:19:58 ip-172-21-70-170 systemd[1]: Starting Consul service discovery agent... | |
-- Subject: Unit consul.service has begun start-up | |
-- Defined-By: systemd | |
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel | |
-- | |
-- Unit consul.service has begun starting up. | |
Aug 10 15:19:58 ip-172-21-70-170 systemd[1]: Started Consul service discovery agent. | |
-- Subject: Unit consul.service has finished start-up | |
-- Defined-By: systemd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/bin/consul agent -server -data-dir data -retry-join 'provider=aws tag_key=foo tag_value=bar' -bind 127.0.0.1 | |
==> Starting Consul agent... | |
==> Consul agent running! | |
Version: 'v0.9.1' | |
Node ID: '6c5ffc4d-268a-f96c-dae2-b0bfc39f5e5c' | |
Node name: 'ip-172-21-70-31' | |
Datacenter: 'dc1' | |
Server: true (bootstrap: false) | |
Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600) | |
Cluster Addr: 127.0.0.1 (LAN: 8301, WAN: 8302) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agent: | |
check_monitors = 0 | |
check_ttls = 1 | |
checks = 1 | |
services = 1 | |
build: | |
prerelease = | |
revision = 44704c6 | |
version = 0.9.1 | |
consul: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agent: | |
check_monitors = 0 | |
check_ttls = 0 | |
checks = 0 | |
services = 0 | |
build: | |
prerelease = | |
revision = 44704c6 | |
version = 0.9.1 | |
consul: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time_namelookup: %{time_namelookup}\n | |
time_connect: %{time_connect}\n | |
time_appconnect: %{time_appconnect}\n | |
time_pretransfer: %{time_pretransfer}\n | |
time_redirect: %{time_redirect}\n | |
time_starttransfer: %{time_starttransfer}\n | |
----------\n | |
time_total: %{time_total}\n |