zabbix_sender_api 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/zabbix_sender_api/api.rb +54 -6
- data/lib/zabbix_sender_api/version.rb +1 -1
- data/public/Zabbix/AgentConfiguration.html +6 -6
- data/public/Zabbix/Sender/Batch.html +133 -57
- data/public/Zabbix/Sender/Connection.html +7 -7
- data/public/Zabbix/Sender/Discovery.html +43 -43
- data/public/Zabbix/Sender/ItemData.html +49 -49
- data/public/Zabbix/Sender/NanosecondItemData.html +333 -0
- data/public/Zabbix/Sender/Pipe.html +43 -39
- data/public/Zabbix/Sender/Socket.html +7 -7
- data/public/Zabbix/Sender.html +5 -5
- data/public/Zabbix.html +4 -4
- data/public/ZabbixSenderApi/Error.html +4 -4
- data/public/ZabbixSenderApi.html +5 -5
- data/public/_index.html +23 -8
- data/public/class_list.html +1 -1
- data/public/file.CHANGELOG.html +17 -23
- data/public/file.LICENSE.html +4 -4
- data/public/file.README.html +76 -66
- data/public/frames.html +10 -5
- data/public/index.html +76 -66
- data/public/method_list.html +41 -17
- data/public/top-level-namespace.html +4 -4
- metadata +4 -3
data/public/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -57,125 +57,135 @@
|
|
57
57
|
<div class="clear"></div>
|
58
58
|
</div>
|
59
59
|
|
60
|
-
<div id="content"><div id='filecontents'>
|
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>
|
60
|
+
<div id="content"><div id='filecontents'><h1 id="zabbixsenderapi-gem-versionhttpsbadgefuryiorbzabbixsenderapisvghttpsbadgefuryiorbzabbixsenderapi">zabbix_sender_api <a href="https://badge.fury.io/rb/zabbix_sender_api"><img src="https://badge.fury.io/rb/zabbix_sender_api.svg" alt="Gem Version" /></a></h1>
|
62
61
|
|
63
|
-
<p>This gem provides a model for assembling and sending data to Zabbix via its sender/trapper mechanism.
|
62
|
+
<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
63
|
|
65
|
-
<p><strong>Detailed documentation for this library is <a href="https://svdasein.gitlab.io/zabbix_sender_api"
|
64
|
+
<p><strong>Detailed documentation for this library is <a href="https://svdasein.gitlab.io/zabbix_sender_api">»HERE«</a></strong></p>
|
66
65
|
|
67
|
-
<p><strong>Source repository is <a href="https://gitlab.com/svdasein/zabbix_sender_api"
|
66
|
+
<p><strong>Source repository is <a href="https://gitlab.com/svdasein/zabbix_sender_api">»HERE«</a></strong></p>
|
68
67
|
|
69
68
|
<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>
|
70
69
|
|
71
70
|
<p>zabbix_sender_api can send data to zabbix via one of two included connection types:</p>
|
72
|
-
|
73
|
-
<
|
74
|
-
</li
|
75
|
-
<
|
76
|
-
</
|
71
|
+
|
72
|
+
<ul>
|
73
|
+
<li>zabbix_sender (this was the original and for quite some time only mode supported)</li>
|
74
|
+
<li>TCP socket connection directly to a Zabbix “trapper” port (as of vers 1.1.0)</li>
|
75
|
+
</ul>
|
77
76
|
|
78
77
|
<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>
|
79
78
|
|
80
|
-
<h2 id="
|
79
|
+
<h2 id="installation">Installation</h2>
|
81
80
|
|
82
81
|
<pre class="code ruby"><code class="ruby">$ gem install zabbix_sender_api
|
83
82
|
</code></pre>
|
84
83
|
|
85
|
-
<h2 id="
|
86
|
-
|
87
|
-
<h3 id="label-Synopsis">Synopsis</h3>
|
84
|
+
<h2 id="usage">Usage</h2>
|
88
85
|
|
89
|
-
<
|
90
|
-
|
86
|
+
<h3 id="synopsis">Synopsis</h3>
|
87
|
+
<p>```ruby
|
88
|
+
#!/usr/bin/env ruby
|
89
|
+
require ‘zabbix_sender_api’</p>
|
91
90
|
|
92
|
-
<
|
91
|
+
<p>sender = Zabbix::Sender::Pipe.new</p>
|
93
92
|
|
94
|
-
<
|
93
|
+
<p>rawdata = { :myFirstKey => 0, :mySecondKey => 100 }</p>
|
95
94
|
|
96
|
-
<
|
95
|
+
<p>data = Zabbix::Sender::Batch.new</p>
|
97
96
|
|
98
|
-
<
|
99
|
-
|
100
|
-
|
97
|
+
<p>rawdata.each_pair {|key,value|
|
98
|
+
data.addItemData(key: key,value: value)
|
99
|
+
}</p>
|
101
100
|
|
102
|
-
<
|
103
|
-
|
101
|
+
<p>sender.sendBatchAtomic(data)
|
102
|
+
```</p>
|
104
103
|
|
105
104
|
<p>The above will execute zabbix_sender for you and send data into it as described above.</p>
|
106
105
|
|
107
106
|
<p>Alternatively you can just</p>
|
108
107
|
|
109
|
-
<
|
110
|
-
|
111
|
-
|
112
|
-
|
108
|
+
<p><code>ruby
|
109
|
+
puts data.to_senderline
|
110
|
+
</code>
|
111
|
+
… and do whatever you want w/ the stdout</p>
|
113
112
|
|
114
113
|
<p>To do low level discovery:</p>
|
115
114
|
|
116
|
-
<
|
115
|
+
<p>```ruby
|
116
|
+
disco = Zabbix::Sender::Discovery.new(key: ‘discoveryRuleKey’)</p>
|
117
117
|
|
118
|
-
<
|
118
|
+
<p>disco.add_entity(:SOMEUSEFULVALUE => ‘aValue’, :ANOTHERONE => ‘somethingElse’)</p>
|
119
119
|
|
120
|
-
<
|
121
|
-
</code></pre>
|
120
|
+
<p>data.addDiscovery(disco)</p>
|
122
121
|
|
123
|
-
<
|
122
|
+
<p>```</p>
|
124
123
|
|
125
|
-
<
|
124
|
+
<h3 id="under-the-hood">Under the hood</h3>
|
126
125
|
|
126
|
+
<h4 id="zabbixsenderpipe-method">Zabbix::Sender::Pipe method:</h4>
|
127
127
|
<p>The zabbix-sender cli utility provides a number of methods by which to insert data into zabbix.</p>
|
128
|
-
<ul><li>
|
129
|
-
<p>zabbix-sender … -s zabbixHostName -k keyName -o value (one k-v pair at a time)</p>
|
130
|
-
</li><li>
|
131
|
-
<p>zabbix-sender … -i - (series of kv pairs from stdin using zabbix-sender start time as timestamp)</p>
|
132
|
-
</li><li>
|
133
|
-
<p>zabbix-sender … -T -i - (series of kv pairs with their own embedded timestamps from stdin)</p>
|
134
|
-
</li></ul>
|
135
128
|
|
136
|
-
<
|
129
|
+
<ul>
|
130
|
+
<li>zabbix-sender … -s zabbixHostName -k keyName -o value (one k-v pair at a time)</li>
|
131
|
+
<li>zabbix-sender … -i - (series of kv pairs from stdin using zabbix-sender start time as timestamp)</li>
|
132
|
+
<li>zabbix-sender … -T -i - (series of kv pairs with their own embedded timestamps from stdin)</li>
|
133
|
+
</ul>
|
137
134
|
|
138
|
-
<p>In
|
135
|
+
<p>In the latter two cases, the zabbix host name (the name of the host that zabbix is monitoring) is embedded
|
136
|
+
in the stdin data.</p>
|
137
|
+
|
138
|
+
<p>In all cases it is presumed that the zabbix server or proxy to which data should be sent is specified. This can
|
139
|
+
be done either by specifying it explicitly with the -z switch, or indirectly by pointing it to a zabbix sender configuration
|
140
|
+
file with the -c switch. If you let zabbix_sender_api handle executing zabbix_sender, the target will be specified on the
|
141
|
+
command line via the -z switch.</p>
|
139
142
|
|
140
143
|
<p>zabbix_sender_api utilizes the -T -i - form, so the generated data lines look like this:</p>
|
141
144
|
|
142
|
-
<
|
143
|
-
|
144
|
-
|
145
|
+
<p><code>
|
146
|
+
"theHostBeingMonitored" myFirstKey 1551719379 0
|
147
|
+
"theHostBeingMonitored" mySecondKey 1551719379 100
|
148
|
+
</code></p>
|
145
149
|
|
146
|
-
<p>The above lines will send data to two items associated with the host theHostBeingMonitored: myFirstKey gets the value 0, and mySecondKey gets the value 100.
|
150
|
+
<p>The above lines will send data to two items associated with the host theHostBeingMonitored: myFirstKey gets the value 0, and mySecondKey gets the value 100. In both cases the
|
151
|
+
time stamp is identical but it need not be (see the exe/example.rb for specifics).</p>
|
147
152
|
|
148
153
|
<p>Low level discovery (LLD) is also possible with zabbix-sender; the format of the stdin data is not so pretty but zabbix_sender_api handles all that:</p>
|
149
154
|
|
150
|
-
<
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<p>If you wished to use the above lld to actually do some discovery, you'd set things up in zabbix roughly like this:</p>
|
155
|
+
<p><code>
|
156
|
+
"theHostBeingMonitored" discoveryRuleKey 1551719797 {"data":[{"{#SOMEUSEFULVALUE}":"aValue","{#ANOTHERONE}":"somethingElse"}]}
|
157
|
+
</code>
|
158
|
+
The above line sends an LLD discovery structure (formatted as json) to the <a href="https://www.zabbix.com/documentation/4.0/manual/discovery/low_level_discovery#discovery_rule">discovery rule</a> whose key is discoveryRuleKey. It describes one entity by passing the macro values
|
159
|
+
#SOMEUSEFULVALUE and #ANOTHERONE to the discovery rule. These ‘<a href="https://www.zabbix.com/documentation/4.0/manual/config/macros/lld_macros">lld macros</a>’ are available for use in item,trigger, and graph prototypes.</p>
|
156
160
|
|
157
|
-
<p
|
161
|
+
<p>If you wished to use the above lld to actually do some discovery, you’d set things up in zabbix roughly like this:</p>
|
158
162
|
|
159
|
-
<
|
163
|
+
<p><img src="images/Spectacle.Z29721.png" alt="Discovery rule configuration" />
|
164
|
+
<img src="images/Spectacle.l29721.png" alt="Item prototype configuration" /></p>
|
160
165
|
|
161
|
-
<
|
166
|
+
<h4 id="zabbixsendersocket-method">Zabbix::Sender::Socket method:</h4>
|
162
167
|
|
163
|
-
<
|
164
|
-
</code></pre>
|
168
|
+
<p>You can switch between using the Pipe(zabbix_sender) method and the Socket(direct to zabbix via tcp socket) method very simply. Just change:</p>
|
165
169
|
|
166
|
-
<p
|
170
|
+
<p><code>
|
171
|
+
sender = Zabbix::Sender::Pipe.new
|
172
|
+
</code>
|
173
|
+
to
|
174
|
+
<code>
|
175
|
+
sender = Zabbix::Sender::Socket.new
|
176
|
+
</code></p>
|
167
177
|
|
168
|
-
<p>If you were specifiying a path to zabbix_sender using the Pipe method, remove that.
|
178
|
+
<p>If you were specifiying a path to zabbix_sender using the Pipe method, remove that. If you’re using a socket other than 10051 on your server/proxy, you’ll want to add the port: option</p>
|
169
179
|
|
170
|
-
<p>The socket method doesn
|
180
|
+
<p>The socket method doesn’t support sending multiple batches between flushes, so you should just use sendBatchAtomic(aBatch) with the Socket method.</p>
|
171
181
|
|
172
|
-
<p>You don
|
182
|
+
<p>You don’t have to change anything else - the rest of zabbix_sender_api works exactly the same with the Socket method, save for that it’s arguably more efficient with system resources. The only drawback might be if zabbix changes the sender protocol. At that point until this library is update to support the change you can revert to the Pipe/zabbix_sender method if needed (if they change the command line switches radically there, changes will be required in this library as well).</p>
|
173
183
|
</div></div>
|
174
184
|
|
175
185
|
<div id="footer">
|
176
|
-
Generated on
|
177
|
-
<a href="
|
178
|
-
0.9.
|
186
|
+
Generated on Fri Jan 3 16:13:55 2025 by
|
187
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
188
|
+
0.9.36 (ruby-3.2.2).
|
179
189
|
</div>
|
180
190
|
|
181
191
|
</div>
|
data/public/method_list.html
CHANGED
@@ -181,6 +181,14 @@
|
|
181
181
|
|
182
182
|
|
183
183
|
<li class="even ">
|
184
|
+
<div class="item">
|
185
|
+
<span class='object_link'><a href="Zabbix/Sender/Batch.html#itemclass-instance_method" title="Zabbix::Sender::Batch#itemclass (method)">#itemclass</a></span>
|
186
|
+
<small>Zabbix::Sender::Batch</small>
|
187
|
+
</div>
|
188
|
+
</li>
|
189
|
+
|
190
|
+
|
191
|
+
<li class="odd ">
|
184
192
|
<div class="item">
|
185
193
|
<span class='object_link'><a href="Zabbix/Sender/ItemData.html#key-instance_method" title="Zabbix::Sender::ItemData#key (method)">#key</a></span>
|
186
194
|
<small>Zabbix::Sender::ItemData</small>
|
@@ -188,7 +196,7 @@
|
|
188
196
|
</li>
|
189
197
|
|
190
198
|
|
191
|
-
<li class="
|
199
|
+
<li class="even ">
|
192
200
|
<div class="item">
|
193
201
|
<span class='object_link'><a href="Zabbix/Sender/Connection.html#open-instance_method" title="Zabbix::Sender::Connection#open (method)">#open</a></span>
|
194
202
|
<small>Zabbix::Sender::Connection</small>
|
@@ -196,7 +204,7 @@
|
|
196
204
|
</li>
|
197
205
|
|
198
206
|
|
199
|
-
<li class="
|
207
|
+
<li class="odd ">
|
200
208
|
<div class="item">
|
201
209
|
<span class='object_link'><a href="Zabbix/Sender/Socket.html#open-instance_method" title="Zabbix::Sender::Socket#open (method)">#open</a></span>
|
202
210
|
<small>Zabbix::Sender::Socket</small>
|
@@ -204,7 +212,7 @@
|
|
204
212
|
</li>
|
205
213
|
|
206
214
|
|
207
|
-
<li class="
|
215
|
+
<li class="even ">
|
208
216
|
<div class="item">
|
209
217
|
<span class='object_link'><a href="Zabbix/Sender/Pipe.html#open-instance_method" title="Zabbix::Sender::Pipe#open (method)">#open</a></span>
|
210
218
|
<small>Zabbix::Sender::Pipe</small>
|
@@ -212,7 +220,7 @@
|
|
212
220
|
</li>
|
213
221
|
|
214
222
|
|
215
|
-
<li class="
|
223
|
+
<li class="odd ">
|
216
224
|
<div class="item">
|
217
225
|
<span class='object_link'><a href="Zabbix/Sender/Connection.html#pipe-instance_method" title="Zabbix::Sender::Connection#pipe (method)">#pipe</a></span>
|
218
226
|
<small>Zabbix::Sender::Connection</small>
|
@@ -220,7 +228,7 @@
|
|
220
228
|
</li>
|
221
229
|
|
222
230
|
|
223
|
-
<li class="
|
231
|
+
<li class="even ">
|
224
232
|
<div class="item">
|
225
233
|
<span class='object_link'><a href="Zabbix/Sender/Socket.html#port-instance_method" title="Zabbix::Sender::Socket#port (method)">#port</a></span>
|
226
234
|
<small>Zabbix::Sender::Socket</small>
|
@@ -228,7 +236,7 @@
|
|
228
236
|
</li>
|
229
237
|
|
230
238
|
|
231
|
-
<li class="
|
239
|
+
<li class="odd ">
|
232
240
|
<div class="item">
|
233
241
|
<span class='object_link'><a href="Zabbix/Sender/Connection.html#sendBatch-instance_method" title="Zabbix::Sender::Connection#sendBatch (method)">#sendBatch</a></span>
|
234
242
|
<small>Zabbix::Sender::Connection</small>
|
@@ -236,7 +244,7 @@
|
|
236
244
|
</li>
|
237
245
|
|
238
246
|
|
239
|
-
<li class="
|
247
|
+
<li class="even ">
|
240
248
|
<div class="item">
|
241
249
|
<span class='object_link'><a href="Zabbix/Sender/Socket.html#sendBatch-instance_method" title="Zabbix::Sender::Socket#sendBatch (method)">#sendBatch</a></span>
|
242
250
|
<small>Zabbix::Sender::Socket</small>
|
@@ -244,7 +252,7 @@
|
|
244
252
|
</li>
|
245
253
|
|
246
254
|
|
247
|
-
<li class="
|
255
|
+
<li class="odd ">
|
248
256
|
<div class="item">
|
249
257
|
<span class='object_link'><a href="Zabbix/Sender/Pipe.html#sendBatch-instance_method" title="Zabbix::Sender::Pipe#sendBatch (method)">#sendBatch</a></span>
|
250
258
|
<small>Zabbix::Sender::Pipe</small>
|
@@ -252,7 +260,7 @@
|
|
252
260
|
</li>
|
253
261
|
|
254
262
|
|
255
|
-
<li class="
|
263
|
+
<li class="even ">
|
256
264
|
<div class="item">
|
257
265
|
<span class='object_link'><a href="Zabbix/Sender/Connection.html#sendBatchAtomic-instance_method" title="Zabbix::Sender::Connection#sendBatchAtomic (method)">#sendBatchAtomic</a></span>
|
258
266
|
<small>Zabbix::Sender::Connection</small>
|
@@ -260,7 +268,7 @@
|
|
260
268
|
</li>
|
261
269
|
|
262
270
|
|
263
|
-
<li class="
|
271
|
+
<li class="odd ">
|
264
272
|
<div class="item">
|
265
273
|
<span class='object_link'><a href="Zabbix/Sender/Connection.html#targetHost-instance_method" title="Zabbix::Sender::Connection#targetHost (method)">#targetHost</a></span>
|
266
274
|
<small>Zabbix::Sender::Connection</small>
|
@@ -268,7 +276,7 @@
|
|
268
276
|
</li>
|
269
277
|
|
270
278
|
|
271
|
-
<li class="
|
279
|
+
<li class="even ">
|
272
280
|
<div class="item">
|
273
281
|
<span class='object_link'><a href="Zabbix/Sender/ItemData.html#timestamp-instance_method" title="Zabbix::Sender::ItemData#timestamp (method)">#timestamp</a></span>
|
274
282
|
<small>Zabbix::Sender::ItemData</small>
|
@@ -276,7 +284,7 @@
|
|
276
284
|
</li>
|
277
285
|
|
278
286
|
|
279
|
-
<li class="
|
287
|
+
<li class="odd ">
|
280
288
|
<div class="item">
|
281
289
|
<span class='object_link'><a href="Zabbix/Sender/Discovery.html#to_discodata-instance_method" title="Zabbix::Sender::Discovery#to_discodata (method)">#to_discodata</a></span>
|
282
290
|
<small>Zabbix::Sender::Discovery</small>
|
@@ -284,7 +292,7 @@
|
|
284
292
|
</li>
|
285
293
|
|
286
294
|
|
287
|
-
<li class="
|
295
|
+
<li class="even ">
|
288
296
|
<div class="item">
|
289
297
|
<span class='object_link'><a href="Zabbix/Sender/ItemData.html#to_senderline-instance_method" title="Zabbix::Sender::ItemData#to_senderline (method)">#to_senderline</a></span>
|
290
298
|
<small>Zabbix::Sender::ItemData</small>
|
@@ -292,6 +300,14 @@
|
|
292
300
|
</li>
|
293
301
|
|
294
302
|
|
303
|
+
<li class="odd ">
|
304
|
+
<div class="item">
|
305
|
+
<span class='object_link'><a href="Zabbix/Sender/NanosecondItemData.html#to_senderline-instance_method" title="Zabbix::Sender::NanosecondItemData#to_senderline (method)">#to_senderline</a></span>
|
306
|
+
<small>Zabbix::Sender::NanosecondItemData</small>
|
307
|
+
</div>
|
308
|
+
</li>
|
309
|
+
|
310
|
+
|
295
311
|
<li class="even ">
|
296
312
|
<div class="item">
|
297
313
|
<span class='object_link'><a href="Zabbix/Sender/Discovery.html#to_senderline-instance_method" title="Zabbix::Sender::Discovery#to_senderline (method)">#to_senderline</a></span>
|
@@ -317,6 +333,14 @@
|
|
317
333
|
|
318
334
|
|
319
335
|
<li class="odd ">
|
336
|
+
<div class="item">
|
337
|
+
<span class='object_link'><a href="Zabbix/Sender/NanosecondItemData.html#to_senderstruct-instance_method" title="Zabbix::Sender::NanosecondItemData#to_senderstruct (method)">#to_senderstruct</a></span>
|
338
|
+
<small>Zabbix::Sender::NanosecondItemData</small>
|
339
|
+
</div>
|
340
|
+
</li>
|
341
|
+
|
342
|
+
|
343
|
+
<li class="even ">
|
320
344
|
<div class="item">
|
321
345
|
<span class='object_link'><a href="Zabbix/Sender/Discovery.html#to_senderstruct-instance_method" title="Zabbix::Sender::Discovery#to_senderstruct (method)">#to_senderstruct</a></span>
|
322
346
|
<small>Zabbix::Sender::Discovery</small>
|
@@ -324,7 +348,7 @@
|
|
324
348
|
</li>
|
325
349
|
|
326
350
|
|
327
|
-
<li class="
|
351
|
+
<li class="odd ">
|
328
352
|
<div class="item">
|
329
353
|
<span class='object_link'><a href="Zabbix/Sender/Batch.html#to_senderstruct-instance_method" title="Zabbix::Sender::Batch#to_senderstruct (method)">#to_senderstruct</a></span>
|
330
354
|
<small>Zabbix::Sender::Batch</small>
|
@@ -332,7 +356,7 @@
|
|
332
356
|
</li>
|
333
357
|
|
334
358
|
|
335
|
-
<li class="
|
359
|
+
<li class="even ">
|
336
360
|
<div class="item">
|
337
361
|
<span class='object_link'><a href="Zabbix/Sender/ItemData.html#value-instance_method" title="Zabbix::Sender::ItemData#value (method)">#value</a></span>
|
338
362
|
<small>Zabbix::Sender::ItemData</small>
|
@@ -340,7 +364,7 @@
|
|
340
364
|
</li>
|
341
365
|
|
342
366
|
|
343
|
-
<li class="
|
367
|
+
<li class="odd ">
|
344
368
|
<div class="item">
|
345
369
|
<span class='object_link'><a href="Zabbix/AgentConfiguration.html#zabbixHostname-class_method" title="Zabbix::AgentConfiguration.zabbixHostname (method)">zabbixHostname</a></span>
|
346
370
|
<small>Zabbix::AgentConfiguration</small>
|
@@ -348,7 +372,7 @@
|
|
348
372
|
</li>
|
349
373
|
|
350
374
|
|
351
|
-
<li class="
|
375
|
+
<li class="even ">
|
352
376
|
<div class="item">
|
353
377
|
<span class='object_link'><a href="Zabbix/AgentConfiguration.html#zabbixProxy-class_method" title="Zabbix::AgentConfiguration.zabbixProxy (method)">zabbixProxy</a></span>
|
354
378
|
<small>Zabbix::AgentConfiguration</small>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Top Level Namespace
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -100,9 +100,9 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
104
|
-
<a href="
|
105
|
-
0.9.
|
103
|
+
Generated on Fri Jan 3 16:13:55 2025 by
|
104
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
+
0.9.36 (ruby-3.2.2).
|
106
106
|
</div>
|
107
107
|
|
108
108
|
</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.
|
4
|
+
version: 1.1.4
|
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: 2025-01-07 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
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- public/Zabbix/Sender/Connection.html
|
49
49
|
- public/Zabbix/Sender/Discovery.html
|
50
50
|
- public/Zabbix/Sender/ItemData.html
|
51
|
+
- public/Zabbix/Sender/NanosecondItemData.html
|
51
52
|
- public/Zabbix/Sender/Pipe.html
|
52
53
|
- public/Zabbix/Sender/Socket.html
|
53
54
|
- public/ZabbixSenderApi.html
|
@@ -95,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '0'
|
97
98
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
99
|
+
rubygems_version: 3.5.19
|
99
100
|
signing_key:
|
100
101
|
specification_version: 4
|
101
102
|
summary: Ruby library that greatly simplifies sending data to Zabbix via the sender/trapper
|