barkdog 0.1.5 → 0.1.6
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 +2 -0
- data/lib/barkdog/version.rb +1 -1
- data/spec/barkdog_create_spec.rb +4 -0
- data/spec/barkdog_delete_spec.rb +2 -0
- data/spec/barkdog_update_spec.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfa5f2944ec07c9742761446b173007426723e99
|
|
4
|
+
data.tar.gz: c50e3e2c6c3e3427b83576816d61343a9025b701
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b6ecff7b58979fe7beb2bf767c300cf6871a0484a9bdce64386f881b41af52e5729d5d1840b04831ad41390b63b38f9b8d3cf7ceb1405c268bad0192c37291a
|
|
7
|
+
data.tar.gz: f2cb62ab38082b9a44d93654bc184386808a68afc2064c4aa57550db105ad74146ea8b69ce355a3a639fa5402a608033499d3fbc688d93bbee3dccb05244e58c
|
data/README.md
CHANGED
|
@@ -66,6 +66,7 @@ monitor "Check load avg", :type=>"metric alert" do
|
|
|
66
66
|
message "@winebarrel@example.net"
|
|
67
67
|
options do
|
|
68
68
|
locked false
|
|
69
|
+
new_host_delay 300
|
|
69
70
|
notify_no_data true
|
|
70
71
|
no_data_timeframe 2
|
|
71
72
|
notify_audit true
|
|
@@ -82,6 +83,7 @@ template "cpu template" do
|
|
|
82
83
|
message context.message
|
|
83
84
|
options do
|
|
84
85
|
locked false
|
|
86
|
+
new_host_delay 300
|
|
85
87
|
notify_no_data true
|
|
86
88
|
no_data_timeframe 2
|
|
87
89
|
notify_audit true
|
data/lib/barkdog/version.rb
CHANGED
data/spec/barkdog_create_spec.rb
CHANGED
|
@@ -9,6 +9,7 @@ describe Barkdog::Client do
|
|
|
9
9
|
message "metric check message"
|
|
10
10
|
options do
|
|
11
11
|
locked false
|
|
12
|
+
new_host_delay 300
|
|
12
13
|
no_data_timeframe 2
|
|
13
14
|
notify_audit false
|
|
14
15
|
notify_no_data false
|
|
@@ -21,6 +22,7 @@ describe Barkdog::Client do
|
|
|
21
22
|
message "service check message"
|
|
22
23
|
options do
|
|
23
24
|
locked false
|
|
25
|
+
new_host_delay 300
|
|
24
26
|
no_data_timeframe 2
|
|
25
27
|
notify_audit false
|
|
26
28
|
notify_no_data true
|
|
@@ -50,6 +52,7 @@ describe Barkdog::Client do
|
|
|
50
52
|
message "metric check message"
|
|
51
53
|
options do
|
|
52
54
|
locked false
|
|
55
|
+
new_host_delay 300
|
|
53
56
|
no_data_timeframe context.no_data_timeframe
|
|
54
57
|
notify_audit false
|
|
55
58
|
notify_no_data false
|
|
@@ -59,6 +62,7 @@ describe Barkdog::Client do
|
|
|
59
62
|
|
|
60
63
|
template "my service check options" do
|
|
61
64
|
locked false
|
|
65
|
+
new_host_delay 300
|
|
62
66
|
no_data_timeframe 2
|
|
63
67
|
notify_audit false
|
|
64
68
|
notify_no_data true
|
data/spec/barkdog_delete_spec.rb
CHANGED
|
@@ -9,6 +9,7 @@ describe Barkdog::Client do
|
|
|
9
9
|
message "metric check message"
|
|
10
10
|
options do
|
|
11
11
|
locked false
|
|
12
|
+
new_host_delay 300
|
|
12
13
|
no_data_timeframe 2
|
|
13
14
|
notify_audit false
|
|
14
15
|
notify_no_data false
|
|
@@ -21,6 +22,7 @@ describe Barkdog::Client do
|
|
|
21
22
|
message "service check message"
|
|
22
23
|
options do
|
|
23
24
|
locked false
|
|
25
|
+
new_host_delay 300
|
|
24
26
|
no_data_timeframe 2
|
|
25
27
|
notify_audit false
|
|
26
28
|
notify_no_data true
|
data/spec/barkdog_update_spec.rb
CHANGED
|
@@ -9,6 +9,7 @@ describe Barkdog::Client do
|
|
|
9
9
|
message "metric check message"
|
|
10
10
|
options do
|
|
11
11
|
locked false
|
|
12
|
+
new_host_delay 300
|
|
12
13
|
no_data_timeframe 2
|
|
13
14
|
notify_audit false
|
|
14
15
|
notify_no_data false
|
|
@@ -21,6 +22,7 @@ describe Barkdog::Client do
|
|
|
21
22
|
message "service check message"
|
|
22
23
|
options do
|
|
23
24
|
locked false
|
|
25
|
+
new_host_delay 300
|
|
24
26
|
no_data_timeframe 2
|
|
25
27
|
notify_audit false
|
|
26
28
|
notify_no_data true
|
|
@@ -41,6 +43,7 @@ describe Barkdog::Client do
|
|
|
41
43
|
message "metric check message2"
|
|
42
44
|
options do
|
|
43
45
|
locked false
|
|
46
|
+
new_host_delay 300
|
|
44
47
|
no_data_timeframe 3
|
|
45
48
|
notify_audit true
|
|
46
49
|
notify_no_data true
|
|
@@ -53,6 +56,7 @@ describe Barkdog::Client do
|
|
|
53
56
|
message "service check message2"
|
|
54
57
|
options do
|
|
55
58
|
locked false
|
|
59
|
+
new_host_delay 300
|
|
56
60
|
no_data_timeframe 3
|
|
57
61
|
notify_audit true
|
|
58
62
|
notify_no_data true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: barkdog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Genki Sugawara
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-09-
|
|
11
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dogapi
|
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
177
177
|
version: '0'
|
|
178
178
|
requirements: []
|
|
179
179
|
rubyforge_project:
|
|
180
|
-
rubygems_version: 2.
|
|
180
|
+
rubygems_version: 2.5.1
|
|
181
181
|
signing_key:
|
|
182
182
|
specification_version: 4
|
|
183
183
|
summary: Barkdog is a tool to manage Datadog monitors.
|