cloudstack-nagios 0.14.0 → 0.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1b9fb35c6281bdd605b97909176bbb7b843522f
4
- data.tar.gz: 40c58513ae8ace402630751bf7d0273bd9f8a8a7
3
+ metadata.gz: e60f71a3b197496f85fef00bca4e535cfb7105b3
4
+ data.tar.gz: 4c8d19332857d31098208a4ceade29516cc38f52
5
5
  SHA512:
6
- metadata.gz: e470e259d36b8874cf52129dea7c149730c1675b53da52b7243a997aee5274de897d38d9fe7a48175c4b20ec69ba9f5fdc6b36a5d7fa6533f987657b61e7fdd0
7
- data.tar.gz: deaaac2c91ed5b45a727dbc88edff81c94d715924a220e618ab39cdfbb9e14e6520614ba21c78862a197deba170aec973e2dad02dca44694df38687629d6db43
6
+ metadata.gz: a60b073f8e4494b492e0ed8e8cb71d5b212cea49631bc4def23424768f7eb55336bb8065288b08c50db1154c104e4eee7c5595308dbef2fc3382a3e20cb7e245
7
+ data.tar.gz: 5b0e5efdf0eb610b8f51e76f9e337f792abf464ca5af3adf5533b4dc09052de250ffa524fe29438cd62a1ca82a6a40f883b8d2fd44019c9b90f2bf942deb837f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudstack-nagios (0.13.0)
4
+ cloudstack-nagios (0.14.0)
5
5
  cloudstack_client (~> 0.5, >= 0.5.0)
6
6
  erubis (~> 2.7.0)
7
7
  highline (~> 1.6.20)
@@ -28,7 +28,7 @@ GEM
28
28
  term-ansicolor (1.3.0)
29
29
  tins (~> 1.0)
30
30
  thor (0.19.1)
31
- tins (1.3.1)
31
+ tins (1.3.2)
32
32
 
33
33
  PLATFORMS
34
34
  ruby
@@ -2,11 +2,11 @@ require "thor"
2
2
  require "yaml"
3
3
  require 'cloudstack_client'
4
4
 
5
- module CloudstackNagios
5
+ module CloudstackNagios
6
6
  class Base < Thor
7
7
  include Thor::Actions
8
8
  include CloudstackNagios::Helper
9
-
9
+
10
10
  attr_reader :config
11
11
 
12
12
  # catch control-c and exit
@@ -20,7 +20,7 @@ module CloudstackNagios
20
20
  true
21
21
  end
22
22
 
23
- no_commands do
23
+ no_commands do
24
24
  def client(opts = {})
25
25
  @config ||= load_configuration
26
26
  @client ||= CloudstackClient::Connection.new(
@@ -175,6 +175,8 @@ class Router < CloudstackNagios::Base
175
175
  say "Error: --host/-H option is required for this check.", :red
176
176
  exit 1
177
177
  end
178
+ # suppress sshkit output to stdout
179
+ SSHKit.config.output_verbosity = Logger::FATAL
178
180
  host = SSHKit::Host.new("root@#{options[:host]}")
179
181
  host.ssh_options = sshoptions(options[:ssh_key])
180
182
  host.port = options[:ssh_port]
@@ -1,3 +1,3 @@
1
1
  module CloudstackNagios
2
- VERSION = "0.14.0"
2
+ VERSION = "0.14.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack-nagios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nik Wolfgramm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc