ruby-nagios 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/nagsrv +7 -0
- data/ruby-nagios.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 859789fe1877fe4c12ae24c2a4db2dfd9c30ced5
|
4
|
+
data.tar.gz: dde3f86aadcbb9999127103159b02258f2cc640e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd669d2ced72333cfcbeb5a9c6ec422a9e305712218c9b463e57f41eb5df6134e66fd0d9a3abd41a760a91c22f712d6d9bf0dae1ad479e0d74a974f9e807d651
|
7
|
+
data.tar.gz: eaa4967b9a25d5ebae15cc80537a027ecd3a2b4174f91d40cb2895c0ec9a653241ab15e45300f74ecac0af0a73e20ffbf1a4f33d845ff609fbd3ce90bd07d801
|
data/bin/nagsrv
CHANGED
@@ -46,6 +46,9 @@
|
|
46
46
|
# --acknowledge
|
47
47
|
# Acknowledge services without sending notifies
|
48
48
|
#
|
49
|
+
# --delete-svc-acknowledgement
|
50
|
+
# Remove acknowledgement from a service.
|
51
|
+
#
|
49
52
|
# --delete-comments
|
50
53
|
# Delete the comments for selected services
|
51
54
|
#
|
@@ -155,6 +158,10 @@ OptionParser.new do |opts|
|
|
155
158
|
action = "[${tstamp}] ACKNOWLEDGE_SVC_PROBLEM;${host};${service};1;0;1;#{ENV['USER']};Acknowledged from CLI"
|
156
159
|
end
|
157
160
|
|
161
|
+
opts.on("--delete-svc-acknowledgement", "Remove acks from services") do
|
162
|
+
action = "[${tstamp}] REMOVE_SVC_ACKNOWLEDGEMENT;${host};${service};1;0;1;#{ENV['USER']};Ack removed from CLI"
|
163
|
+
end
|
164
|
+
|
158
165
|
opts.on("--delete-comments", "") do
|
159
166
|
comment_id = 1
|
160
167
|
action = "[${tstamp}] DEL_SVC_COMMENT;${comment_id};${tstamp}"
|
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.4.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: 2015-
|
11
|
+
date: 2015-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -95,3 +95,4 @@ signing_key:
|
|
95
95
|
specification_version: 4
|
96
96
|
summary: Ruby library for managing Nagios
|
97
97
|
test_files: []
|
98
|
+
has_rdoc: false
|