zabbix-ruby-client 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,419 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <zabbix_export>
3
+ <version>2.0</version>
4
+ <date>2013-09-24T22:00:12Z</date>
5
+ <groups>
6
+ <group>
7
+ <name>Linux servers</name>
8
+ </group>
9
+ </groups>
10
+ <templates>
11
+ <template>
12
+ <template>Network</template>
13
+ <name>Network (zrc)</name>
14
+ <groups>
15
+ <group>
16
+ <name>Linux servers</name>
17
+ </group>
18
+ </groups>
19
+ <applications>
20
+ <application>
21
+ <name>Network</name>
22
+ </application>
23
+ </applications>
24
+ <items/>
25
+ <discovery_rules>
26
+ <discovery_rule>
27
+ <name>Network Interfaces</name>
28
+ <type>2</type>
29
+ <snmp_community/>
30
+ <snmp_oid/>
31
+ <key>net.if.discovery</key>
32
+ <delay>0</delay>
33
+ <status>0</status>
34
+ <allowed_hosts/>
35
+ <snmpv3_securityname/>
36
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
37
+ <snmpv3_authpassphrase/>
38
+ <snmpv3_privpassphrase/>
39
+ <delay_flex/>
40
+ <params/>
41
+ <ipmi_sensor/>
42
+ <authtype>0</authtype>
43
+ <username/>
44
+ <password/>
45
+ <publickey/>
46
+ <privatekey/>
47
+ <port/>
48
+ <filter>:</filter>
49
+ <lifetime>90</lifetime>
50
+ <description>Discover Network interface</description>
51
+ <item_prototypes>
52
+ <item_prototype>
53
+ <name>$1 receive Drop</name>
54
+ <type>2</type>
55
+ <snmp_community/>
56
+ <multiplier>1</multiplier>
57
+ <snmp_oid/>
58
+ <key>net.rx_drop[{#NET_IF}]</key>
59
+ <delay>0</delay>
60
+ <history>90</history>
61
+ <trends>365</trends>
62
+ <status>0</status>
63
+ <value_type>0</value_type>
64
+ <allowed_hosts/>
65
+ <units>B/s</units>
66
+ <delta>2</delta>
67
+ <snmpv3_securityname/>
68
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
69
+ <snmpv3_authpassphrase/>
70
+ <snmpv3_privpassphrase/>
71
+ <formula>11</formula>
72
+ <delay_flex/>
73
+ <params/>
74
+ <ipmi_sensor/>
75
+ <data_type>0</data_type>
76
+ <authtype>0</authtype>
77
+ <username/>
78
+ <password/>
79
+ <publickey/>
80
+ <privatekey/>
81
+ <port/>
82
+ <description/>
83
+ <inventory_link>0</inventory_link>
84
+ <applications>
85
+ <application>
86
+ <name>Network</name>
87
+ </application>
88
+ </applications>
89
+ <valuemap/>
90
+ </item_prototype>
91
+ <item_prototype>
92
+ <name>$1 receive Err</name>
93
+ <type>2</type>
94
+ <snmp_community/>
95
+ <multiplier>1</multiplier>
96
+ <snmp_oid/>
97
+ <key>net.rx_err[{#NET_IF}]</key>
98
+ <delay>0</delay>
99
+ <history>90</history>
100
+ <trends>365</trends>
101
+ <status>0</status>
102
+ <value_type>0</value_type>
103
+ <allowed_hosts/>
104
+ <units>B/s</units>
105
+ <delta>2</delta>
106
+ <snmpv3_securityname/>
107
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
108
+ <snmpv3_authpassphrase/>
109
+ <snmpv3_privpassphrase/>
110
+ <formula>-1</formula>
111
+ <delay_flex/>
112
+ <params/>
113
+ <ipmi_sensor/>
114
+ <data_type>0</data_type>
115
+ <authtype>0</authtype>
116
+ <username/>
117
+ <password/>
118
+ <publickey/>
119
+ <privatekey/>
120
+ <port/>
121
+ <description/>
122
+ <inventory_link>0</inventory_link>
123
+ <applications>
124
+ <application>
125
+ <name>Network</name>
126
+ </application>
127
+ </applications>
128
+ <valuemap/>
129
+ </item_prototype>
130
+ <item_prototype>
131
+ <name>$1 receive OK</name>
132
+ <type>2</type>
133
+ <snmp_community/>
134
+ <multiplier>1</multiplier>
135
+ <snmp_oid/>
136
+ <key>net.rx_ok[{#NET_IF}]</key>
137
+ <delay>0</delay>
138
+ <history>90</history>
139
+ <trends>365</trends>
140
+ <status>0</status>
141
+ <value_type>0</value_type>
142
+ <allowed_hosts/>
143
+ <units>B/s</units>
144
+ <delta>2</delta>
145
+ <snmpv3_securityname/>
146
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
147
+ <snmpv3_authpassphrase/>
148
+ <snmpv3_privpassphrase/>
149
+ <formula>-1</formula>
150
+ <delay_flex/>
151
+ <params/>
152
+ <ipmi_sensor/>
153
+ <data_type>0</data_type>
154
+ <authtype>0</authtype>
155
+ <username/>
156
+ <password/>
157
+ <publickey/>
158
+ <privatekey/>
159
+ <port/>
160
+ <description/>
161
+ <inventory_link>0</inventory_link>
162
+ <applications>
163
+ <application>
164
+ <name>Network</name>
165
+ </application>
166
+ </applications>
167
+ <valuemap/>
168
+ </item_prototype>
169
+ <item_prototype>
170
+ <name>$1 receive Over</name>
171
+ <type>2</type>
172
+ <snmp_community/>
173
+ <multiplier>1</multiplier>
174
+ <snmp_oid/>
175
+ <key>net.rx_over[{#NET_IF}]</key>
176
+ <delay>0</delay>
177
+ <history>90</history>
178
+ <trends>365</trends>
179
+ <status>0</status>
180
+ <value_type>0</value_type>
181
+ <allowed_hosts/>
182
+ <units>B/s</units>
183
+ <delta>2</delta>
184
+ <snmpv3_securityname/>
185
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
186
+ <snmpv3_authpassphrase/>
187
+ <snmpv3_privpassphrase/>
188
+ <formula>-1</formula>
189
+ <delay_flex/>
190
+ <params/>
191
+ <ipmi_sensor/>
192
+ <data_type>0</data_type>
193
+ <authtype>0</authtype>
194
+ <username/>
195
+ <password/>
196
+ <publickey/>
197
+ <privatekey/>
198
+ <port/>
199
+ <description/>
200
+ <inventory_link>0</inventory_link>
201
+ <applications>
202
+ <application>
203
+ <name>Network</name>
204
+ </application>
205
+ </applications>
206
+ <valuemap/>
207
+ </item_prototype>
208
+ <item_prototype>
209
+ <name>$1 transmit Drop</name>
210
+ <type>2</type>
211
+ <snmp_community/>
212
+ <multiplier>0</multiplier>
213
+ <snmp_oid/>
214
+ <key>net.tx_drop[{#NET_IF}]</key>
215
+ <delay>0</delay>
216
+ <history>90</history>
217
+ <trends>365</trends>
218
+ <status>0</status>
219
+ <value_type>3</value_type>
220
+ <allowed_hosts/>
221
+ <units>B/s</units>
222
+ <delta>2</delta>
223
+ <snmpv3_securityname/>
224
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
225
+ <snmpv3_authpassphrase/>
226
+ <snmpv3_privpassphrase/>
227
+ <formula>1</formula>
228
+ <delay_flex/>
229
+ <params/>
230
+ <ipmi_sensor/>
231
+ <data_type>0</data_type>
232
+ <authtype>0</authtype>
233
+ <username/>
234
+ <password/>
235
+ <publickey/>
236
+ <privatekey/>
237
+ <port/>
238
+ <description/>
239
+ <inventory_link>0</inventory_link>
240
+ <applications>
241
+ <application>
242
+ <name>Network</name>
243
+ </application>
244
+ </applications>
245
+ <valuemap/>
246
+ </item_prototype>
247
+ <item_prototype>
248
+ <name>$1 transmit Err</name>
249
+ <type>2</type>
250
+ <snmp_community/>
251
+ <multiplier>0</multiplier>
252
+ <snmp_oid/>
253
+ <key>net.tx_err[{#NET_IF}]</key>
254
+ <delay>0</delay>
255
+ <history>90</history>
256
+ <trends>365</trends>
257
+ <status>0</status>
258
+ <value_type>3</value_type>
259
+ <allowed_hosts/>
260
+ <units>B/s</units>
261
+ <delta>2</delta>
262
+ <snmpv3_securityname/>
263
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
264
+ <snmpv3_authpassphrase/>
265
+ <snmpv3_privpassphrase/>
266
+ <formula>1</formula>
267
+ <delay_flex/>
268
+ <params/>
269
+ <ipmi_sensor/>
270
+ <data_type>0</data_type>
271
+ <authtype>0</authtype>
272
+ <username/>
273
+ <password/>
274
+ <publickey/>
275
+ <privatekey/>
276
+ <port/>
277
+ <description/>
278
+ <inventory_link>0</inventory_link>
279
+ <applications>
280
+ <application>
281
+ <name>Network</name>
282
+ </application>
283
+ </applications>
284
+ <valuemap/>
285
+ </item_prototype>
286
+ <item_prototype>
287
+ <name>$1 transmit OK</name>
288
+ <type>2</type>
289
+ <snmp_community/>
290
+ <multiplier>0</multiplier>
291
+ <snmp_oid/>
292
+ <key>net.tx_ok[{#NET_IF}]</key>
293
+ <delay>0</delay>
294
+ <history>90</history>
295
+ <trends>365</trends>
296
+ <status>0</status>
297
+ <value_type>3</value_type>
298
+ <allowed_hosts/>
299
+ <units>B/s</units>
300
+ <delta>2</delta>
301
+ <snmpv3_securityname/>
302
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
303
+ <snmpv3_authpassphrase/>
304
+ <snmpv3_privpassphrase/>
305
+ <formula>1</formula>
306
+ <delay_flex/>
307
+ <params/>
308
+ <ipmi_sensor/>
309
+ <data_type>0</data_type>
310
+ <authtype>0</authtype>
311
+ <username/>
312
+ <password/>
313
+ <publickey/>
314
+ <privatekey/>
315
+ <port/>
316
+ <description/>
317
+ <inventory_link>0</inventory_link>
318
+ <applications>
319
+ <application>
320
+ <name>Network</name>
321
+ </application>
322
+ </applications>
323
+ <valuemap/>
324
+ </item_prototype>
325
+ <item_prototype>
326
+ <name>$1 transmit Over</name>
327
+ <type>2</type>
328
+ <snmp_community/>
329
+ <multiplier>0</multiplier>
330
+ <snmp_oid/>
331
+ <key>net.tx_over[{#NET_IF}]</key>
332
+ <delay>0</delay>
333
+ <history>90</history>
334
+ <trends>365</trends>
335
+ <status>0</status>
336
+ <value_type>3</value_type>
337
+ <allowed_hosts/>
338
+ <units>B/s</units>
339
+ <delta>2</delta>
340
+ <snmpv3_securityname/>
341
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
342
+ <snmpv3_authpassphrase/>
343
+ <snmpv3_privpassphrase/>
344
+ <formula>1</formula>
345
+ <delay_flex/>
346
+ <params/>
347
+ <ipmi_sensor/>
348
+ <data_type>0</data_type>
349
+ <authtype>0</authtype>
350
+ <username/>
351
+ <password/>
352
+ <publickey/>
353
+ <privatekey/>
354
+ <port/>
355
+ <description/>
356
+ <inventory_link>0</inventory_link>
357
+ <applications>
358
+ <application>
359
+ <name>Network</name>
360
+ </application>
361
+ </applications>
362
+ <valuemap/>
363
+ </item_prototype>
364
+ </item_prototypes>
365
+ <trigger_prototypes/>
366
+ <graph_prototypes>
367
+ <graph_prototype>
368
+ <name>{#NET_IF} network traffic</name>
369
+ <width>900</width>
370
+ <height>200</height>
371
+ <yaxismin>0.0000</yaxismin>
372
+ <yaxismax>100.0000</yaxismax>
373
+ <show_work_period>1</show_work_period>
374
+ <show_triggers>1</show_triggers>
375
+ <type>0</type>
376
+ <show_legend>1</show_legend>
377
+ <show_3d>0</show_3d>
378
+ <percent_left>0.0000</percent_left>
379
+ <percent_right>0.0000</percent_right>
380
+ <ymin_type_1>0</ymin_type_1>
381
+ <ymax_type_1>0</ymax_type_1>
382
+ <ymin_item_1>0</ymin_item_1>
383
+ <ymax_item_1>0</ymax_item_1>
384
+ <graph_items>
385
+ <graph_item>
386
+ <sortorder>0</sortorder>
387
+ <drawtype>0</drawtype>
388
+ <color>6666FF</color>
389
+ <yaxisside>0</yaxisside>
390
+ <calc_fnc>7</calc_fnc>
391
+ <type>0</type>
392
+ <item>
393
+ <host>Network</host>
394
+ <key>net.rx_ok[{#NET_IF}]</key>
395
+ </item>
396
+ </graph_item>
397
+ <graph_item>
398
+ <sortorder>1</sortorder>
399
+ <drawtype>0</drawtype>
400
+ <color>00C800</color>
401
+ <yaxisside>0</yaxisside>
402
+ <calc_fnc>7</calc_fnc>
403
+ <type>0</type>
404
+ <item>
405
+ <host>Network</host>
406
+ <key>net.tx_ok[{#NET_IF}]</key>
407
+ </item>
408
+ </graph_item>
409
+ </graph_items>
410
+ </graph_prototype>
411
+ </graph_prototypes>
412
+ </discovery_rule>
413
+ </discovery_rules>
414
+ <macros/>
415
+ <templates/>
416
+ <screens/>
417
+ </template>
418
+ </templates>
419
+ </zabbix_export>
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - mose
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-23 00:00:00.000000000 Z
11
+ date: 2013-09-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: thor
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,33 +41,29 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: A zabbix alternative to zabbix-agent using zabbix-sender.
@@ -119,36 +110,33 @@ files:
119
110
  - templates/client/Gemfile
120
111
  - templates/client/config.yml
121
112
  - zabbix-ruby-client.gemspec
113
+ - zabbix-templates/apache_tpl.xml
114
+ - zabbix-templates/cpu_tpl.xml
115
+ - zabbix-templates/memory_tpl.xml
116
+ - zabbix-templates/network_tpl.xml
122
117
  homepage: https://github.com/eduvo/zabbix-ruby-client
123
118
  licenses:
124
119
  - MIT
120
+ metadata: {}
125
121
  post_install_message:
126
122
  rdoc_options: []
127
123
  require_paths:
128
124
  - lib
129
125
  required_ruby_version: !ruby/object:Gem::Requirement
130
- none: false
131
126
  requirements:
132
- - - ! '>='
127
+ - - '>='
133
128
  - !ruby/object:Gem::Version
134
129
  version: '0'
135
- segments:
136
- - 0
137
- hash: -2783286061037067078
138
130
  required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
131
  requirements:
141
- - - ! '>='
132
+ - - '>='
142
133
  - !ruby/object:Gem::Version
143
134
  version: '0'
144
- segments:
145
- - 0
146
- hash: -2783286061037067078
147
135
  requirements: []
148
136
  rubyforge_project:
149
- rubygems_version: 1.8.23
137
+ rubygems_version: 2.0.3
150
138
  signing_key:
151
- specification_version: 3
139
+ specification_version: 4
152
140
  summary: This tool is intended to use zabbix sender to propagate monitoring data for
153
141
  Zabbix server.
154
142
  test_files: