deadman_check 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/bin/deadman-check +2 -2
- data/lib/deadman_check/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a661c7d591f4c003c5e6b043495762145d81de8
|
|
4
|
+
data.tar.gz: 2d674e9a4c583a73cd4429b26b10c4da63ac371a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70642a6c928dd6b65fc653062135937ea9850b9742d996a4ef8a713c6ecc86fd63009e563314d88ab226f6f6509748f48a38beedab7adbe80c43d1a3ade26fcc
|
|
7
|
+
data.tar.gz: 7e571ea87707d4021dfa3a234dea38f307221936d14d8797854dc7c0a42ca7900d0e910e418c747a60806c4a16376ffe80b8053b8cceb4c2af1570f6c459518b
|
data/README.md
CHANGED
|
@@ -77,7 +77,7 @@ job "SilverBulletPeriodic" {
|
|
|
77
77
|
"--host",
|
|
78
78
|
"10.0.0.1",
|
|
79
79
|
"--port",
|
|
80
|
-
"
|
|
80
|
+
"8500",
|
|
81
81
|
"--key",
|
|
82
82
|
"deadman/SilverBulletPeriodicProcess"]
|
|
83
83
|
}
|
|
@@ -110,7 +110,7 @@ job "DeadmanMonitoring" {
|
|
|
110
110
|
"--host",
|
|
111
111
|
"10.0.0.1",
|
|
112
112
|
"--port",
|
|
113
|
-
"
|
|
113
|
+
"8500",
|
|
114
114
|
"--key",
|
|
115
115
|
"deadman/SilverBulletPeriodicProcess",
|
|
116
116
|
"--freshness",
|
|
@@ -212,7 +212,7 @@ $ deadman-check key_set -h
|
|
|
212
212
|
EXAMPLES:
|
|
213
213
|
|
|
214
214
|
# Update a Redis key deadman/myservice, with current EPOCH time
|
|
215
|
-
deadman-check key_set --host 127.0.0.1 --port
|
|
215
|
+
deadman-check key_set --host 127.0.0.1 --port 8500 --key deadman/myservice
|
|
216
216
|
|
|
217
217
|
OPTIONS:
|
|
218
218
|
|
|
@@ -249,7 +249,7 @@ $ deadman-check switch_monitor -h
|
|
|
249
249
|
value to check looking to alert on 500 second or greater freshness
|
|
250
250
|
deadman-check switch_monitor \
|
|
251
251
|
--host 127.0.0.1 \
|
|
252
|
-
--port
|
|
252
|
+
--port 8500 \
|
|
253
253
|
--key deadman/myservice \
|
|
254
254
|
--freshness 500 \
|
|
255
255
|
--alert-to slackroom
|
data/bin/deadman-check
CHANGED
|
@@ -14,7 +14,7 @@ command :switch_monitor do |c|
|
|
|
14
14
|
c.summary = 'Target a Consul key to monitor'
|
|
15
15
|
c.description = ''
|
|
16
16
|
c.example %q{Target a Consul key deadman/myservice, and this key has an EPOCH value to check looking to alert on 500 second or greater freshness},
|
|
17
|
-
%q{deadman-check switch_monitor --host 127.0.0.1 --port
|
|
17
|
+
%q{deadman-check switch_monitor --host 127.0.0.1 --port 8500 --key deadman/myservice --freshness 500 --alert-to ops@mycomany.tld --alert-from ops-no-reply-email@mycomany.tld}
|
|
18
18
|
c.option '--host HOST', String, 'IP address or hostname of Consul system'
|
|
19
19
|
c.option '--port PORT', String, 'port Consul is listening on'
|
|
20
20
|
c.option '--key KEY', String, 'Consul key to monitor'
|
|
@@ -40,7 +40,7 @@ command :key_set do |c|
|
|
|
40
40
|
c.summary = 'Update a given Consul key with current EPOCH'
|
|
41
41
|
c.description = ''
|
|
42
42
|
c.example %q{Update a Consul key deadman/myservice, with current EPOCH time},
|
|
43
|
-
%q{deadman-check key_set --host 127.0.0.1 --port
|
|
43
|
+
%q{deadman-check key_set --host 127.0.0.1 --port 8500 --key deadman/myservice}
|
|
44
44
|
c.option '--host HOST', String, 'IP address or hostname of Consul system'
|
|
45
45
|
c.option '--port PORT', String, 'port Consul is listening on'
|
|
46
46
|
c.option '--key KEY', String, 'Consul key to report EPOCH time to'
|