zabbix_sender_api 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1bb42ed344a48f3aa83f04739a41ad388eb59ca3beb2819636255d3a5cd6ce7
4
- data.tar.gz: 9039d00b328b41b2ad5462a3632a6834319fe027f672084352a707d8c1d3e5a5
3
+ metadata.gz: 941c8d7d5179168c654a89712df253c202b9704fac194933bc48b8233d30052d
4
+ data.tar.gz: eac54ddbb5a9976b43579e5609ae81d119a68b11a283eff5aaa4e5e3b25af334
5
5
  SHA512:
6
- metadata.gz: 7df9cceb6e1a5d0836c6bc410a7ab444cd6cab38b9948ba688aaf5daac971c164a88a8d21a6fd629f3841492c9c8f8257c802c25bf8219929421eb3ff31fcdc8
7
- data.tar.gz: 9a7b38fc6ae72efabcfa7bfda7b2c503aee772ebf0f3442c8e63ab5391c812a47572dd5ef2143ba33c3c6f591191749b8b34ffb051567d2023240272b4d03d6b
6
+ metadata.gz: 4a63dec0276fabb920a0bb94398ea4727db7b8f6db65cf961e68c86f1dd588245f9525873000e62104781c77c111c4e9de379dc25ccc34d782165ff4eb39e61b
7
+ data.tar.gz: a5c8dcb806341aa096ca806f45d37597a40385131602a6ea7cd8c6e4ed7b2ea6f227bd95cf52220dba30db2c964f85cdd3314754c7e2a42ebac24efde973eba8
data/.gitignore CHANGED
@@ -3,6 +3,7 @@ Gemfile.lock
3
3
  /.yardoc
4
4
  /_yardoc/
5
5
  /coverage/
6
+ /doc/
6
7
  /pkg/
7
8
  /spec/reports/
8
9
  /tmp/
data/Gemfile CHANGED
@@ -6,3 +6,4 @@ gemspec
6
6
  gem "rake"
7
7
  gem "pry"
8
8
  gem "pry-byebug"
9
+ gem "yard"
data/README.md CHANGED
@@ -1,15 +1,19 @@
1
- # zabbix_sender_api
1
+ # zabbix_sender_api [![Gem Version](https://badge.fury.io/rb/zabbix_sender_api.svg)](https://badge.fury.io/rb/zabbix_sender_api)
2
2
 
3
3
  This gem provides a model for assembling and sending data to Zabbix via its sender/trapper mechanism. It works both with the zabbix_sender command line utility, or by itself using a socket connection to a trapper port direct from Ruby.
4
4
 
5
5
  **Detailed documentation for this library is [>>HERE<<](https://svdasein.gitlab.io/zabbix_sender_api)**
6
6
 
7
+ **Source repository is [>>HERE<<](https://gitlab.com/svdasein/zabbix_sender_api)**
8
+
7
9
  Look at [the source for the zfstozab gem](https://gitlab.com/svdasein/zfstozab/-/blob/master/exe/zabbix-zfs.rb) for a practical example how to use this api.
8
10
 
9
11
  zabbix_sender_api can send data to zabbix via one of two included connection types:
12
+
10
13
  * zabbix_sender (this was the original and for quite some time only mode supported)
11
14
  * TCP socket connection directly to a Zabbix "trapper" port (as of vers 1.1.0)
12
15
 
16
+ If you need to interact with the Zabbix REST API, you might also be interested in [zabbix-api-simple](https://svdasein.gitlab.io/zabbix-api/)
13
17
 
14
18
 
15
19
  ## Installation
@@ -41,7 +45,7 @@ The above will execute zabbix_sender for you and send data into it as described
41
45
  Alternatively you can just
42
46
 
43
47
  ```ruby
44
- puts data.to_senderinput
48
+ puts data.to_senderline
45
49
  ```
46
50
  ... and do whatever you want w/ the stdout
47
51
 
data/Rakefile CHANGED
@@ -1,2 +1,9 @@
1
1
  require "bundler/gem_tasks"
2
- task :default => :spec
2
+ desc "Generate yard docs in public"
3
+ task :gendocs do
4
+ puts %x(yard -o public --files CHANGELOG.md,LICENSE.txt)
5
+ puts %x(git add public/*)
6
+ end
7
+ desc "Generate docs and run :build"
8
+ task :buildall => [ :gendocs, :build ]
9
+ task :default => :buildall
@@ -322,7 +322,7 @@ class Discovery < ItemData
322
322
  def to_discodata
323
323
  disco = { 'data'=>Array.new }
324
324
  disco['data'] = @entities.to_a
325
- return disco
325
+ return disco.to_json
326
326
  end
327
327
  ##
328
328
  # Render this discovery instance as a zabbix_sender line.
@@ -1,3 +1,3 @@
1
1
  module ZabbixSenderApi
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
@@ -4,7 +4,6 @@ require "json"
4
4
 
5
5
  module ZabbixSenderApi
6
6
  class Error < StandardError; end
7
- ##
8
7
  # Note: You can call this again yourself with a path: parameter
9
8
  # to override the default list if need be.
10
9
  Zabbix::AgentConfiguration.initialize
@@ -403,7 +403,7 @@
403
403
  </div>
404
404
 
405
405
  <div id="footer">
406
- Generated on Sat Sep 11 00:00:06 2021 by
406
+ Generated on Sat Sep 18 21:55:40 2021 by
407
407
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
408
408
  0.9.26 (ruby-2.7.4).
409
409
  </div>
@@ -650,7 +650,7 @@
650
650
  </div>
651
651
 
652
652
  <div id="footer">
653
- Generated on Sat Sep 11 00:00:06 2021 by
653
+ Generated on Sat Sep 18 21:55:40 2021 by
654
654
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
655
655
  0.9.26 (ruby-2.7.4).
656
656
  </div>
@@ -640,7 +640,7 @@
640
640
  </div>
641
641
 
642
642
  <div id="footer">
643
- Generated on Sat Sep 11 00:00:06 2021 by
643
+ Generated on Sat Sep 18 21:55:40 2021 by
644
644
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
645
645
  0.9.26 (ruby-2.7.4).
646
646
  </div>
@@ -587,7 +587,7 @@
587
587
  </div>
588
588
 
589
589
  <div id="footer">
590
- Generated on Sat Sep 11 00:00:06 2021 by
590
+ Generated on Sat Sep 18 21:55:40 2021 by
591
591
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
592
592
  0.9.26 (ruby-2.7.4).
593
593
  </div>
@@ -668,7 +668,7 @@
668
668
  </div>
669
669
 
670
670
  <div id="footer">
671
- Generated on Sat Sep 11 00:00:06 2021 by
671
+ Generated on Sat Sep 18 21:55:40 2021 by
672
672
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
673
673
  0.9.26 (ruby-2.7.4).
674
674
  </div>
@@ -451,7 +451,7 @@
451
451
  </div>
452
452
 
453
453
  <div id="footer">
454
- Generated on Sat Sep 11 00:00:06 2021 by
454
+ Generated on Sat Sep 18 21:55:40 2021 by
455
455
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
456
456
  0.9.26 (ruby-2.7.4).
457
457
  </div>
@@ -518,7 +518,7 @@
518
518
  </div>
519
519
 
520
520
  <div id="footer">
521
- Generated on Sat Sep 11 00:00:06 2021 by
521
+ Generated on Sat Sep 18 21:55:40 2021 by
522
522
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
523
523
  0.9.26 (ruby-2.7.4).
524
524
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Sat Sep 11 00:00:06 2021 by
108
+ Generated on Sat Sep 18 21:55:40 2021 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.26 (ruby-2.7.4).
111
111
  </div>
data/public/Zabbix.html CHANGED
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Sat Sep 11 00:00:06 2021 by
110
+ Generated on Sat Sep 18 21:55:40 2021 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.26 (ruby-2.7.4).
113
113
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Sat Sep 11 00:00:06 2021 by
117
+ Generated on Sat Sep 18 21:55:40 2021 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.26 (ruby-2.7.4).
120
120
  </div>
@@ -123,7 +123,7 @@
123
123
  </div>
124
124
 
125
125
  <div id="footer">
126
- Generated on Sat Sep 11 00:00:06 2021 by
126
+ Generated on Sat Sep 18 21:55:40 2021 by
127
127
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
128
128
  0.9.26 (ruby-2.7.4).
129
129
  </div>
data/public/_index.html CHANGED
@@ -63,6 +63,12 @@
63
63
  <li class="r1"><a href="index.html" title="README">README</a></li>
64
64
 
65
65
 
66
+ <li class="r2"><a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a></li>
67
+
68
+
69
+ <li class="r1"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></li>
70
+
71
+
66
72
  </ul>
67
73
 
68
74
  <div class="clear"></div>
@@ -232,7 +238,7 @@
232
238
  </div>
233
239
 
234
240
  <div id="footer">
235
- Generated on Sat Sep 11 00:00:06 2021 by
241
+ Generated on Sat Sep 18 21:55:40 2021 by
236
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
243
  0.9.26 (ruby-2.7.4).
238
244
  </div>
@@ -0,0 +1,89 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ File: CHANGELOG
8
+
9
+ &mdash; Documentation by YARD 0.9.26
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "CHANGELOG";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="file_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index</a> &raquo;
40
+ <span class="title">File: CHANGELOG</span>
41
+
42
+ </div>
43
+
44
+ <div id="search">
45
+
46
+ <a class="full_list_link" id="class_list_link"
47
+ href="class_list.html">
48
+
49
+ <svg width="24" height="24">
50
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
51
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
52
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
53
+ </svg>
54
+ </a>
55
+
56
+ </div>
57
+ <div class="clear"></div>
58
+ </div>
59
+
60
+ <div id="content"><div id='filecontents'>
61
+ <h1 id="label-1.1.0">1.1.0</h1>
62
+ <ul><li>
63
+ <p>added native (socket based) sender logic (Zabbix::Sender::Socket).</p>
64
+ </li><li>
65
+ <p>changed Zabbix::Sender::Pipe&#39;s open method from popen to Open3::popen3 to allow capture of stdout stderf and exitA</p>
66
+ </li><li>
67
+ <p>the Socket and Pipe .flush method returns status, sendBatchAtomic relays it from its internal call to flush</p>
68
+
69
+ <h1 id="label-1.1.1">1.1.1</h1>
70
+ </li><li>
71
+ <p>added ability to override Zabbix::AgentConfiguration search path</p>
72
+ </li><li>
73
+ <p>cleaned up a few issues + the docs</p>
74
+
75
+ <h1 id="label-1.1.2">1.1.2</h1>
76
+ </li><li>
77
+ <p>This is just a documentation fix. rubydoc.info wasn&#39;t generating docs from the gem properly so docs are now in a gitlab “pages” site.</p>
78
+ </li></ul>
79
+ </div></div>
80
+
81
+ <div id="footer">
82
+ Generated on Sat Sep 18 21:55:40 2021 by
83
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
84
+ 0.9.26 (ruby-2.7.4).
85
+ </div>
86
+
87
+ </div>
88
+ </body>
89
+ </html>
@@ -0,0 +1,70 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ File: LICENSE
8
+
9
+ &mdash; Documentation by YARD 0.9.26
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "LICENSE";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="file_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index</a> &raquo;
40
+ <span class="title">File: LICENSE</span>
41
+
42
+ </div>
43
+
44
+ <div id="search">
45
+
46
+ <a class="full_list_link" id="class_list_link"
47
+ href="class_list.html">
48
+
49
+ <svg width="24" height="24">
50
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
51
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
52
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
53
+ </svg>
54
+ </a>
55
+
56
+ </div>
57
+ <div class="clear"></div>
58
+ </div>
59
+
60
+ <div id="content"><div id='filecontents'>The MIT License (MIT)<br/><br/>Copyright (c) 2020 Dave Parker<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the &quot;Software&quot;), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in<br/>all copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br/>THE SOFTWARE.</div></div>
61
+
62
+ <div id="footer">
63
+ Generated on Sat Sep 18 21:55:40 2021 by
64
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
65
+ 0.9.26 (ruby-2.7.4).
66
+ </div>
67
+
68
+ </div>
69
+ </body>
70
+ </html>
@@ -58,15 +58,24 @@
58
58
  </div>
59
59
 
60
60
  <div id="content"><div id='filecontents'>
61
- <h1 id="label-zabbix_sender_api">zabbix_sender_api</h1>
61
+ <h1 id="label-zabbix_sender_api+rdoc-image-3Ahttps-3A-2F-2Fbadge.fury.io-2Frb-2Fzabbix_sender_api.svg">zabbix_sender_api <a href="https://badge.fury.io/rb/zabbix_sender_api"><img src="https://badge.fury.io/rb/zabbix_sender_api.svg"></a></h1>
62
62
 
63
63
  <p>This gem provides a model for assembling and sending data to Zabbix via its sender/trapper mechanism. It works both with the zabbix_sender command line utility, or by itself using a socket connection to a trapper port direct from Ruby.</p>
64
64
 
65
- <p><strong>Detailed documentation for this library is at <a href="https://rubydoc.info/gems/zabbix_sender_api">rubydoc.info</a></strong></p>
65
+ <p><strong>Detailed documentation for this library is <a href="https://svdasein.gitlab.io/zabbix_sender_api">>>HERE<<</a></strong></p>
66
+
67
+ <p><strong>Source repository is <a href="https://gitlab.com/svdasein/zabbix_sender_api">>>HERE<<</a></strong></p>
66
68
 
67
69
  <p>Look at <a href="https://gitlab.com/svdasein/zfstozab/-/blob/master/exe/zabbix-zfs.rb">the source for the zfstozab gem</a> for a practical example how to use this api.</p>
68
70
 
69
- <p>zabbix_sender_api can send data to zabbix via one of two included connection types: * zabbix_sender (this was the original and for quite some time only mode supported) * TCP socket connection directly to a Zabbix “trapper” port (as of vers 1.1.0)</p>
71
+ <p>zabbix_sender_api can send data to zabbix via one of two included connection types:</p>
72
+ <ul><li>
73
+ <p>zabbix_sender (this was the original and for quite some time only mode supported)</p>
74
+ </li><li>
75
+ <p>TCP socket connection directly to a Zabbix “trapper” port (as of vers 1.1.0)</p>
76
+ </li></ul>
77
+
78
+ <p>If you need to interact with the Zabbix REST API, you might also be interested in <a href="https://svdasein.gitlab.io/zabbix-api/">zabbix-api-simple</a></p>
70
79
 
71
80
  <h2 id="label-Installation">Installation</h2>
72
81
 
@@ -97,7 +106,7 @@
97
106
 
98
107
  <p>Alternatively you can just</p>
99
108
 
100
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_to_senderinput'>to_senderinput</span>
109
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_to_senderline'>to_senderline</span>
101
110
  </code></pre>
102
111
 
103
112
  <p>… and do whatever you want w/ the stdout</p>
@@ -164,7 +173,7 @@
164
173
  </div></div>
165
174
 
166
175
  <div id="footer">
167
- Generated on Sat Sep 11 00:00:06 2021 by
176
+ Generated on Sat Sep 18 21:55:40 2021 by
168
177
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
169
178
  0.9.26 (ruby-2.7.4).
170
179
  </div>
@@ -49,6 +49,16 @@
49
49
  </li>
50
50
 
51
51
 
52
+ <li id="object_CHANGELOG" class="even">
53
+ <div class="item"><span class="object_link"><a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a></span></div>
54
+ </li>
55
+
56
+
57
+ <li id="object_LICENSE" class="odd">
58
+ <div class="item"><span class="object_link"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></span></div>
59
+ </li>
60
+
61
+
52
62
 
53
63
  </ul>
54
64
  </div>
Binary file
Binary file
data/public/index.html CHANGED
@@ -58,15 +58,24 @@
58
58
  </div>
59
59
 
60
60
  <div id="content"><div id='filecontents'>
61
- <h1 id="label-zabbix_sender_api">zabbix_sender_api</h1>
61
+ <h1 id="label-zabbix_sender_api+rdoc-image-3Ahttps-3A-2F-2Fbadge.fury.io-2Frb-2Fzabbix_sender_api.svg">zabbix_sender_api <a href="https://badge.fury.io/rb/zabbix_sender_api"><img src="https://badge.fury.io/rb/zabbix_sender_api.svg"></a></h1>
62
62
 
63
63
  <p>This gem provides a model for assembling and sending data to Zabbix via its sender/trapper mechanism. It works both with the zabbix_sender command line utility, or by itself using a socket connection to a trapper port direct from Ruby.</p>
64
64
 
65
- <p><strong>Detailed documentation for this library is at <a href="https://rubydoc.info/gems/zabbix_sender_api">rubydoc.info</a></strong></p>
65
+ <p><strong>Detailed documentation for this library is <a href="https://svdasein.gitlab.io/zabbix_sender_api">>>HERE<<</a></strong></p>
66
+
67
+ <p><strong>Source repository is <a href="https://gitlab.com/svdasein/zabbix_sender_api">>>HERE<<</a></strong></p>
66
68
 
67
69
  <p>Look at <a href="https://gitlab.com/svdasein/zfstozab/-/blob/master/exe/zabbix-zfs.rb">the source for the zfstozab gem</a> for a practical example how to use this api.</p>
68
70
 
69
- <p>zabbix_sender_api can send data to zabbix via one of two included connection types: * zabbix_sender (this was the original and for quite some time only mode supported) * TCP socket connection directly to a Zabbix “trapper” port (as of vers 1.1.0)</p>
71
+ <p>zabbix_sender_api can send data to zabbix via one of two included connection types:</p>
72
+ <ul><li>
73
+ <p>zabbix_sender (this was the original and for quite some time only mode supported)</p>
74
+ </li><li>
75
+ <p>TCP socket connection directly to a Zabbix “trapper” port (as of vers 1.1.0)</p>
76
+ </li></ul>
77
+
78
+ <p>If you need to interact with the Zabbix REST API, you might also be interested in <a href="https://svdasein.gitlab.io/zabbix-api/">zabbix-api-simple</a></p>
70
79
 
71
80
  <h2 id="label-Installation">Installation</h2>
72
81
 
@@ -97,7 +106,7 @@
97
106
 
98
107
  <p>Alternatively you can just</p>
99
108
 
100
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_to_senderinput'>to_senderinput</span>
109
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_to_senderline'>to_senderline</span>
101
110
  </code></pre>
102
111
 
103
112
  <p>… and do whatever you want w/ the stdout</p>
@@ -164,7 +173,7 @@
164
173
  </div></div>
165
174
 
166
175
  <div id="footer">
167
- Generated on Sat Sep 11 00:00:06 2021 by
176
+ Generated on Sat Sep 18 21:55:40 2021 by
168
177
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
169
178
  0.9.26 (ruby-2.7.4).
170
179
  </div>
@@ -100,7 +100,7 @@
100
100
  </div>
101
101
 
102
102
  <div id="footer">
103
- Generated on Sat Sep 11 00:00:06 2021 by
103
+ Generated on Sat Sep 18 21:55:40 2021 by
104
104
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
105
  0.9.26 (ruby-2.7.4).
106
106
  </div>
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.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Parker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-11 00:00:00.000000000 Z
11
+ date: 2022-08-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem implements an api that abstracts the zabbix sender/trapper mechanism.
14
14
  It saves tons of time when you're cranking out custom polling logic
@@ -57,9 +57,13 @@ files:
57
57
  - public/css/common.css
58
58
  - public/css/full_list.css
59
59
  - public/css/style.css
60
+ - public/file.CHANGELOG.html
61
+ - public/file.LICENSE.html
60
62
  - public/file.README.html
61
63
  - public/file_list.html
62
64
  - public/frames.html
65
+ - public/images/Spectacle.Z29721.png
66
+ - public/images/Spectacle.l29721.png
63
67
  - public/index.html
64
68
  - public/js/app.js
65
69
  - public/js/full_list.js
@@ -91,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
95
  - !ruby/object:Gem::Version
92
96
  version: '0'
93
97
  requirements: []
94
- rubygems_version: 3.1.6
98
+ rubygems_version: 3.1.2
95
99
  signing_key:
96
100
  specification_version: 4
97
101
  summary: Ruby library that greatly simplifies sending data to Zabbix via the sender/trapper