senedsa 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -100,8 +100,6 @@ module Senedsa
100
100
  else
101
101
  raise ArgumentError, "wrong number of arguments"
102
102
  end
103
- raise StandardError , "foo" # unless @options[:nsca_hostname].nil?
104
- puts @options[:nsca_hostname]
105
103
  run svc_status, svc_output
106
104
  end
107
105
 
@@ -113,7 +111,7 @@ module Senedsa
113
111
  private
114
112
 
115
113
  def command
116
- c = "#{send_nsca_binary} -H #{nsca_hostname} -p #{nsca_port} -t #{send_nsca_timeout} -d '#{send_nsca_delim}'"
114
+ c = "#{send_nsca_binary} -H #{nsca_hostname} -p #{nsca_port} -to #{send_nsca_timeout} -d '#{send_nsca_delim}'"
117
115
  c << " -c #{send_nsca_config}" unless send_nsca_config.nil?
118
116
  c
119
117
  end
@@ -1,3 +1,3 @@
1
1
  module Senedsa
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: senedsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
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: 2012-06-05 00:00:00.000000000 Z
12
+ date: 2012-06-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Senedsa is a small utility and library wrapper for the Nagios send_nsca.
15
15
  email: gerir@evernote.com