zabbixapi 0.5.2b4 → 0.5.2b5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zabbixapi/classes/graphs.rb +14 -0
- data/lib/zabbixapi/version.rb +1 -1
- metadata +2 -2
@@ -13,6 +13,20 @@ class ZabbixApi
|
|
13
13
|
"name"
|
14
14
|
end
|
15
15
|
|
16
|
+
def get_full_data(data)
|
17
|
+
log "[DEBUG] Call get_full_data with parametrs: #{data.inspect}"
|
18
|
+
|
19
|
+
@client.api_request(
|
20
|
+
:method => "#{method_name}.get",
|
21
|
+
:params => {
|
22
|
+
:search => {
|
23
|
+
indentify.to_sym => data[indentify.to_sym]
|
24
|
+
},
|
25
|
+
:output => "extend"
|
26
|
+
}
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
16
30
|
def get_ids_by_host(data)
|
17
31
|
ids = []
|
18
32
|
result = @client.api_request(:method => "graph.get", :params => {:filter => {:host => data[:host]}, :output => "extend"})
|
data/lib/zabbixapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbixapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2b5
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
segments:
|
81
81
|
- 0
|
82
|
-
hash:
|
82
|
+
hash: -2812187451419365862
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|