ruby-nagios 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/check_check +4 -0
- data/lib/nagios/status.rb +1 -1
- data/ruby-nagios.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fadbde442bd2089d2492ced4cf817cebfe6a8e7b
|
4
|
+
data.tar.gz: f7d066df4dba6353ce8bc84c2e2a009f0a47a551
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a63d0d619d4c08114b1dc70325539a4266c5b18b18d84d3261311ac42b88220b2fbb9c0c64faae8cade6382b3fdcdc66ac077acaf39dd2b924ae6e7da68ab5
|
7
|
+
data.tar.gz: 1bbdb03aefddd6b36274d55f900f3306e2934ad5aa3647494130c25b1f9f96d7c90601133891159764b857785037d75be44b8ef138a01e48866a12639ef0d042
|
data/bin/check_check
CHANGED
@@ -83,6 +83,10 @@ def main(args)
|
|
83
83
|
progname = File.basename($0)
|
84
84
|
settings = Settings.new
|
85
85
|
settings.nagios_cfg = "/etc/nagios3/nagios.cfg" # debian/ubuntu default
|
86
|
+
# if nagios.cfg doesn't exist, look for icinga.cfg
|
87
|
+
if !File.exist?(settings.nagios_cfg)
|
88
|
+
settings.nagios_cfg = "/etc/icinga/icinga.cfg" # debian/ubuntu default
|
89
|
+
end
|
86
90
|
|
87
91
|
opts = OptionParser.new do |opts|
|
88
92
|
opts.banner = "Usage: #{progname} [options]"
|
data/lib/nagios/status.rb
CHANGED
data/ruby-nagios.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-nagios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- R.I.Pienaar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|