zabbirc 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zabbirc/zabbix/resource/finders.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6949b7dbf85c1c2f1c5476146d58d141d49df701
|
4
|
+
data.tar.gz: 4a29a06e1edf62f17ad54456837770b5a5bfde96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c24c6d0992da0e4404d63ac4d73252ecad82aeaec7e3a3baeb39d315944cffa686dcde8cd3edba8f6e60a50d6b8611dbaf408f8d7e657cee39b5ff568df9043
|
7
|
+
data.tar.gz: eb08161b1bd057dbf74915a39dc7803424076e67bc023ce2a2494d5f3e2d1b24ccc1f362b420a6c5f3ccb847e35d4b03726851700c554f6587c186964a487b53
|
@@ -15,7 +15,7 @@ module Zabbirc
|
|
15
15
|
else
|
16
16
|
self.new res.first
|
17
17
|
end
|
18
|
-
rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED => e
|
18
|
+
rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
|
19
19
|
Zabbirc.logger.error "Zabbix::Resource#find: #{e}"
|
20
20
|
raise NotConnected, e
|
21
21
|
else
|
@@ -29,7 +29,7 @@ module Zabbirc
|
|
29
29
|
ret = res.collect do |obj|
|
30
30
|
self.new obj
|
31
31
|
end
|
32
|
-
rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED => e
|
32
|
+
rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
|
33
33
|
Zabbirc.logger.error "Zabbix::Resource#get: #{e}"
|
34
34
|
raise NotConnected, e
|
35
35
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbirc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filip Zachar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|