sys_watchdog 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2a6761c866a5f2d13f6cba9ba5ac714f32f5f63
4
- data.tar.gz: d751f940ada152c7595fe7c7c24c5f93c80820a1
3
+ metadata.gz: e98dbad7671e23b523f05dd054be288ec56a3600
4
+ data.tar.gz: 179c4632e3e33b7e4988340dbd9c7c520f7ca406
5
5
  SHA512:
6
- metadata.gz: 9eb94aade81f5911ff73509c827dc531e01fbbf3abfd6d68fe394715691bf0d5af0f4b11f7d61c99d97d8f4ec680448254c69d8c720472b6e57cbee640d69d4d
7
- data.tar.gz: 131fc708631a9b1ddb8e75044b8bcb7634d7c9f621f7e08529825f2b6f200bcc7ac064d054b04dd8d91d247ad982974a06f2309b0d2e7496efc4aeba89cf9083
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
- *Perform all following steps logged as root user*
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
+ ![](images/dev_on_the_beach.jpg)
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
- ![](screenshots/register-bot.png)
99
+ ![](images/register-bot.png)
91
100
 
92
101
  ## Copyright and License
93
102
 
94
- Copyright (c) 2017-2016, [Tom Lobato](https://github.com/tomlobato).
103
+ Copyright (c) 2017, [Bettercall.io](https://bettercall.io).
95
104
 
96
105
  This project is licensed under the MIT License.
data/gempush ADDED
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ rm sys_watchdog-*.gem
4
+ gem build sys_watchdog.gemspec
5
+ gem push sys_watchdog-*.gem
Binary file
File without changes
data/sys_watchdog.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sys_watchdog"
3
- s.version = "0.0.8"
3
+ s.version = "0.0.9"
4
4
  s.authors = ["Tom Lobato"]
5
5
  s.email = "lobato@bettercall.io"
6
6
  s.homepage = "http://sys-watchdog.bettercall.io/"
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.8
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