sensu-plugins-lxc 1.0.0 → 1.0.1
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 +8 -8
- data/CHANGELOG.md +5 -0
- data/bin/check-lxc-memstat.rb +1 -1
- data/bin/check-lxc-status.rb +1 -1
- data/lib/sensu-plugins-lxc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZWFlN2Q4NGRlOTI2MTBlMjE4MzdiNzRiZjAyNzc4NWVkMjFhNzRjMg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YjU1NDk0OWE2NDkyYmU0ZDE2ZGM4ZWU5YjIwOGZjNTdmMDdiODcxMg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MjgxZTY1ZDgxZGI1ZjQ3YjY1ZTlkN2U5NTBmMWQ5NGVkODY0ZDliMjQ4NzY4
|
|
10
|
+
Yjg5NjEzMmRmYTM5ZTI3NTA1YmRlY2Y4MDQ5NWQzZmZjOWZiMDI2ZWQwYThl
|
|
11
|
+
YTJiNTVkOGI4OGU0MzFmYTZmNjhlN2FhODUzMzU2ODE0MTEwYzE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MzkxZGI2NDRiNGQzOTY1NjlhNGZhZmJiNDcwMzNkMTFjNTgxODQyOGYxYzNi
|
|
14
|
+
YTQzYWVlMTg3OTAzNjQ4Yjk5NjA3NDkyZmU1MWJiMWZmN2Q3N2QyZTg5N2Qx
|
|
15
|
+
ZjQxYzkyOWY3MDc4ZTcxY2JkZjQ4OTIyZjE2YzJmYzQ0MGY3ZDI=
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2016-06-15
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Actually fixed method missing error by using `LXC::Container` object
|
|
12
|
+
|
|
8
13
|
## [1.0.0] - 2016-05-23
|
|
9
14
|
### Removed
|
|
10
15
|
- Ruby 1.9.3 support
|
data/bin/check-lxc-memstat.rb
CHANGED
|
@@ -49,7 +49,7 @@ class CheckLXCMemstat < Sensu::Plugin::Check::CLI
|
|
|
49
49
|
|
|
50
50
|
def run
|
|
51
51
|
lxc = LXC.new
|
|
52
|
-
conn = LXC.
|
|
52
|
+
conn = LXC::Container.new(lxc: lxc, name: config[:name].to_s)
|
|
53
53
|
if conn.exists?
|
|
54
54
|
if conn.running?
|
|
55
55
|
used = conn.memory_usage
|
data/bin/check-lxc-status.rb
CHANGED
|
@@ -39,7 +39,7 @@ class CheckLXCSTATUS < Sensu::Plugin::Check::CLI
|
|
|
39
39
|
|
|
40
40
|
def run
|
|
41
41
|
lxc = LXC.new
|
|
42
|
-
conn = LXC.
|
|
42
|
+
conn = LXC::Container.new(lxc: lxc, name: config[:name].to_s)
|
|
43
43
|
if conn.exists?
|
|
44
44
|
if conn.stopped?
|
|
45
45
|
critical "container #{config[:name]} is Stopped"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-lxc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|