ruby-nagios 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Rakefile +18 -0
- data/bin/check_check +10 -2
- data/bin/nagsrv +7 -3
- data/lib/nagios/config.rb +61 -21
- data/lib/nagios/external_commands/list.rb +186 -0
- data/lib/nagios/external_commands.rb +142 -0
- data/lib/nagios/objects.rb +11 -10
- data/lib/nagios/status.rb +34 -8
- data/lib/nagios.rb +15 -0
- data/ruby-nagios.gemspec +1 -1
- data/spec/00_configuration_spec.rb +79 -0
- data/spec/spec_helper.rb +14 -0
- data/test/benchmark.rb +26 -0
- data/test/data/bad/README +1 -0
- data/test/data/bad/nagios.cfg +1305 -0
- data/test/data/bad/objects.cache +1868 -0
- data/test/data/bad/status.dat +1766 -0
- data/test/data/nagios.cfg +1305 -0
- data/test/data/objects.cache +1868 -0
- data/test/data/status.dat +1766 -0
- metadata +64 -29
metadata
CHANGED
@@ -1,35 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-nagios
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- R.I.Pienaar
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-02-27 00:00:00 +00:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: rake
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
22
33
|
type: :development
|
23
|
-
|
24
|
-
version_requirements: *4747960
|
34
|
+
version_requirements: *id001
|
25
35
|
description: Manage alerts, checks and acks in bulk
|
26
36
|
email: rip@devco.net
|
27
|
-
executables:
|
37
|
+
executables:
|
28
38
|
- check_check
|
29
39
|
- nagsrv
|
30
40
|
extensions: []
|
41
|
+
|
31
42
|
extra_rdoc_files: []
|
32
|
-
|
43
|
+
|
44
|
+
files:
|
33
45
|
- .gitignore
|
34
46
|
- COPYING
|
35
47
|
- README.md
|
@@ -38,31 +50,54 @@ files:
|
|
38
50
|
- bin/nagsrv
|
39
51
|
- lib/nagios.rb
|
40
52
|
- lib/nagios/config.rb
|
53
|
+
- lib/nagios/external_commands.rb
|
54
|
+
- lib/nagios/external_commands/list.rb
|
41
55
|
- lib/nagios/objects.rb
|
42
56
|
- lib/nagios/status.rb
|
43
57
|
- ruby-nagios.gemspec
|
58
|
+
- spec/00_configuration_spec.rb
|
59
|
+
- spec/spec_helper.rb
|
60
|
+
- test/benchmark.rb
|
61
|
+
- test/data/bad/README
|
62
|
+
- test/data/bad/nagios.cfg
|
63
|
+
- test/data/bad/objects.cache
|
64
|
+
- test/data/bad/status.dat
|
65
|
+
- test/data/nagios.cfg
|
66
|
+
- test/data/objects.cache
|
67
|
+
- test/data/status.dat
|
68
|
+
has_rdoc: true
|
44
69
|
homepage: http://devco.net/
|
45
70
|
licenses: []
|
71
|
+
|
46
72
|
post_install_message:
|
47
73
|
rdoc_options: []
|
48
|
-
|
74
|
+
|
75
|
+
require_paths:
|
49
76
|
- lib
|
50
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
78
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
version: "0"
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
87
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
62
95
|
requirements: []
|
96
|
+
|
63
97
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.3.7
|
65
99
|
signing_key:
|
66
100
|
specification_version: 3
|
67
101
|
summary: Ruby library for managing Nagios
|
68
102
|
test_files: []
|
103
|
+
|