sky_zabbix 2.2.0.1.0 → 2.2.0.1.1

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