sky_zabbix 2.4.0.1.0 → 2.4.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/sky_zabbix/methods.json +1033 -0
- data/lib/sky_zabbix/version.rb +1 -1
- data/sky_zabbix.gemspec +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fb647d368370fcae96f40b4bec79c2c8ac12df2
|
4
|
+
data.tar.gz: 609a93e458e73c4722ae198b1057b17ab346f1b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b47e355888f9778153849432a4616b676b2c7417262ae9533a19f7d7d77de807d98a84147096ac84e426b113cb443e2b8488335706a98be27b0de82ef480e1
|
7
|
+
data.tar.gz: 7bfea44310ff870fadc04bb8f05b59576a709a1b92f6f81468a25555203fe5c5e588de5cc2969f872f55f84ec5400d465d68e38dad6c0bf0d093fd3af7627459
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# SkyZabbix
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/sky_zabbix.svg)](http://badge.fury.io/rb/sky_zabbix)
|
4
|
+
[![Inline docs](http://inch-ci.org/github/skyarch-networks/sky_zabbix.svg?branch=master)](http://inch-ci.org/github/skyarch-networks/sky_zabbix)
|
5
|
+
|
3
6
|
SkyZabbix is a Zabbix API Wrapper written by Ruby.
|
4
7
|
|
5
8
|
## Installation
|
@@ -0,0 +1,1033 @@
|
|
1
|
+
{
|
2
|
+
"methods": {
|
3
|
+
"action": {
|
4
|
+
"getOptions": [
|
5
|
+
"filter",
|
6
|
+
"search",
|
7
|
+
"searchByAny",
|
8
|
+
"startSearch",
|
9
|
+
"excludeSearch",
|
10
|
+
"searchWildcardsEnabled",
|
11
|
+
"output",
|
12
|
+
"countOutput",
|
13
|
+
"groupCount",
|
14
|
+
"preservekeys",
|
15
|
+
"limit"
|
16
|
+
],
|
17
|
+
"pk": "actionid",
|
18
|
+
"methods": [
|
19
|
+
"get",
|
20
|
+
"exists",
|
21
|
+
"create",
|
22
|
+
"update",
|
23
|
+
"delete",
|
24
|
+
"validateoperationsintegrity",
|
25
|
+
"validateoperationconditions",
|
26
|
+
"validatecreate",
|
27
|
+
"validateupdate"
|
28
|
+
]
|
29
|
+
},
|
30
|
+
"alert": {
|
31
|
+
"getOptions": [
|
32
|
+
"filter",
|
33
|
+
"search",
|
34
|
+
"searchByAny",
|
35
|
+
"startSearch",
|
36
|
+
"excludeSearch",
|
37
|
+
"searchWildcardsEnabled",
|
38
|
+
"output",
|
39
|
+
"countOutput",
|
40
|
+
"groupCount",
|
41
|
+
"preservekeys",
|
42
|
+
"limit"
|
43
|
+
],
|
44
|
+
"pk": "alertid",
|
45
|
+
"methods": [
|
46
|
+
"get"
|
47
|
+
]
|
48
|
+
},
|
49
|
+
"apiinfo": {
|
50
|
+
"getOptions": [
|
51
|
+
"filter",
|
52
|
+
"search",
|
53
|
+
"searchByAny",
|
54
|
+
"startSearch",
|
55
|
+
"excludeSearch",
|
56
|
+
"searchWildcardsEnabled",
|
57
|
+
"output",
|
58
|
+
"countOutput",
|
59
|
+
"groupCount",
|
60
|
+
"preservekeys",
|
61
|
+
"limit"
|
62
|
+
],
|
63
|
+
"pk": null,
|
64
|
+
"methods": [
|
65
|
+
"version"
|
66
|
+
]
|
67
|
+
},
|
68
|
+
"application": {
|
69
|
+
"getOptions": [
|
70
|
+
"filter",
|
71
|
+
"search",
|
72
|
+
"searchByAny",
|
73
|
+
"startSearch",
|
74
|
+
"excludeSearch",
|
75
|
+
"searchWildcardsEnabled",
|
76
|
+
"output",
|
77
|
+
"countOutput",
|
78
|
+
"groupCount",
|
79
|
+
"preservekeys",
|
80
|
+
"limit"
|
81
|
+
],
|
82
|
+
"pk": "applicationid",
|
83
|
+
"methods": [
|
84
|
+
"get",
|
85
|
+
"exists",
|
86
|
+
"checkinput",
|
87
|
+
"create",
|
88
|
+
"update",
|
89
|
+
"delete",
|
90
|
+
"massadd"
|
91
|
+
]
|
92
|
+
},
|
93
|
+
"configuration": {
|
94
|
+
"getOptions": [
|
95
|
+
"filter",
|
96
|
+
"search",
|
97
|
+
"searchByAny",
|
98
|
+
"startSearch",
|
99
|
+
"excludeSearch",
|
100
|
+
"searchWildcardsEnabled",
|
101
|
+
"output",
|
102
|
+
"countOutput",
|
103
|
+
"groupCount",
|
104
|
+
"preservekeys",
|
105
|
+
"limit"
|
106
|
+
],
|
107
|
+
"pk": null,
|
108
|
+
"methods": [
|
109
|
+
"export",
|
110
|
+
"import"
|
111
|
+
]
|
112
|
+
},
|
113
|
+
"dcheck": {
|
114
|
+
"getOptions": [
|
115
|
+
"filter",
|
116
|
+
"search",
|
117
|
+
"searchByAny",
|
118
|
+
"startSearch",
|
119
|
+
"excludeSearch",
|
120
|
+
"searchWildcardsEnabled",
|
121
|
+
"output",
|
122
|
+
"countOutput",
|
123
|
+
"groupCount",
|
124
|
+
"preservekeys",
|
125
|
+
"limit"
|
126
|
+
],
|
127
|
+
"pk": "dcheckid",
|
128
|
+
"methods": [
|
129
|
+
"get",
|
130
|
+
"isreadable",
|
131
|
+
"iswritable"
|
132
|
+
]
|
133
|
+
},
|
134
|
+
"dhost": {
|
135
|
+
"getOptions": [
|
136
|
+
"filter",
|
137
|
+
"search",
|
138
|
+
"searchByAny",
|
139
|
+
"startSearch",
|
140
|
+
"excludeSearch",
|
141
|
+
"searchWildcardsEnabled",
|
142
|
+
"output",
|
143
|
+
"countOutput",
|
144
|
+
"groupCount",
|
145
|
+
"preservekeys",
|
146
|
+
"limit"
|
147
|
+
],
|
148
|
+
"pk": "dhostid",
|
149
|
+
"methods": [
|
150
|
+
"get",
|
151
|
+
"exists"
|
152
|
+
]
|
153
|
+
},
|
154
|
+
"discoveryrule": {
|
155
|
+
"getOptions": [
|
156
|
+
"filter",
|
157
|
+
"search",
|
158
|
+
"searchByAny",
|
159
|
+
"startSearch",
|
160
|
+
"excludeSearch",
|
161
|
+
"searchWildcardsEnabled",
|
162
|
+
"output",
|
163
|
+
"countOutput",
|
164
|
+
"groupCount",
|
165
|
+
"preservekeys",
|
166
|
+
"limit"
|
167
|
+
],
|
168
|
+
"pk": "itemid",
|
169
|
+
"methods": [
|
170
|
+
"get",
|
171
|
+
"exists",
|
172
|
+
"create",
|
173
|
+
"update",
|
174
|
+
"delete",
|
175
|
+
"copy",
|
176
|
+
"synctemplates",
|
177
|
+
"isreadable",
|
178
|
+
"iswritable",
|
179
|
+
"findinterfaceforitem"
|
180
|
+
]
|
181
|
+
},
|
182
|
+
"drule": {
|
183
|
+
"getOptions": [
|
184
|
+
"filter",
|
185
|
+
"search",
|
186
|
+
"searchByAny",
|
187
|
+
"startSearch",
|
188
|
+
"excludeSearch",
|
189
|
+
"searchWildcardsEnabled",
|
190
|
+
"output",
|
191
|
+
"countOutput",
|
192
|
+
"groupCount",
|
193
|
+
"preservekeys",
|
194
|
+
"limit"
|
195
|
+
],
|
196
|
+
"pk": "druleid",
|
197
|
+
"methods": [
|
198
|
+
"get",
|
199
|
+
"exists",
|
200
|
+
"checkinput",
|
201
|
+
"create",
|
202
|
+
"update",
|
203
|
+
"delete",
|
204
|
+
"isreadable",
|
205
|
+
"iswritable"
|
206
|
+
]
|
207
|
+
},
|
208
|
+
"dservice": {
|
209
|
+
"getOptions": [
|
210
|
+
"filter",
|
211
|
+
"search",
|
212
|
+
"searchByAny",
|
213
|
+
"startSearch",
|
214
|
+
"excludeSearch",
|
215
|
+
"searchWildcardsEnabled",
|
216
|
+
"output",
|
217
|
+
"countOutput",
|
218
|
+
"groupCount",
|
219
|
+
"preservekeys",
|
220
|
+
"limit"
|
221
|
+
],
|
222
|
+
"pk": "dserviceid",
|
223
|
+
"methods": [
|
224
|
+
"get",
|
225
|
+
"exists"
|
226
|
+
]
|
227
|
+
},
|
228
|
+
"event": {
|
229
|
+
"getOptions": [
|
230
|
+
"filter",
|
231
|
+
"search",
|
232
|
+
"searchByAny",
|
233
|
+
"startSearch",
|
234
|
+
"excludeSearch",
|
235
|
+
"searchWildcardsEnabled",
|
236
|
+
"output",
|
237
|
+
"countOutput",
|
238
|
+
"groupCount",
|
239
|
+
"preservekeys",
|
240
|
+
"limit"
|
241
|
+
],
|
242
|
+
"pk": "eventid",
|
243
|
+
"methods": [
|
244
|
+
"get",
|
245
|
+
"acknowledge"
|
246
|
+
]
|
247
|
+
},
|
248
|
+
"graph": {
|
249
|
+
"getOptions": [
|
250
|
+
"filter",
|
251
|
+
"search",
|
252
|
+
"searchByAny",
|
253
|
+
"startSearch",
|
254
|
+
"excludeSearch",
|
255
|
+
"searchWildcardsEnabled",
|
256
|
+
"output",
|
257
|
+
"countOutput",
|
258
|
+
"groupCount",
|
259
|
+
"preservekeys",
|
260
|
+
"limit"
|
261
|
+
],
|
262
|
+
"pk": "graphid",
|
263
|
+
"methods": [
|
264
|
+
"get",
|
265
|
+
"synctemplates",
|
266
|
+
"delete",
|
267
|
+
"update",
|
268
|
+
"create",
|
269
|
+
"exists",
|
270
|
+
"getobjects"
|
271
|
+
]
|
272
|
+
},
|
273
|
+
"graphitem": {
|
274
|
+
"getOptions": [
|
275
|
+
"filter",
|
276
|
+
"search",
|
277
|
+
"searchByAny",
|
278
|
+
"startSearch",
|
279
|
+
"excludeSearch",
|
280
|
+
"searchWildcardsEnabled",
|
281
|
+
"output",
|
282
|
+
"countOutput",
|
283
|
+
"groupCount",
|
284
|
+
"preservekeys",
|
285
|
+
"limit"
|
286
|
+
],
|
287
|
+
"pk": "gitemid",
|
288
|
+
"methods": [
|
289
|
+
"get"
|
290
|
+
]
|
291
|
+
},
|
292
|
+
"graphprototype": {
|
293
|
+
"getOptions": [
|
294
|
+
"filter",
|
295
|
+
"search",
|
296
|
+
"searchByAny",
|
297
|
+
"startSearch",
|
298
|
+
"excludeSearch",
|
299
|
+
"searchWildcardsEnabled",
|
300
|
+
"output",
|
301
|
+
"countOutput",
|
302
|
+
"groupCount",
|
303
|
+
"preservekeys",
|
304
|
+
"limit"
|
305
|
+
],
|
306
|
+
"pk": "graphid",
|
307
|
+
"methods": [
|
308
|
+
"get",
|
309
|
+
"synctemplates",
|
310
|
+
"delete",
|
311
|
+
"update",
|
312
|
+
"create",
|
313
|
+
"exists",
|
314
|
+
"getobjects"
|
315
|
+
]
|
316
|
+
},
|
317
|
+
"host": {
|
318
|
+
"getOptions": [
|
319
|
+
"filter",
|
320
|
+
"search",
|
321
|
+
"searchByAny",
|
322
|
+
"startSearch",
|
323
|
+
"excludeSearch",
|
324
|
+
"searchWildcardsEnabled",
|
325
|
+
"output",
|
326
|
+
"countOutput",
|
327
|
+
"groupCount",
|
328
|
+
"preservekeys",
|
329
|
+
"limit"
|
330
|
+
],
|
331
|
+
"pk": "hostid",
|
332
|
+
"methods": [
|
333
|
+
"get",
|
334
|
+
"getobjects",
|
335
|
+
"exists",
|
336
|
+
"create",
|
337
|
+
"update",
|
338
|
+
"massadd",
|
339
|
+
"massupdate",
|
340
|
+
"massremove",
|
341
|
+
"delete",
|
342
|
+
"isreadable",
|
343
|
+
"iswritable"
|
344
|
+
]
|
345
|
+
},
|
346
|
+
"hostgroup": {
|
347
|
+
"getOptions": [
|
348
|
+
"filter",
|
349
|
+
"search",
|
350
|
+
"searchByAny",
|
351
|
+
"startSearch",
|
352
|
+
"excludeSearch",
|
353
|
+
"searchWildcardsEnabled",
|
354
|
+
"output",
|
355
|
+
"countOutput",
|
356
|
+
"groupCount",
|
357
|
+
"preservekeys",
|
358
|
+
"limit"
|
359
|
+
],
|
360
|
+
"pk": "groupid",
|
361
|
+
"methods": [
|
362
|
+
"get",
|
363
|
+
"getobjects",
|
364
|
+
"exists",
|
365
|
+
"create",
|
366
|
+
"update",
|
367
|
+
"delete",
|
368
|
+
"massadd",
|
369
|
+
"massremove",
|
370
|
+
"massupdate",
|
371
|
+
"isreadable",
|
372
|
+
"iswritable"
|
373
|
+
]
|
374
|
+
},
|
375
|
+
"hostprototype": {
|
376
|
+
"getOptions": [
|
377
|
+
"filter",
|
378
|
+
"search",
|
379
|
+
"searchByAny",
|
380
|
+
"startSearch",
|
381
|
+
"excludeSearch",
|
382
|
+
"searchWildcardsEnabled",
|
383
|
+
"output",
|
384
|
+
"countOutput",
|
385
|
+
"groupCount",
|
386
|
+
"preservekeys",
|
387
|
+
"limit",
|
388
|
+
"discoveryids",
|
389
|
+
"inherited",
|
390
|
+
"selectDiscoveryRule",
|
391
|
+
"selectGroupLinks",
|
392
|
+
"selectGroupPrototypes",
|
393
|
+
"selectParentHost",
|
394
|
+
"selectTemplates",
|
395
|
+
"selectInventory",
|
396
|
+
"editable",
|
397
|
+
"nopermissions",
|
398
|
+
"sortfield",
|
399
|
+
"sortorder"
|
400
|
+
],
|
401
|
+
"pk": "hostid",
|
402
|
+
"methods": [
|
403
|
+
"get",
|
404
|
+
"create",
|
405
|
+
"update",
|
406
|
+
"synctemplates",
|
407
|
+
"delete",
|
408
|
+
"isreadable",
|
409
|
+
"iswritable"
|
410
|
+
]
|
411
|
+
},
|
412
|
+
"history": {
|
413
|
+
"getOptions": [
|
414
|
+
|
415
|
+
],
|
416
|
+
"pk": null,
|
417
|
+
"methods": [
|
418
|
+
"get"
|
419
|
+
]
|
420
|
+
},
|
421
|
+
"hostinterface": {
|
422
|
+
"getOptions": [
|
423
|
+
"filter",
|
424
|
+
"search",
|
425
|
+
"searchByAny",
|
426
|
+
"startSearch",
|
427
|
+
"excludeSearch",
|
428
|
+
"searchWildcardsEnabled",
|
429
|
+
"output",
|
430
|
+
"countOutput",
|
431
|
+
"groupCount",
|
432
|
+
"preservekeys",
|
433
|
+
"limit"
|
434
|
+
],
|
435
|
+
"pk": "interfaceid",
|
436
|
+
"methods": [
|
437
|
+
"get",
|
438
|
+
"exists",
|
439
|
+
"checkinput",
|
440
|
+
"create",
|
441
|
+
"update",
|
442
|
+
"delete",
|
443
|
+
"massadd",
|
444
|
+
"massremove",
|
445
|
+
"replacehostinterfaces"
|
446
|
+
]
|
447
|
+
},
|
448
|
+
"image": {
|
449
|
+
"getOptions": [
|
450
|
+
"filter",
|
451
|
+
"search",
|
452
|
+
"searchByAny",
|
453
|
+
"startSearch",
|
454
|
+
"excludeSearch",
|
455
|
+
"searchWildcardsEnabled",
|
456
|
+
"output",
|
457
|
+
"countOutput",
|
458
|
+
"groupCount",
|
459
|
+
"preservekeys",
|
460
|
+
"limit"
|
461
|
+
],
|
462
|
+
"pk": "imageid",
|
463
|
+
"methods": [
|
464
|
+
"get",
|
465
|
+
"getobjects",
|
466
|
+
"exists",
|
467
|
+
"create",
|
468
|
+
"update",
|
469
|
+
"delete"
|
470
|
+
]
|
471
|
+
},
|
472
|
+
"iconmap": {
|
473
|
+
"getOptions": [
|
474
|
+
"filter",
|
475
|
+
"search",
|
476
|
+
"searchByAny",
|
477
|
+
"startSearch",
|
478
|
+
"excludeSearch",
|
479
|
+
"searchWildcardsEnabled",
|
480
|
+
"output",
|
481
|
+
"countOutput",
|
482
|
+
"groupCount",
|
483
|
+
"preservekeys",
|
484
|
+
"limit"
|
485
|
+
],
|
486
|
+
"pk": "iconmapid",
|
487
|
+
"methods": [
|
488
|
+
"get",
|
489
|
+
"create",
|
490
|
+
"update",
|
491
|
+
"delete",
|
492
|
+
"isreadable",
|
493
|
+
"iswritable"
|
494
|
+
]
|
495
|
+
},
|
496
|
+
"item": {
|
497
|
+
"getOptions": [
|
498
|
+
"filter",
|
499
|
+
"search",
|
500
|
+
"searchByAny",
|
501
|
+
"startSearch",
|
502
|
+
"excludeSearch",
|
503
|
+
"searchWildcardsEnabled",
|
504
|
+
"output",
|
505
|
+
"countOutput",
|
506
|
+
"groupCount",
|
507
|
+
"preservekeys",
|
508
|
+
"limit"
|
509
|
+
],
|
510
|
+
"pk": "itemid",
|
511
|
+
"methods": [
|
512
|
+
"get",
|
513
|
+
"getobjects",
|
514
|
+
"exists",
|
515
|
+
"create",
|
516
|
+
"update",
|
517
|
+
"delete",
|
518
|
+
"synctemplates",
|
519
|
+
"validateinventorylinks",
|
520
|
+
"addrelatedobjects",
|
521
|
+
"findinterfaceforitem",
|
522
|
+
"isreadable",
|
523
|
+
"iswritable"
|
524
|
+
]
|
525
|
+
},
|
526
|
+
"itemprototype": {
|
527
|
+
"getOptions": [
|
528
|
+
"filter",
|
529
|
+
"search",
|
530
|
+
"searchByAny",
|
531
|
+
"startSearch",
|
532
|
+
"excludeSearch",
|
533
|
+
"searchWildcardsEnabled",
|
534
|
+
"output",
|
535
|
+
"countOutput",
|
536
|
+
"groupCount",
|
537
|
+
"preservekeys",
|
538
|
+
"limit"
|
539
|
+
],
|
540
|
+
"pk": "itemid",
|
541
|
+
"methods": [
|
542
|
+
"get",
|
543
|
+
"exists",
|
544
|
+
"create",
|
545
|
+
"update",
|
546
|
+
"delete",
|
547
|
+
"synctemplates",
|
548
|
+
"addrelatedobjects",
|
549
|
+
"findinterfaceforitem",
|
550
|
+
"isreadable",
|
551
|
+
"iswritable"
|
552
|
+
]
|
553
|
+
},
|
554
|
+
"maintenance": {
|
555
|
+
"getOptions": [
|
556
|
+
"filter",
|
557
|
+
"search",
|
558
|
+
"searchByAny",
|
559
|
+
"startSearch",
|
560
|
+
"excludeSearch",
|
561
|
+
"searchWildcardsEnabled",
|
562
|
+
"output",
|
563
|
+
"countOutput",
|
564
|
+
"groupCount",
|
565
|
+
"preservekeys",
|
566
|
+
"limit"
|
567
|
+
],
|
568
|
+
"pk": "maintenanceid",
|
569
|
+
"methods": [
|
570
|
+
"get",
|
571
|
+
"exists",
|
572
|
+
"create",
|
573
|
+
"update",
|
574
|
+
"delete"
|
575
|
+
]
|
576
|
+
},
|
577
|
+
"map": {
|
578
|
+
"getOptions": [
|
579
|
+
"filter",
|
580
|
+
"search",
|
581
|
+
"searchByAny",
|
582
|
+
"startSearch",
|
583
|
+
"excludeSearch",
|
584
|
+
"searchWildcardsEnabled",
|
585
|
+
"output",
|
586
|
+
"countOutput",
|
587
|
+
"groupCount",
|
588
|
+
"preservekeys",
|
589
|
+
"limit"
|
590
|
+
],
|
591
|
+
"pk": "sysmapid",
|
592
|
+
"methods": [
|
593
|
+
"get",
|
594
|
+
"getobjects",
|
595
|
+
"exists",
|
596
|
+
"checkinput",
|
597
|
+
"create",
|
598
|
+
"update",
|
599
|
+
"delete",
|
600
|
+
"isreadable",
|
601
|
+
"iswritable",
|
602
|
+
"checkcircleselementslink"
|
603
|
+
]
|
604
|
+
},
|
605
|
+
"mediatype": {
|
606
|
+
"getOptions": [
|
607
|
+
"filter",
|
608
|
+
"search",
|
609
|
+
"searchByAny",
|
610
|
+
"startSearch",
|
611
|
+
"excludeSearch",
|
612
|
+
"searchWildcardsEnabled",
|
613
|
+
"output",
|
614
|
+
"countOutput",
|
615
|
+
"groupCount",
|
616
|
+
"preservekeys",
|
617
|
+
"limit"
|
618
|
+
],
|
619
|
+
"pk": "mediatypeid",
|
620
|
+
"methods": [
|
621
|
+
"get",
|
622
|
+
"create",
|
623
|
+
"update",
|
624
|
+
"delete"
|
625
|
+
]
|
626
|
+
},
|
627
|
+
"proxy": {
|
628
|
+
"getOptions": [
|
629
|
+
"filter",
|
630
|
+
"search",
|
631
|
+
"searchByAny",
|
632
|
+
"startSearch",
|
633
|
+
"excludeSearch",
|
634
|
+
"searchWildcardsEnabled",
|
635
|
+
"output",
|
636
|
+
"countOutput",
|
637
|
+
"groupCount",
|
638
|
+
"preservekeys",
|
639
|
+
"limit"
|
640
|
+
],
|
641
|
+
"pk": "hostid",
|
642
|
+
"methods": [
|
643
|
+
"get",
|
644
|
+
"create",
|
645
|
+
"update",
|
646
|
+
"delete",
|
647
|
+
"isreadable",
|
648
|
+
"iswritable"
|
649
|
+
]
|
650
|
+
},
|
651
|
+
"service": {
|
652
|
+
"getOptions": [
|
653
|
+
"filter",
|
654
|
+
"search",
|
655
|
+
"searchByAny",
|
656
|
+
"startSearch",
|
657
|
+
"excludeSearch",
|
658
|
+
"searchWildcardsEnabled",
|
659
|
+
"output",
|
660
|
+
"countOutput",
|
661
|
+
"groupCount",
|
662
|
+
"preservekeys",
|
663
|
+
"limit",
|
664
|
+
"parentids",
|
665
|
+
"childids",
|
666
|
+
"selectParent",
|
667
|
+
"selectDependencies",
|
668
|
+
"selectParentDependencies",
|
669
|
+
"selectTimes",
|
670
|
+
"selectAlarms",
|
671
|
+
"selectTrigger",
|
672
|
+
"sortfield",
|
673
|
+
"sortorder"
|
674
|
+
],
|
675
|
+
"pk": "serviceid",
|
676
|
+
"methods": [
|
677
|
+
"get",
|
678
|
+
"create",
|
679
|
+
"validateupdate",
|
680
|
+
"update",
|
681
|
+
"validatedelete",
|
682
|
+
"delete",
|
683
|
+
"adddependencies",
|
684
|
+
"deletedependencies",
|
685
|
+
"validateaddtimes",
|
686
|
+
"addtimes",
|
687
|
+
"getsla",
|
688
|
+
"deletetimes",
|
689
|
+
"isreadable",
|
690
|
+
"iswritable"
|
691
|
+
]
|
692
|
+
},
|
693
|
+
"screen": {
|
694
|
+
"getOptions": [
|
695
|
+
"filter",
|
696
|
+
"search",
|
697
|
+
"searchByAny",
|
698
|
+
"startSearch",
|
699
|
+
"excludeSearch",
|
700
|
+
"searchWildcardsEnabled",
|
701
|
+
"output",
|
702
|
+
"countOutput",
|
703
|
+
"groupCount",
|
704
|
+
"preservekeys",
|
705
|
+
"limit"
|
706
|
+
],
|
707
|
+
"pk": "screenid",
|
708
|
+
"methods": [
|
709
|
+
"get",
|
710
|
+
"exists",
|
711
|
+
"create",
|
712
|
+
"update",
|
713
|
+
"delete"
|
714
|
+
]
|
715
|
+
},
|
716
|
+
"screenitem": {
|
717
|
+
"getOptions": [
|
718
|
+
"filter",
|
719
|
+
"search",
|
720
|
+
"searchByAny",
|
721
|
+
"startSearch",
|
722
|
+
"excludeSearch",
|
723
|
+
"searchWildcardsEnabled",
|
724
|
+
"output",
|
725
|
+
"countOutput",
|
726
|
+
"groupCount",
|
727
|
+
"preservekeys",
|
728
|
+
"limit",
|
729
|
+
"screenitemids",
|
730
|
+
"screenids",
|
731
|
+
"editable",
|
732
|
+
"sortfield",
|
733
|
+
"sortorder"
|
734
|
+
],
|
735
|
+
"pk": "screenitemid",
|
736
|
+
"methods": [
|
737
|
+
"get",
|
738
|
+
"create",
|
739
|
+
"update",
|
740
|
+
"updatebyposition",
|
741
|
+
"delete",
|
742
|
+
"isreadable",
|
743
|
+
"iswritable"
|
744
|
+
]
|
745
|
+
},
|
746
|
+
"script": {
|
747
|
+
"getOptions": [
|
748
|
+
"filter",
|
749
|
+
"search",
|
750
|
+
"searchByAny",
|
751
|
+
"startSearch",
|
752
|
+
"excludeSearch",
|
753
|
+
"searchWildcardsEnabled",
|
754
|
+
"output",
|
755
|
+
"countOutput",
|
756
|
+
"groupCount",
|
757
|
+
"preservekeys",
|
758
|
+
"limit"
|
759
|
+
],
|
760
|
+
"pk": "scriptid",
|
761
|
+
"methods": [
|
762
|
+
"get",
|
763
|
+
"create",
|
764
|
+
"update",
|
765
|
+
"delete",
|
766
|
+
"execute",
|
767
|
+
"getscriptsbyhosts"
|
768
|
+
]
|
769
|
+
},
|
770
|
+
"template": {
|
771
|
+
"getOptions": [
|
772
|
+
"filter",
|
773
|
+
"search",
|
774
|
+
"searchByAny",
|
775
|
+
"startSearch",
|
776
|
+
"excludeSearch",
|
777
|
+
"searchWildcardsEnabled",
|
778
|
+
"output",
|
779
|
+
"countOutput",
|
780
|
+
"groupCount",
|
781
|
+
"preservekeys",
|
782
|
+
"limit"
|
783
|
+
],
|
784
|
+
"pk": "hostid",
|
785
|
+
"methods": [
|
786
|
+
"get",
|
787
|
+
"getobjects",
|
788
|
+
"exists",
|
789
|
+
"create",
|
790
|
+
"update",
|
791
|
+
"delete",
|
792
|
+
"massadd",
|
793
|
+
"massupdate",
|
794
|
+
"massremove",
|
795
|
+
"isreadable",
|
796
|
+
"iswritable"
|
797
|
+
]
|
798
|
+
},
|
799
|
+
"templatescreen": {
|
800
|
+
"getOptions": [
|
801
|
+
"filter",
|
802
|
+
"search",
|
803
|
+
"searchByAny",
|
804
|
+
"startSearch",
|
805
|
+
"excludeSearch",
|
806
|
+
"searchWildcardsEnabled",
|
807
|
+
"output",
|
808
|
+
"countOutput",
|
809
|
+
"groupCount",
|
810
|
+
"preservekeys",
|
811
|
+
"limit"
|
812
|
+
],
|
813
|
+
"pk": "screenid",
|
814
|
+
"methods": [
|
815
|
+
"get",
|
816
|
+
"exists",
|
817
|
+
"copy",
|
818
|
+
"update",
|
819
|
+
"create",
|
820
|
+
"delete"
|
821
|
+
]
|
822
|
+
},
|
823
|
+
"templatescreenitem": {
|
824
|
+
"getOptions": [
|
825
|
+
"filter",
|
826
|
+
"search",
|
827
|
+
"searchByAny",
|
828
|
+
"startSearch",
|
829
|
+
"excludeSearch",
|
830
|
+
"searchWildcardsEnabled",
|
831
|
+
"output",
|
832
|
+
"countOutput",
|
833
|
+
"groupCount",
|
834
|
+
"preservekeys",
|
835
|
+
"limit",
|
836
|
+
"screenitemids",
|
837
|
+
"screenids",
|
838
|
+
"hostids",
|
839
|
+
"editable",
|
840
|
+
"sortfield",
|
841
|
+
"sortorder"
|
842
|
+
],
|
843
|
+
"pk": "screenitemid",
|
844
|
+
"methods": [
|
845
|
+
"get"
|
846
|
+
]
|
847
|
+
},
|
848
|
+
"trigger": {
|
849
|
+
"getOptions": [
|
850
|
+
"filter",
|
851
|
+
"search",
|
852
|
+
"searchByAny",
|
853
|
+
"startSearch",
|
854
|
+
"excludeSearch",
|
855
|
+
"searchWildcardsEnabled",
|
856
|
+
"output",
|
857
|
+
"countOutput",
|
858
|
+
"groupCount",
|
859
|
+
"preservekeys",
|
860
|
+
"limit"
|
861
|
+
],
|
862
|
+
"pk": "triggerid",
|
863
|
+
"methods": [
|
864
|
+
"get",
|
865
|
+
"getobjects",
|
866
|
+
"exists",
|
867
|
+
"checkinput",
|
868
|
+
"create",
|
869
|
+
"update",
|
870
|
+
"delete",
|
871
|
+
"adddependencies",
|
872
|
+
"deletedependencies",
|
873
|
+
"synctemplates",
|
874
|
+
"synctemplatedependencies",
|
875
|
+
"isreadable",
|
876
|
+
"iswritable"
|
877
|
+
]
|
878
|
+
},
|
879
|
+
"triggerprototype": {
|
880
|
+
"getOptions": [
|
881
|
+
"filter",
|
882
|
+
"search",
|
883
|
+
"searchByAny",
|
884
|
+
"startSearch",
|
885
|
+
"excludeSearch",
|
886
|
+
"searchWildcardsEnabled",
|
887
|
+
"output",
|
888
|
+
"countOutput",
|
889
|
+
"groupCount",
|
890
|
+
"preservekeys",
|
891
|
+
"limit"
|
892
|
+
],
|
893
|
+
"pk": "triggerid",
|
894
|
+
"methods": [
|
895
|
+
"get",
|
896
|
+
"create",
|
897
|
+
"update",
|
898
|
+
"delete",
|
899
|
+
"synctemplates"
|
900
|
+
]
|
901
|
+
},
|
902
|
+
"user": {
|
903
|
+
"getOptions": [
|
904
|
+
"filter",
|
905
|
+
"search",
|
906
|
+
"searchByAny",
|
907
|
+
"startSearch",
|
908
|
+
"excludeSearch",
|
909
|
+
"searchWildcardsEnabled",
|
910
|
+
"output",
|
911
|
+
"countOutput",
|
912
|
+
"groupCount",
|
913
|
+
"preservekeys",
|
914
|
+
"limit"
|
915
|
+
],
|
916
|
+
"pk": "userid",
|
917
|
+
"methods": [
|
918
|
+
"get",
|
919
|
+
"create",
|
920
|
+
"update",
|
921
|
+
"updateprofile",
|
922
|
+
"delete",
|
923
|
+
"addmedia",
|
924
|
+
"updatemedia",
|
925
|
+
"deletemedia",
|
926
|
+
"deletemediareal",
|
927
|
+
"logout",
|
928
|
+
"login",
|
929
|
+
"checkauthentication",
|
930
|
+
"isreadable",
|
931
|
+
"iswritable"
|
932
|
+
]
|
933
|
+
},
|
934
|
+
"usergroup": {
|
935
|
+
"getOptions": [
|
936
|
+
"filter",
|
937
|
+
"search",
|
938
|
+
"searchByAny",
|
939
|
+
"startSearch",
|
940
|
+
"excludeSearch",
|
941
|
+
"searchWildcardsEnabled",
|
942
|
+
"output",
|
943
|
+
"countOutput",
|
944
|
+
"groupCount",
|
945
|
+
"preservekeys",
|
946
|
+
"limit"
|
947
|
+
],
|
948
|
+
"pk": "usrgrpid",
|
949
|
+
"methods": [
|
950
|
+
"get",
|
951
|
+
"getobjects",
|
952
|
+
"exists",
|
953
|
+
"create",
|
954
|
+
"update",
|
955
|
+
"massadd",
|
956
|
+
"massupdate",
|
957
|
+
"delete",
|
958
|
+
"isreadable",
|
959
|
+
"iswritable"
|
960
|
+
]
|
961
|
+
},
|
962
|
+
"usermacro": {
|
963
|
+
"getOptions": [
|
964
|
+
"filter",
|
965
|
+
"search",
|
966
|
+
"searchByAny",
|
967
|
+
"startSearch",
|
968
|
+
"excludeSearch",
|
969
|
+
"searchWildcardsEnabled",
|
970
|
+
"output",
|
971
|
+
"countOutput",
|
972
|
+
"groupCount",
|
973
|
+
"preservekeys",
|
974
|
+
"limit"
|
975
|
+
],
|
976
|
+
"pk": "hostmacroid",
|
977
|
+
"methods": [
|
978
|
+
"get",
|
979
|
+
"createglobal",
|
980
|
+
"updateglobal",
|
981
|
+
"deleteglobal",
|
982
|
+
"create",
|
983
|
+
"update",
|
984
|
+
"delete",
|
985
|
+
"replacemacros"
|
986
|
+
]
|
987
|
+
},
|
988
|
+
"usermedia": {
|
989
|
+
"getOptions": [
|
990
|
+
"filter",
|
991
|
+
"search",
|
992
|
+
"searchByAny",
|
993
|
+
"startSearch",
|
994
|
+
"excludeSearch",
|
995
|
+
"searchWildcardsEnabled",
|
996
|
+
"output",
|
997
|
+
"countOutput",
|
998
|
+
"groupCount",
|
999
|
+
"preservekeys",
|
1000
|
+
"limit"
|
1001
|
+
],
|
1002
|
+
"pk": "mediaid",
|
1003
|
+
"methods": [
|
1004
|
+
"get"
|
1005
|
+
]
|
1006
|
+
},
|
1007
|
+
"httptest": {
|
1008
|
+
"getOptions": [
|
1009
|
+
"filter",
|
1010
|
+
"search",
|
1011
|
+
"searchByAny",
|
1012
|
+
"startSearch",
|
1013
|
+
"excludeSearch",
|
1014
|
+
"searchWildcardsEnabled",
|
1015
|
+
"output",
|
1016
|
+
"countOutput",
|
1017
|
+
"groupCount",
|
1018
|
+
"preservekeys",
|
1019
|
+
"limit"
|
1020
|
+
],
|
1021
|
+
"pk": "httptestid",
|
1022
|
+
"methods": [
|
1023
|
+
"get",
|
1024
|
+
"create",
|
1025
|
+
"update",
|
1026
|
+
"delete",
|
1027
|
+
"isreadable",
|
1028
|
+
"iswritable"
|
1029
|
+
]
|
1030
|
+
}
|
1031
|
+
},
|
1032
|
+
"version": "2.4"
|
1033
|
+
}
|
data/lib/sky_zabbix/version.rb
CHANGED
data/sky_zabbix.gemspec
CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
+
spec.files.push('lib/sky_zabbix/methods.json')
|
19
20
|
spec.bindir = "exe"
|
20
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
22
|
spec.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sky_zabbix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0.1.
|
4
|
+
version: 2.4.0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Skyarch Networks Inc.
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- lib/sky_zabbix/client/target_gen.rb
|
121
121
|
- lib/sky_zabbix/jsonrpc.rb
|
122
122
|
- lib/sky_zabbix/jsonrpc/errors.rb
|
123
|
+
- lib/sky_zabbix/methods.json
|
123
124
|
- lib/sky_zabbix/version.rb
|
124
125
|
- sky_zabbix.gemspec
|
125
126
|
homepage: https://github.com/skyarch-networks/sky_zabbix
|