-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathzbx_export_templates.zbx620.yaml
executable file
·2498 lines (2473 loc) · 98 KB
/
zbx_export_templates.zbx620.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
zabbix_export:
version: '6.2'
date: '2022-11-25T18:18:21Z'
template_groups:
-
uuid: 4fdbe0569412426eb8b1bfead07d5d82
name: 'Templates'
templates:
-
uuid: d00587b0ca884e9789fa3f7a70902eaa
template: 'templ - Informix'
name: 'templ - Informix'
groups:
-
name: 'Templates'
discovery_rules:
-
uuid: 55c7762569a146d2bf877aa5cd5b3c8a
name: 'Informix dbspaces'
key: 'zabifx[dbspaces,-]'
delay: 2h
filter:
conditions:
-
macro: '{#IFXDBSPACEFLAG}'
value: '[NM].[TSUB]'
operator: NOT_MATCHES_REGEX
formulaid: A
description: |
Lista todos os dbspaces para instancia encontrada no servidor.
O script zabifx utiliza o comando "onstat -g dis" + "onstat -d" para identificar os dbspaces.
Ela gera duas macros : {#IFXSERVER} , {#IFXDBSPACE}
{
"data":[
{
"{#IFXSERVER}":"ifxdesenv2",
"{#IFXDBSPACE}":"rootdbs"
},
{
"{#IFXSERVER}":"ifxdesenv2",
"{#IFXDBSPACE}":"llogdbs"
},
{
"{#IFXSERVER}":"ifxdesenv2",
"{#IFXDBSPACE}":"plogdbs"
},
{
"{#IFXSERVER}":"ifxdesenv1",
"{#IFXDBSPACE}":"rootdbs"
},
{
"{#IFXSERVER}":"ifxdesenv1",
"{#IFXDBSPACE}":"softeldat1dbs"
}
]
}
item_prototypes:
-
uuid: 18d4041b567648e19d21ffd8f4ae2db9
name: '{#IFXSERVER} / {#IFXDBSPACE} - Flags'
type: ZABBIX_ACTIVE
key: 'zabifx[dbspaceflag,{#IFXSERVER},{#IFXDBSPACE}]'
delay: 10m
history: 15d
trends: '0'
value_type: TEXT
description: |
Get dbspace char Flags where :
Position 1:
M Mirrored
N Not mirrored
Position 2:
X Newly mirrored
P Physically recovered, waiting for logical recovery
L Being logically recovered
R Being recovered
D Down
Position 3:
B Blobspace
P Plogspace
S Sbspace
T Temporary dbspace
U Temporary sbspace
W Temporary dbspace on primary server (This flag is shown on SD secondary servers only.)
Position 4:
B The dbspace can have large chunks that are greater than 2 GB.
Position 5:
A The dbspace is auto-expandable because the SP_AUTOEXPAND configuration parameter is enabled and the dbspace is configured with a create size or extend size that is not zero.
Position 6:
E The storage space is encrypted.
tags:
-
tag: Application
value: 'Informix Database - dbspaces'
trigger_prototypes:
-
uuid: 9cafa1d91f9f4388a7c4ae9ca7f886a8
expression: 'find(/templ - Informix/zabifx[dbspaceflag,{#IFXSERVER},{#IFXDBSPACE}],1s,"regexp","^.D")=1'
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - DBSpace DOWN'
priority: DISASTER
description: 'Flag do DBSPACE está indicando como DOWN , algum problema de disco ou no banco de dados indisponibilizou este dbspace.'
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 43af00a13dca4c96873e50482cb79989
expression: 'find(/templ - Informix/zabifx[dbspaceflag,{#IFXSERVER},{#IFXDBSPACE}],1s,"regexp","^.L")=1'
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - DBSpace in Logical recovery'
priority: INFO
description: 'Dbspace em modo Logical Recovery'
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 2cc49ae909cb40e0b2bb14a55ad8e36b
expression: 'find(/templ - Informix/zabifx[dbspaceflag,{#IFXSERVER},{#IFXDBSPACE}],1s,"regexp","^.P")=1'
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - DBSpace in Physical recovery'
priority: INFO
description: 'Dbspace em modo Physical Recovery'
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: cc069ac5e8394d64a91e3069690744ea
expression: 'find(/templ - Informix/zabifx[dbspaceflag,{#IFXSERVER},{#IFXDBSPACE}],1s,"regexp","^.R")=1'
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - DBSpace in Recovery mode'
priority: INFO
description: 'Dbspace em modo recovery'
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 62eb1fe5949042f481a8caa2de580360
name: '{#IFXSERVER} / {#IFXDBSPACE} - Free'
key: 'zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]'
delay: 1h
history: 32d
value_type: FLOAT
units: MB
tags:
-
tag: Application
value: 'Informix Database - dbspaces'
-
uuid: 9fbf28c99755493089f6753b24fd22c4
name: '{#IFXSERVER} / {#IFXDBSPACE} - Size'
key: 'zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}]'
delay: 3h
history: 32d
value_type: FLOAT
units: MB
tags:
-
tag: Application
value: 'Informix Database - dbspaces'
-
uuid: 1878e5782cc94dcba4f3a9e760e027de
name: '{#IFXSERVER} / {#IFXDBSPACE} - Used'
key: 'zabifx[dbspaceused,{#IFXSERVER},{#IFXDBSPACE}]'
delay: 1h
history: 32d
value_type: FLOAT
units: MB
tags:
-
tag: Application
value: 'Informix Database - dbspaces'
trigger_prototypes:
-
uuid: a47b450a4e0942fb8418b1c9bbfa1ad4
expression: '((last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) * 100) / last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}])) < 1'
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - FULL'
priority: HIGH
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 884c7c78bf684a3c82c6a125b8792e06
expression: |
(
last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}],#1:now-3h) -
last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}])
)> (
last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}]) * 0.10
)
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - Huge space allocation (+10%) - {ITEM.VALUE} MBytes'
status: DISABLED
priority: INFO
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: aea6c60a41084802aa1026d8b714bd2c
expression: |
(last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) < {$MAX_FREE_ALERT_MB}) and
((last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) * 100) / last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}])) < 5
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - Less than {$MAX_FREE_ALERT_MB} MB or 5% free - {ITEM.VALUE} MBytes'
priority: AVERAGE
manual_close: 'YES'
dependencies:
-
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - FULL'
expression: '((last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) * 100) / last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}])) < 1'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: e004ae53e4dc426189e5f3b651cffcc0
expression: |
(last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) < {$MAX_FREE_ALERT_MB}) and
((last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) * 100) / last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}])) < 10
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - Less than {$MAX_FREE_ALERT_MB}MB or 10% free - {ITEM.VALUE} MBytes'
priority: WARNING
manual_close: 'YES'
dependencies:
-
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - FULL'
expression: '((last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) * 100) / last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}])) < 1'
-
name: 'Informix DB - {#IFXSERVER} / {#IFXDBSPACE} - Less than {$MAX_FREE_ALERT_MB} MB or 5% free - {ITEM.VALUE} MBytes'
expression: |
(last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) < {$MAX_FREE_ALERT_MB}) and
((last(/templ - Informix/zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]) * 100) / last(/templ - Informix/zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}])) < 5
tags:
-
tag: Serviço
value: 'Banco de dados'
graph_prototypes:
-
uuid: 7d38f90721f04effb322d01a1a9ed5bc
name: 'Informix DB {#IFXSERVER} / {#IFXDBSPACE} - Space used'
type: STACKED
ymin_type_1: ITEM
ymin_item_1:
host: 'templ - Informix'
key: 'zabifx[dbspacesize,{#IFXSERVER},{#IFXDBSPACE}]'
graph_items:
-
color: 4000FF
calc_fnc: MAX
item:
host: 'templ - Informix'
key: 'zabifx[dbspacefree,{#IFXSERVER},{#IFXDBSPACE}]'
-
sortorder: '1'
color: FF0000
calc_fnc: MAX
item:
host: 'templ - Informix'
key: 'zabifx[dbspaceused,{#IFXSERVER},{#IFXDBSPACE}]'
-
uuid: 99a22d07ea2244fcaf0f2eb15d41c019
name: 'Informix Instances'
key: 'zabifx[instances,-]'
delay: 2h
filter:
conditions:
-
macro: '{#IFXSERVERSTATUS}'
value: Up
formulaid: A
description: |
Lista cada instancia encontrada no servidor.
O script zabifx utiliza o comando "onstat -g dis" para identificar as instancias e retorna duas macros : {#IFXSERVER} , {#IFXSERVERSTATUS} :
{
"instances":[
{
"#{IFXSERVER}":"ifxdesenv2",
"#{IFXSERVERSTATUS}":"Up"
},
{
"#{IFXSERVER}":"ifxdesenv1",
"#{IFXSERVERSTATUS}":"Up"
}
]
}
item_prototypes:
-
uuid: d4fb3131bf654837b7b7aa0c92133e2d
name: 'Informix DB {#IFXSERVER} - Assert Faileds raised'
type: ZABBIX_ACTIVE
key: 'log[{#IFXMSGPATH},"Assert Failed"]'
delay: 10m
history: 30d
trends: '0'
value_type: LOG
description: 'How many times occur an Assert Failed'
logtimefmt: 'MM/dd/yyyy hh:mm:ss'
request_method: POST
tags:
-
tag: Application
value: 'Informix Database'
trigger_prototypes:
-
uuid: 38d2d2e3373a4a689f21c94b8528ccd5
expression: 'count(/templ - Informix/log[{#IFXMSGPATH},"Assert Failed"],10m,,"Assert")>0'
recovery_mode: NONE
name: 'trg - Informix DB {#IFXSERVER} - Assert Failed !!'
priority: HIGH
description: |
Foi identificado no online.log a geração de algum Assert Failed.
--
Conferir os ultimos arquivos gerados na pastas $INFORMIXDIR/tmp/dump/*.af
Identificar nele a sessão , usuário e SQL que estava executando.
Avaliar a situação, se necessário abrir chamado na IBM e enviar os AFs + online.log .
--
manual_close: 'YES'
tags:
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 29ac24becc7a437e97e899702d8d7355
name: 'Informix DB {#IFXSERVER} - # Sessions Active'
key: 'zabifx[activesessioncount,{#IFXSERVER}]'
delay: 15m
history: 1w
description: |
# of Active Sessions.
Executed by Zabbix Agent
+ UserParameter
+ zabifx script
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - sessions'
-
uuid: 9cc37c8966dd4dec875bbf693dffffd2
name: 'Informix DB {#IFXSERVER} - Buffer flushes'
key: 'zabifx[buffer_flushes,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of times the buffers are flushed to disk so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 084561237a3e478d8145f89e9c550733
name: 'Informix DB {#IFXSERVER} - Buffer Waits'
key: 'zabifx[buffer_waits,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of buffer waits.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 4dc47923fc2d46d28188eadc10b67b6f
name: 'Informix DB {#IFXSERVER} - Checkpoints'
key: 'zabifx[checkpoints,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of checkpoints taken so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 2fc96287f0374ba4918ea3cbc9d706de
name: 'Informix DB {#IFXSERVER} - Checkpoint in Progress'
key: 'zabifx[checkpoint_inprogress,{#IFXSERVER}]'
history: 1w
description: 'The value of yes if a checkpoint is underway.'
valuemap:
name: 'Yes (1) / No (0)'
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 1bf511dd32154224961c3e912c0271e2
name: 'Informix DB {#IFXSERVER} - Time since last checkpoint'
key: 'zabifx[checkpoint_last,{#IFXSERVER}]'
delay: 15m
history: 1w
status: DISABLED
units: s
description: 'Time (in secs) since the last checkpoint occured.'
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.01'
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: e12c138351b446f28862e884a6863dcc
name: 'Informix DB {#IFXSERVER} - Checkpoints Waits'
key: 'zabifx[checkpoint_waits,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of checkpoint waits.'
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 72f412ad448547b9bce6910cb9186b94
name: 'Informix DB {#IFXSERVER} - # Deadlocks'
key: 'zabifx[deadlocks,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of deadlocks detected so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
trigger_prototypes:
-
uuid: ebff835760a64df6981b3f616def4109
expression: 'last(/templ - Informix/zabifx[deadlocks,{#IFXSERVER}]) <> last(/templ - Informix/zabifx[deadlocks,{#IFXSERVER}])'
name: 'trg - Informix DB {#IFXSERVER} - Deadlocks : {ITEM.VALUE}'
priority: INFO
description: 'Trigger alarm if occur to any Dead Lock'
type: MULTIPLE
manual_close: 'YES'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 476135b5e5734ecdbdf7ddab6a82a60e
name: 'Informix DB {#IFXSERVER} - # Foreground Writes'
key: 'zabifx[fgwrites,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of foreground writes.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: c6de057b176b48cba43c2352f41ef56d
name: 'Informix DB {#IFXSERVER} - Instance Name'
key: 'zabifx[instance,{#IFXSERVER}]'
delay: 6h
history: 180d
trends: '0'
value_type: TEXT
request_method: POST
tags:
-
tag: Application
value: 'Informix Database'
-
uuid: 55bbe5d7c820449ba2572dc0ff5c7885
name: 'Informix DB {#IFXSERVER} - # Latchs Waits'
key: 'zabifx[latches_waits,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The total number of times any thread waited for a latch.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 48356ea05786410f97f5f0bcd53cf562
name: 'Informix DB {#IFXSERVER} - Logical Log Automatic Backup (zabifx)'
key: 'zabifx[llogautobkp,{#IFXSERVER}]'
delay: 5m
history: 1w
description: |
Logical Log Auto backup status , based at alarmprogram script
return : true or false
valuemap:
name: 'Yes (1) / No (0)'
preprocessing:
-
type: BOOL_TO_DECIMAL
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
trigger_prototypes:
-
uuid: 580adb4bfc2047c0bc4a9c27bb78263d
expression: 'last(/templ - Informix/zabifx[llogautobkp,{#IFXSERVER}])<>1'
name: 'trg - Informix DB {#IFXSERVER} - Logical Log auto backup NOT active.'
priority: AVERAGE
description: 'Trigger the alarm if the automatic backup is *not* active.'
manual_close: 'YES'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 7303a0482a3f4133aa2ea8a855579ce2
name: 'Informix DB {#IFXSERVER} - # Logical Logs used'
key: 'zabifx[llogcurrent,{#IFXSERVER}]'
delay: 2m
history: 1w
units: logs
description: |
# of Logical Logs used
(based on uniqueid flow, onstat -l)
Executed by Zabbix Agent
+ UserParameter
+ zabifx script
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 284447a70173477b8de3c5da90d4d3a6
name: 'Informix DB {#IFXSERVER} - # Logical Logs without backup'
key: 'zabifx[llogwithoutbkp,{#IFXSERVER}]'
delay: '15m;2m/1-5,08:00-17:30'
history: 1w
units: logs
description: |
# of Logical Logs without backup
Executed by Zabbix Agent
+ UserParameter
+ zabifx script
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: b8fd4eb5b14b4a7190d186738dad5577
name: 'Informix DB {#IFXSERVER} - % Logical Logs without backup'
key: 'zabifx[llogwithoutbkpperc,{#IFXSERVER}]'
delay: '15m;2m/1-5,08:00-17:30'
history: 1w
value_type: FLOAT
units: '%'
description: |
% of Logical Logs without backup
(calculed from the # of active logs, onstat -l output)
Executed by Zabbix Agent
+ UserParameter
+ zabifx script
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
trigger_prototypes:
-
uuid: 55608588654a4678b56d8ae93d5b083c
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>5 and ( ( {TRIGGER.VALUE}=0 and (time()<080000 or time()>173000) ) or {TRIGGER.VALUE}=1 )'
name: 'trg - Informix DB {#IFXSERVER} - Basic alarm Logical Log without backup'
status: DISABLED
priority: INFO
description: |
Trigger the alarm if the number of logical logs without backup reach 5% of available logs.
Alarm only at non-comercial time....
This if only to trying get the problem of the out of logical log before night...
manual_close: 'YES'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: df83be083515473b850c6f7f48b0fa3e
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>29'
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
priority: INFO
description: 'Trigger the alarm if the number of logical logs without backup reach 30% of available logs.'
manual_close: 'YES'
dependencies:
-
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>49'
-
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>69'
-
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>89'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 88270cd56018441588ab568faf9eb4c8
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>49'
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
priority: WARNING
description: 'Trigger the alarm if the number of logical logs without backup reach 50% of available logs.'
manual_close: 'YES'
dependencies:
-
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>69'
-
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>89'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: a165225feced4bcdbd00f63659e5da86
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>69'
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
priority: HIGH
description: 'Trigger the alarm if the number of logical logs without backup reach 70% of available logs.'
manual_close: 'YES'
dependencies:
-
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>89'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 4836a060595d460fa11f2a58fa2bf303
expression: 'last(/templ - Informix/zabifx[llogwithoutbkpperc,{#IFXSERVER}])>89'
name: 'trg - Informix DB {#IFXSERVER} - {ITEM.VALUE}% Logical Log without backup'
priority: HIGH
description: 'Trigger the alarm if the number of logical logs without backup reach 90% of available logs.'
manual_close: 'YES'
tags:
-
tag: 'Banco de dados'
value: informix
-
tag: Serviço
value: 'Banco de dados'
-
uuid: 0378e9d27bfc425c92a29498d87dbaae
name: 'Informix DB {#IFXSERVER} - # LRU writes'
key: 'zabifx[lruwrites,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of LRU writes.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: 6dc4a217990f42c099b669d56ddf3ccc
name: 'Informix DB {#IFXSERVER} - Memory Free Buffer'
key: 'zabifx[membuffree,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Buffer Pool used
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: b3ae1867e179411ea8db36837733c9d8
name: 'Informix DB {#IFXSERVER} - Memory Used Buffer'
key: 'zabifx[membufused,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Buffer Pool used
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: 10824911a35245378417114078aa29b0
name: 'Informix DB {#IFXSERVER} - Memory Free Extent'
key: 'zabifx[memextfree,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Extent free (datablades)
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: 7e67213da6c7473dafdf88c6542c6ac6
name: 'Informix DB {#IFXSERVER} - Memory Used Extent'
key: 'zabifx[memextused,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Extent used (datablades)
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: e072e37e3774485894688f011b86e3bb
name: 'Informix DB {#IFXSERVER} - Memory Free Residence'
key: 'zabifx[memresfree,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Resident Pool free
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: da0b84f5e68b4ffa985739b3cdd4008b
name: 'Informix DB {#IFXSERVER} - Memory Used Residence'
key: 'zabifx[memresused,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Resident Pool used
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: 2b39ef94a7df46f99782a88310ef4d97
name: 'Informix DB {#IFXSERVER} - Memory Allocated'
key: 'zabifx[memtotaloc,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory allocated in the O.S.
(summary of onstat -g seg)
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: aedb6fb105704426b4f62f0b8265b364
name: 'Informix DB {#IFXSERVER} - Memory Free Total'
key: 'zabifx[memtotfree,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Total free
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: c9d12a07368743ad92df9e33bed9100c
name: 'Informix DB {#IFXSERVER} - Memory Used Total'
key: 'zabifx[memtotused,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Total used
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: b17b1d15198b41eab7dc7c11f97cd8a2
name: 'Informix DB {#IFXSERVER} - Memory Free Virtual'
key: 'zabifx[memvirfree,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Virtual Pool free
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: 25cbb40e3232491982100ba04110a1af
name: 'Informix DB {#IFXSERVER} - Memory Used Virtual'
key: 'zabifx[memvirused,{#IFXSERVER}]'
delay: 3m
history: 4d
value_type: FLOAT
units: B
description: |
Total of memory Virtual Pool used
(summary of onstat -g seg)
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - Memory'
-
uuid: 0b2fae035dbd45e1a7e2af2fc6492eec
name: 'Informix DB {#IFXSERVER} - Online.log MSGPATH'
key: 'zabifx[msgpath,{#IFXSERVER}]'
delay: 6h
history: 30d
trends: '0'
value_type: TEXT
description: 'The filename of the online.log'
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - profile'
-
uuid: cebe48e891464c1aa9e7327c483a3cd9
name: 'Informix DB {#IFXSERVER} - # Network accepteds'
key: 'zabifx[network_accepted,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of network connection accepted so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: Application
value: 'Informix Database - I/O'
-
uuid: f223e543b0084abb9c970f478e942e6c
name: 'Informix DB {#IFXSERVER} - # Network reads'
key: 'zabifx[network_reads,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of network reads so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - I/O'
-
uuid: 8c43a4b328ec45e286c1beec14a3a854
name: 'Informix DB {#IFXSERVER} - # Network rejected'
key: 'zabifx[network_rejected,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of network connection rejected so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: Application
value: 'Informix Database - I/O'
-
uuid: 2555cd749cd841f1a7596de240eb6455
name: 'Informix DB {#IFXSERVER} - # Network writes'
key: 'zabifx[network_writes,{#IFXSERVER}]'
delay: 15m
history: 1w
description: 'The number of network writes so far.'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
-
tag: Application
value: 'Informix Database - I/O'
-
uuid: 3c4e1a7606c44da38dcbcd419378dba6
name: 'Informix DB {#IFXSERVER} - Physical Log Size'
key: 'zabifx[physize,{#IFXSERVER}]'
delay: 6h
history: 2d
units: bytes
description: 'Size of Physical log in bytes'
request_method: POST