sys_watchdog 0.0.8 → 0.0.9
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 +14 -5
- data/gempush +5 -0
- data/images/dev_on_the_beach.jpg +0 -0
- data/{screenshots → images}/register-bot.png +0 -0
- data/sys_watchdog.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e98dbad7671e23b523f05dd054be288ec56a3600
|
|
4
|
+
data.tar.gz: 179c4632e3e33b7e4988340dbd9c7c520f7ca406
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a31cfdae43780417ce254046bec2ca391b4413c958a0faa604a908bc865640d8718812a6d282a76aa2d4d2a63c561be5620054df8e6d3503c1b709dd2cd62be
|
|
7
|
+
data.tar.gz: e5f6067acbc62ddfd571e774f025b0e49b32e2c3d6273c561720e726ba3aa7ab2c5d5e75a3b942dd8c04cf607014fa817ad9800da19529b0e554e84c78163ff4
|
data/README.md
CHANGED
|
@@ -6,12 +6,19 @@ Sys Watchdog
|
|
|
6
6
|
|
|
7
7
|
By [Bettercall.io](https://bettercall.io/).
|
|
8
8
|
|
|
9
|
-
SysWatchdog keeps your *NIX servers green by performing periodic checks and optionally actions like service restarts and notifications.
|
|
9
|
+
SysWatchdog keeps your *NIX servers green by performing periodic checks and optionally actions like service restarts and notifications.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Take 20min to install and start to think what you\`ll make with your spare time from now on.
|
|
12
|
+
[Malta Island](https://www.google.com/search?q=malta&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi365vm8cjUAhWFuxQKHUNmDnkQ_AUICygC&biw=1440&bih=799)?
|
|
13
|
+
[Rio de Janeiro](https://www.google.com/search?q=rio+de+janeiro&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi10v2Z8sjUAhXCcRQKHYvFBpMQ_AUIDCgD&biw=1440&bih=799)?
|
|
14
|
+
It\`s up to you ;)
|
|
15
|
+
|
|
16
|
+

|
|
12
17
|
|
|
13
18
|
## Install
|
|
14
19
|
|
|
20
|
+
**Perform this and following steps logged as root user.**
|
|
21
|
+
|
|
15
22
|
```
|
|
16
23
|
gem install sys_watchdog
|
|
17
24
|
```
|
|
@@ -36,7 +43,7 @@ Edit ```/etc/sys_watchdog.yml```. You can see example configurations in [util/sy
|
|
|
36
43
|
|
|
37
44
|
## Test run
|
|
38
45
|
|
|
39
|
-
Run from command line:
|
|
46
|
+
Run from command line:
|
|
40
47
|
|
|
41
48
|
```
|
|
42
49
|
sys_watchdog test
|
|
@@ -49,9 +56,11 @@ It will execute all system tests defined in ```/etc/sys_watchdog.yml``` and exit
|
|
|
49
56
|
Finally, start the periodic run...
|
|
50
57
|
|
|
51
58
|
for systemd:
|
|
59
|
+
|
|
52
60
|
```systemctl start sys_watchdog```
|
|
53
61
|
|
|
54
62
|
or, if installed with cron, uncomment the cron job line:
|
|
63
|
+
|
|
55
64
|
```vim /etc/crontab```
|
|
56
65
|
|
|
57
66
|
|
|
@@ -87,10 +96,10 @@ From https://github.com/slack-ruby/slack-ruby-client ...
|
|
|
87
96
|
|
|
88
97
|
This is something done in Slack, under [integrations](https://my.slack.com/services). Create a [new bot](https://my.slack.com/services/new/bot), and note its API token.
|
|
89
98
|
|
|
90
|
-

|
|
91
100
|
|
|
92
101
|
## Copyright and License
|
|
93
102
|
|
|
94
|
-
Copyright (c) 2017
|
|
103
|
+
Copyright (c) 2017, [Bettercall.io](https://bettercall.io).
|
|
95
104
|
|
|
96
105
|
This project is licensed under the MIT License.
|
data/gempush
ADDED
|
Binary file
|
|
File without changes
|
data/sys_watchdog.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sys_watchdog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Lobato
|
|
@@ -53,6 +53,9 @@ files:
|
|
|
53
53
|
- Rakefile
|
|
54
54
|
- _config.yml
|
|
55
55
|
- bin/sys_watchdog
|
|
56
|
+
- gempush
|
|
57
|
+
- images/dev_on_the_beach.jpg
|
|
58
|
+
- images/register-bot.png
|
|
56
59
|
- lib/sys_watchdog.rb
|
|
57
60
|
- lib/sys_watchdog/core_extensions.rb
|
|
58
61
|
- lib/sys_watchdog/main.rb
|
|
@@ -60,7 +63,6 @@ files:
|
|
|
60
63
|
- lib/sys_watchdog/setup.rb
|
|
61
64
|
- lib/sys_watchdog/wd_logger.rb
|
|
62
65
|
- lib/sys_watchdog/wd_test.rb
|
|
63
|
-
- screenshots/register-bot.png
|
|
64
66
|
- sys_watchdog.gemspec
|
|
65
67
|
- test/sys_watchdog_test.yml
|
|
66
68
|
- test/test_sys_watchdog.rb
|