zabbix-ruby-client 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 93d282dcf0d5f02de0b8cf3ba0dd16c5a90d0950
4
+ data.tar.gz: 6318e9b04b8eb7fb601ba2311d0b02f504606889
5
+ SHA512:
6
+ metadata.gz: 4492448212c466a3a7b655a01333a7b6869f8ec3ef4f000c5a9a25f13a465ce893990200cce6a74256de6be52d81b09f408bcadd50e5e1acf620a962dad3ca44
7
+ data.tar.gz: 810b5853b3ec99b09a1f203b79645414e225f753a62300aad5b5633cfc9865d1bbba80cc076e1adf74ceab10282c97f267bd07d7fae422366b037ec46e3b1ada
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Zabbbix Ruby Client Changelog
2
2
  -----------------------------
3
3
 
4
+ ### v0.0.19 - 2013-12-24
5
+
6
+ * fix on logger when zabbix-sender command fails
7
+ * fix on the disk plugin handling of third argument
8
+
4
9
  ### v0.0.18 - 2013-12-13
5
10
 
6
11
  * total fix on CPU usage plugin
@@ -49,10 +49,10 @@ module ZabbixRubyClient
49
49
  private
50
50
 
51
51
  def get_info(disk, device)
52
- info = diskinfo(disk)
52
+ info = diskinfo(device)
53
53
  if info
54
54
  back = info.split(/\s+/)
55
- io = getline("/proc/diskstats", " #{device} ")
55
+ io = getline("/proc/diskstats", " #{disk} ")
56
56
  if io
57
57
  back += io.split(/\s+/)
58
58
  end
@@ -46,8 +46,8 @@ module ZabbixRubyClient
46
46
  end
47
47
  rescue Exception => e
48
48
  @store.keepdata(file)
49
- logger.error "Sending failed."
50
- logger.error e.message
49
+ ZabbixRubyClient::Log.error "Sending failed."
50
+ ZabbixRubyClient::Log.error e.message
51
51
  end
52
52
  end
53
53
 
@@ -1,3 +1,3 @@
1
1
  module ZabbixRubyClient
2
- VERSION ||= "0.0.18"
2
+ VERSION ||= "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
5
- prerelease:
4
+ version: 0.0.19
6
5
  platform: ruby
7
6
  authors:
8
7
  - mose
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-13 00:00:00.000000000 Z
11
+ date: 2013-12-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: thor
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,65 +41,57 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: webmock
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: coveralls
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  description: A zabbix alternative to zabbix-agent using zabbix-sender.
@@ -206,33 +193,26 @@ files:
206
193
  homepage: https://github.com/eduvo/zabbix-ruby-client
207
194
  licenses:
208
195
  - MIT
196
+ metadata: {}
209
197
  post_install_message:
210
198
  rdoc_options: []
211
199
  require_paths:
212
200
  - lib
213
201
  required_ruby_version: !ruby/object:Gem::Requirement
214
- none: false
215
202
  requirements:
216
- - - ! '>='
203
+ - - '>='
217
204
  - !ruby/object:Gem::Version
218
205
  version: '0'
219
- segments:
220
- - 0
221
- hash: -56779707958214717
222
206
  required_rubygems_version: !ruby/object:Gem::Requirement
223
- none: false
224
207
  requirements:
225
- - - ! '>='
208
+ - - '>='
226
209
  - !ruby/object:Gem::Version
227
210
  version: '0'
228
- segments:
229
- - 0
230
- hash: -56779707958214717
231
211
  requirements: []
232
212
  rubyforge_project:
233
- rubygems_version: 1.8.23
213
+ rubygems_version: 2.1.11
234
214
  signing_key:
235
- specification_version: 3
215
+ specification_version: 4
236
216
  summary: This tool is intended to use zabbix sender to propagate monitoring data for
237
217
  Zabbix server.
238
218
  test_files: