systemd_mon_mod 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +125 -0
- data/Rakefile +2 -0
- data/bin/systemd_mon +4 -0
- data/lib/systemd_mon/callback_manager.rb +39 -0
- data/lib/systemd_mon/cli.rb +86 -0
- data/lib/systemd_mon/dbus_manager.rb +35 -0
- data/lib/systemd_mon/dbus_unit.rb +70 -0
- data/lib/systemd_mon/error.rb +19 -0
- data/lib/systemd_mon/formatters/base.rb +18 -0
- data/lib/systemd_mon/formatters/state_table_formatter.rb +32 -0
- data/lib/systemd_mon/logger.rb +33 -0
- data/lib/systemd_mon/monitor.rb +98 -0
- data/lib/systemd_mon/notification.rb +34 -0
- data/lib/systemd_mon/notification_centre.rb +77 -0
- data/lib/systemd_mon/notifier_loader.rb +21 -0
- data/lib/systemd_mon/notifiers/base.rb +39 -0
- data/lib/systemd_mon/notifiers/email.rb +65 -0
- data/lib/systemd_mon/notifiers/hipchat.rb +62 -0
- data/lib/systemd_mon/notifiers/slack.rb +99 -0
- data/lib/systemd_mon/state.rb +59 -0
- data/lib/systemd_mon/state_change.rb +119 -0
- data/lib/systemd_mon/state_value.rb +48 -0
- data/lib/systemd_mon/unit_with_state.rb +33 -0
- data/lib/systemd_mon/version.rb +3 -0
- data/lib/systemd_mon.rb +5 -0
- data/systemd_mon.gemspec +24 -0
- metadata +120 -0
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: systemd_mon_mod
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jon Cairns
|
8
|
+
- Dmitriy Maksakov
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2020-01-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: ruby-dbus
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.11.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.11.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.6'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.6'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
description: Monitor systemd units and trigger alerts for failed states (Mod for mattermost
|
57
|
+
@channel mentioning)
|
58
|
+
email:
|
59
|
+
- jon@joncairns.com
|
60
|
+
- mksvdmtr@yandex.ru
|
61
|
+
executables:
|
62
|
+
- systemd_mon
|
63
|
+
extensions: []
|
64
|
+
extra_rdoc_files: []
|
65
|
+
files:
|
66
|
+
- ".gitignore"
|
67
|
+
- Gemfile
|
68
|
+
- LICENSE.txt
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
71
|
+
- bin/systemd_mon
|
72
|
+
- lib/systemd_mon.rb
|
73
|
+
- lib/systemd_mon/callback_manager.rb
|
74
|
+
- lib/systemd_mon/cli.rb
|
75
|
+
- lib/systemd_mon/dbus_manager.rb
|
76
|
+
- lib/systemd_mon/dbus_unit.rb
|
77
|
+
- lib/systemd_mon/error.rb
|
78
|
+
- lib/systemd_mon/formatters/base.rb
|
79
|
+
- lib/systemd_mon/formatters/state_table_formatter.rb
|
80
|
+
- lib/systemd_mon/logger.rb
|
81
|
+
- lib/systemd_mon/monitor.rb
|
82
|
+
- lib/systemd_mon/notification.rb
|
83
|
+
- lib/systemd_mon/notification_centre.rb
|
84
|
+
- lib/systemd_mon/notifier_loader.rb
|
85
|
+
- lib/systemd_mon/notifiers/base.rb
|
86
|
+
- lib/systemd_mon/notifiers/email.rb
|
87
|
+
- lib/systemd_mon/notifiers/hipchat.rb
|
88
|
+
- lib/systemd_mon/notifiers/slack.rb
|
89
|
+
- lib/systemd_mon/state.rb
|
90
|
+
- lib/systemd_mon/state_change.rb
|
91
|
+
- lib/systemd_mon/state_value.rb
|
92
|
+
- lib/systemd_mon/unit_with_state.rb
|
93
|
+
- lib/systemd_mon/version.rb
|
94
|
+
- systemd_mon.gemspec
|
95
|
+
homepage: https://github.com/mksvdmtr/systemd_mon_mod
|
96
|
+
licenses:
|
97
|
+
- MIT
|
98
|
+
metadata: {}
|
99
|
+
post_install_message:
|
100
|
+
rdoc_options: []
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
requirements: []
|
114
|
+
rubyforge_project:
|
115
|
+
rubygems_version: 2.7.6.2
|
116
|
+
signing_key:
|
117
|
+
specification_version: 4
|
118
|
+
summary: Monitor systemd units and trigger alerts for failed states (Mod for mattermost
|
119
|
+
@channel mentioning)
|
120
|
+
test_files: []
|