sys_watchdog 0.0.6 → 0.0.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 +8 -2
- data/lib/sys_watchdog/wd_test.rb +2 -2
- data/sys_watchdog.gemspec +1 -1
- data/util/sys_watchdog_sample.yml +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: 75daa582225a35b126dcfa36c8141ad0042b0cd9
|
4
|
+
data.tar.gz: b4fda308078ed2a0370e22f23a7faafb90bdad4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75464d4eb2de930695b2d3f3360db77b1ae6adcfc42a6214d4c4592bd14392809f20aeabce35c9407ca193e4dd225d1ce2ded457e65363191318df871071cc03
|
7
|
+
data.tar.gz: a75b899a13761cb7ee3772d97756053a02c02aee04839c498f3ec8e34808b4f27875a180c6b85dc84f8a4afe208d0a2ba7dd36e55e9c04d9bca7f8bd80516cc5
|
data/README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
-
|
2
1
|
Sys Watchdog
|
3
2
|
=================
|
4
3
|
|
5
|
-
|
4
|
+
[](https://badge.fury.io/rb/sys_watchdog)
|
5
|
+
[](https://codeclimate.com/github/tomlobato/sys_watchdog)
|
6
|
+
|
7
|
+
By [Bettercall.io](https://bettercall.io/).
|
8
|
+
|
9
|
+
SysWatchdog keeps your *NIX servers green by performing periodic checks and optionally actions like service restarts and notifications.
|
10
|
+
|
11
|
+
*Perform all following steps logged as root user*
|
6
12
|
|
7
13
|
## Install
|
8
14
|
|
data/lib/sys_watchdog/wd_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class WdTest
|
2
2
|
attr_accessor :name,
|
3
|
-
:test_cmd, :test_url, :
|
3
|
+
:test_cmd, :test_url, :notify_on_output_change, :restore_cmd,
|
4
4
|
:expected_regex, :expected_string, :expected_max, :expected_min,
|
5
5
|
:status, :previous_output
|
6
6
|
|
@@ -11,7 +11,7 @@ class WdTest
|
|
11
11
|
|
12
12
|
@test_cmd = params[:test_cmd]
|
13
13
|
@test_url = params[:test_url]
|
14
|
-
@
|
14
|
+
@notify_on_output_change = params[:notify_on_output_change]
|
15
15
|
@restore_cmd = params[:restore_cmd]
|
16
16
|
|
17
17
|
@expected_regex = params[:expected_regex]
|
data/sys_watchdog.gemspec
CHANGED