nrpe_check 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nrpe_check/check.rb +1 -1
- data/lib/nrpe_check/extend.rb +2 -1
- metadata +2 -3
data/lib/nrpe_check/check.rb
CHANGED
@@ -18,7 +18,7 @@ module NRPE
|
|
18
18
|
def exit_with_status status, message = nil
|
19
19
|
case status.downcase
|
20
20
|
when :ok, :warning, :critical, :unknown
|
21
|
-
puts "#{status.upcase}: " + message if message
|
21
|
+
STDOUT.puts "#{status.upcase}: " + message if message
|
22
22
|
|
23
23
|
exit! eval ['NRPE', 'Status', status.upcase].join '::'
|
24
24
|
else
|
data/lib/nrpe_check/extend.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nrpe_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email:
|
@@ -47,4 +47,3 @@ signing_key:
|
|
47
47
|
specification_version: 3
|
48
48
|
summary: nrpe check helper
|
49
49
|
test_files: []
|
50
|
-
has_rdoc:
|