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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/nagsrv +7 -0
  3. data/ruby-nagios.gemspec +1 -1
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c2a8bf32d0a1965466db4026791ec2b66d51278
4
- data.tar.gz: fd274333c72f6e806aaa90adaf4c523316b535b9
3
+ metadata.gz: 859789fe1877fe4c12ae24c2a4db2dfd9c30ced5
4
+ data.tar.gz: dde3f86aadcbb9999127103159b02258f2cc640e
5
5
  SHA512:
6
- metadata.gz: 9bcdf9200cdea805212da1d108d8ccf08281028cba5711738d46d16ca1cdf0504d6153f4b307a9e6ab503a3593799c591a6048dd871df065a33097494e3bb4db
7
- data.tar.gz: dd10c49df03ad0df88dabe8995e65b72803c8e3038bc58ab8de4ef1e9365f0fb8f5c765963f9d24fa904ab51a0156fab83914d30ac4a7bb20b80af7630079288
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
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'ruby-nagios'
3
- s.version = "0.3.0"
3
+ s.version = "0.4.0"
4
4
  s.author = 'R.I.Pienaar'
5
5
  s.email = 'rip@devco.net'
6
6
  s.homepage = 'http://devco.net/'
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.3.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-05-08 00:00:00.000000000 Z
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