zabbix_sender_api 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/zabbix_sender_api/api.rb +6 -0
- data/lib/zabbix_sender_api/version.rb +1 -1
- metadata +3 -5
- data/Gemfile.lock +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89e13bebbddda9a40ec5990b685c876cccc4dc535d4f0aa71ee5e9e4c9ff0643
|
4
|
+
data.tar.gz: 5570e008ccdeae7d5f9866fa4edc6faf71bbc7968f1ee5a5a5f2a6d1c815131a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614555a8b2dd25f742140504eae44f84d28a977888ba7d3583ad8db818ecc646a3302a33893c5a46b92215e744f1e0ce7bed0126b4cfc1ac15d03c8657dd7880
|
7
|
+
data.tar.gz: 8ca65d78ae038b7ac78a093c9b85df976d3f969d3e115e50c0301f72d4a4664834adc3a2e0cbc79ab38180c4b0e4ea9412ff998aaea51a16ad3c687163808d40
|
data/.gitignore
CHANGED
@@ -269,6 +269,12 @@ class Batch
|
|
269
269
|
@data.unshift(aDiscovery)
|
270
270
|
end
|
271
271
|
|
272
|
+
##
|
273
|
+
# Append another batch's data into this one.
|
274
|
+
def appendBatch(aBatch)
|
275
|
+
@data.append(*aBatch.data)
|
276
|
+
end
|
277
|
+
|
272
278
|
##
|
273
279
|
# Render this batch of data as a sequence of lines of text appropriate
|
274
280
|
# for sending into zabbix_sender
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbix_sender_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Parker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem describes an api to the zabbix sender facility. It saves tons
|
14
14
|
of hassle when you're cranking out custom polling logic
|
@@ -21,7 +21,6 @@ extra_rdoc_files: []
|
|
21
21
|
files:
|
22
22
|
- ".gitignore"
|
23
23
|
- Gemfile
|
24
|
-
- Gemfile.lock
|
25
24
|
- LICENSE.txt
|
26
25
|
- README.md
|
27
26
|
- Rakefile
|
@@ -58,8 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
57
|
- !ruby/object:Gem::Version
|
59
58
|
version: '0'
|
60
59
|
requirements: []
|
61
|
-
|
62
|
-
rubygems_version: 2.7.6
|
60
|
+
rubygems_version: 3.1.6
|
63
61
|
signing_key:
|
64
62
|
specification_version: 4
|
65
63
|
summary: Ruby frontend to the zabbix_sender command line tool
|
data/Gemfile.lock
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
zabbix_sender_api (1.0.4)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
byebug (11.1.3)
|
10
|
-
coderay (1.1.3)
|
11
|
-
method_source (1.0.0)
|
12
|
-
pry (0.13.1)
|
13
|
-
coderay (~> 1.1)
|
14
|
-
method_source (~> 1.0)
|
15
|
-
pry-byebug (3.9.0)
|
16
|
-
byebug (~> 11.0)
|
17
|
-
pry (~> 0.13.0)
|
18
|
-
rake (12.3.3)
|
19
|
-
|
20
|
-
PLATFORMS
|
21
|
-
ruby
|
22
|
-
|
23
|
-
DEPENDENCIES
|
24
|
-
pry
|
25
|
-
pry-byebug
|
26
|
-
rake
|
27
|
-
zabbix_sender_api!
|
28
|
-
|
29
|
-
BUNDLED WITH
|
30
|
-
2.1.4
|