-
Notifications
You must be signed in to change notification settings - Fork 1
/
zbx_opnsense_active_template.yaml
1611 lines (1603 loc) · 57.3 KB
/
zbx_opnsense_active_template.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.0'
date: '2024-02-02T14:41:52Z'
groups:
- uuid: 4918b88734c54bd094cff7585b5d71fc
name: 'Templates/Network Devices'
templates:
- uuid: 1db65b79c1b84431bc5da3591a99958f
template: 'Template OPNSense Active'
name: 'OPNSense Active'
description: |
Active template for opnsense, requires opnsense_zbx.php installed to OPNSense Box.
Version 1.0.1
https://github.com/dblanque/opnsense-zabbix
groups:
- name: 'Templates/Network Devices'
items:
- uuid: 158624e9776d497889d2ecc5c6902c73
name: 'Maximum number of opened files'
type: ZABBIX_ACTIVE
key: kernel.maxfiles
delay: '3600'
history: 27d
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
tags:
- tag: Application
value: OS
triggers:
- uuid: badd760eae8043d4934daac83cdb6c4d
expression: 'last(/Template OPNSense Active/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
- uuid: 2a5057c23fd64320898a925c2a9da38e
name: 'Maximum number of processes'
type: ZABBIX_ACTIVE
key: kernel.maxproc
delay: '3600'
history: 27d
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
tags:
- tag: Application
value: OS
triggers:
- uuid: 0f7168ea8eaa4c44b127269b7da055c6
expression: 'last(/Template OPNSense Active/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
- uuid: 6ee740cf9b7b42ce920006c60ba0cc00
name: 'Used memory (calc)'
type: CALCULATED
key: kt.mem.used
delay: '60'
history: 28d
units: B
params: 'last(//vm.memory.size[total]) - last(//vm.memory.size[available])'
tags:
- tag: Application
value: Memory
- uuid: e908c73b1d5946f2b88952b63e2a7e07
name: 'Expected CARP Status'
type: CALCULATED
key: opnsense.expected_carp_status
delay: 30s
params: '{$EXPECTED_CARP_STATUS}'
description: 'Expected CARP Status'
valuemap:
name: 'OPNSense CARP Status'
tags:
- tag: Application
value: CARP
- uuid: 1c43722f068b4c18a4040fc9c6582a39
name: 'MBUF Cache'
type: ZABBIX_ACTIVE
key: opnsense.mbuf.cache
delay: '60'
history: 27d
tags:
- tag: Application
value: 'Network Limits'
- uuid: c8c18b01b3a542b09540143ef5ee23a5
name: 'MBUF Current'
type: ZABBIX_ACTIVE
key: opnsense.mbuf.current
delay: '60'
history: 27d
tags:
- tag: Application
value: 'Network Limits'
- uuid: 8a5b31b786bc4a329d232bdced6c6f0c
name: 'MBUF Max'
type: ZABBIX_ACTIVE
key: opnsense.mbuf.max
delay: '600'
history: 27d
tags:
- tag: Application
value: 'Network Limits'
- uuid: 2a0ab7aa12364a74ac0dfaaf27d7fc24
name: 'MBUF Total Used (percent)'
type: CALCULATED
key: opnsense.mbuf.ptotal
delay: '60'
history: 28d
value_type: FLOAT
units: '%'
params: '((last(//opnsense.mbuf.current) + last(//opnsense.mbuf.cache)) * 100) / last(//opnsense.mbuf.max)'
tags:
- tag: Application
value: 'Network Limits'
triggers:
- uuid: ebe2c02b7180418eb78b80113b602a1e
expression: 'last(/Template OPNSense Active/opnsense.mbuf.ptotal)>80'
name: 'MBUF used at 80%'
priority: WARNING
- uuid: 4ad74e25b94849dabf4afafe7f3ad083
expression: 'last(/Template OPNSense Active/opnsense.mbuf.ptotal)>90'
name: 'MBUF used at 90%'
priority: HIGH
- uuid: 5b0a9da1a5414c66829ebf2e9032c33e
name: 'States Table Current'
type: ZABBIX_ACTIVE
key: opnsense.states.current
delay: '60'
history: 27d
tags:
- tag: Application
value: 'Network Limits'
- uuid: 01f0a70a4493487bb5ba4425a32d633c
name: 'States Table Max'
type: ZABBIX_ACTIVE
key: opnsense.states.max
delay: '600'
history: 27d
tags:
- tag: Application
value: 'Network Limits'
- uuid: ef595b6fae084d8c853c11cad64fbdc4
name: 'States Table Current (percent)'
type: CALCULATED
key: opnsense.states.pused
delay: '60'
history: 28d
value_type: FLOAT
units: '%'
params: '(last(//opnsense.states.current) * 100) / last(//opnsense.states.max)'
tags:
- tag: Application
value: 'Network Limits'
triggers:
- uuid: 991175a052a049bbb25b049c67246fd5
expression: 'last(/Template OPNSense Active/opnsense.states.pused)>80'
name: 'State Table used at 80%'
priority: WARNING
- uuid: fe08509da34840a999bb5dd396d36269
expression: 'last(/Template OPNSense Active/opnsense.states.pused)>90'
name: 'State Table used at 90%'
priority: HIGH
- uuid: d1abfd00dc62410eb096d67475eb952d
name: 'CARP Status'
type: ZABBIX_ACTIVE
key: 'opnsense.value[carp_status]'
delay: 30s
description: 'OPNSense CARP Status'
valuemap:
name: 'OPNSense CARP Status'
tags:
- tag: Application
value: CARP
triggers:
- uuid: 51db964b1cb4452992359037debf1bbb
expression: 'last(/Template OPNSense Active/opnsense.value[carp_status])>2'
name: 'CARP Problems on {HOST.NAME}'
priority: HIGH
description: 'CARP Problems'
- uuid: 08c62188426d4839aea0fdc261fa07c7
name: 'Gateway Status Raw'
type: ZABBIX_ACTIVE
key: 'opnsense.value[gw_status]'
delay: 60s
trends: '0'
value_type: TEXT
description: 'Gateway Status Raw'
tags:
- tag: Application
value: Gateways
triggers:
- uuid: 2d639cea87cf46c2818a657f5c30a4c7
expression: '(last(/Template OPNSense Active/opnsense.value[gw_status],#1)<>last(/Template OPNSense Active/opnsense.value[gw_status],#2))>0'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: '(last(/Template OPNSense Active/opnsense.value[gw_status],#1)<>last(/Template OPNSense Active/opnsense.value[gw_status],#2))=0'
name: 'OPNSense Gateway Status Changed on {HOST.NAME}'
priority: AVERAGE
description: 'Gateway Status Change, for use with an action Script (e.g. update DNS record)'
manual_close: 'YES'
- uuid: f1ff72bb97d54ba2a51768482b9461db
name: 'OPNSense Installed Version'
type: ZABBIX_ACTIVE
key: 'opnsense.value[system,installed_version]'
delay: 30m
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: System
- uuid: 9ab8caeb3f194859a91af5b218b9ca5e
name: 'New Version of OPNSense Available'
type: ZABBIX_ACTIVE
key: 'opnsense.value[system,new_version_available]'
delay: 30m
history: 45d
valuemap:
name: 'Generic YesNo'
tags:
- tag: Application
value: System
triggers:
- uuid: a47de48b640d4c8990f7affbebb11da8
expression: 'last(/Template OPNSense Active/opnsense.value[system,new_version_available])=1'
name: 'New Version of OPNSense Available on {HOST.NAME}'
priority: INFO
description: 'A new version of OPNSense is available for update'
manual_close: 'YES'
- uuid: 86623f615bba4d17b565f90ac61ab901
name: 'OPNSense Available Version'
type: ZABBIX_ACTIVE
key: 'opnsense.value[system,version]'
delay: 30m
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: System
- uuid: b5e7a8603435496cbc73c3c68ff6140c
name: 'Number of running processes'
type: ZABBIX_ACTIVE
key: 'proc.num[,,run]'
delay: '60'
history: 27d
description: 'Number of processes in running state.'
tags:
- tag: Application
value: Processes
triggers:
- uuid: 131ac3b7caa14776801619de17bb95a2
expression: 'avg(/Template OPNSense Active/proc.num[,,run],5m)>30'
name: 'Too many processes running on {HOST.NAME}'
priority: WARNING
- uuid: aa4c2b8d986b489ab2f2cd652ed91a46
name: 'Number of processes'
type: ZABBIX_ACTIVE
key: 'proc.num[]'
delay: '60'
history: 27d
description: 'Total number of processes in any state.'
tags:
- tag: Application
value: Processes
triggers:
- uuid: 3ff818973f0e40169f33522a0de12ebd
expression: 'avg(/Template OPNSense Active/proc.num[],5m)>300'
name: 'Too many processes on {HOST.NAME}'
priority: WARNING
- uuid: 03847f32f2714543b374dc84370309b7
name: 'Host boot time'
type: ZABBIX_ACTIVE
key: system.boottime
delay: '600'
history: 27d
units: unixtime
tags:
- tag: Application
value: OS
- uuid: a09f3e91024942b4b3a9b6af7bbf9df5
name: 'Interrupts per second'
type: ZABBIX_ACTIVE
key: system.cpu.intr
delay: '60'
history: 27d
units: ips
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: Application
value: CPU
- uuid: cbe747c59a4a4a86aaf14f0dca016d10
name: 'Processor load (1min/core)'
type: ZABBIX_ACTIVE
key: 'system.cpu.load[percpu,avg1]'
delay: '60'
history: 27d
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
tags:
- tag: Application
value: CPU
triggers:
- uuid: 0fd25a1e99be42ca9d2e75e28b8f4547
expression: 'avg(/Template OPNSense Active/system.cpu.load[percpu,avg1],5m)>5'
name: 'Processor load is too high on {HOST.NAME}'
priority: WARNING
- uuid: bcb9774ac4f84c03b12f7c63efeb9745
name: 'Processor load (5min/core)'
type: ZABBIX_ACTIVE
key: 'system.cpu.load[percpu,avg5]'
delay: '60'
history: 27d
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
tags:
- tag: Application
value: CPU
- uuid: 36df9e82dc1c461589b45d7fa959aef7
name: 'Processor load (15min/core)'
type: ZABBIX_ACTIVE
key: 'system.cpu.load[percpu,avg15]'
delay: '60'
history: 27d
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
tags:
- tag: Application
value: CPU
- uuid: a663ca2ca7a8467ca4ee0e73a61e7f5a
name: 'Context switches per second'
type: ZABBIX_ACTIVE
key: system.cpu.switches
delay: '60'
history: 27d
units: sps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
tags:
- tag: Application
value: CPU
- uuid: 582edf149c0e41d687c71f172c9a4576
name: 'CPU idle time'
type: ZABBIX_ACTIVE
key: 'system.cpu.util[,idle]'
delay: '60'
history: 27d
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent doing nothing.'
tags:
- tag: Application
value: CPU
- uuid: 898d80e09a5f429c9b92f89a4c7add63
name: 'CPU interrupt time'
type: ZABBIX_ACTIVE
key: 'system.cpu.util[,interrupt]'
delay: '60'
history: 27d
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing hardware interrupts.'
tags:
- tag: Application
value: CPU
- uuid: b55ff4a7987f4793a0ca41c307faea19
name: 'CPU nice time'
type: ZABBIX_ACTIVE
key: 'system.cpu.util[,nice]'
delay: '60'
history: 27d
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that have been niced.'
tags:
- tag: Application
value: CPU
- uuid: e1d10c63db014a74965946a7fea70675
name: 'CPU system time'
type: ZABBIX_ACTIVE
key: 'system.cpu.util[,system]'
delay: '60'
history: 27d
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running the kernel and its processes.'
tags:
- tag: Application
value: CPU
- uuid: 0a49ca89d46b40199616ccb1b250e003
name: 'CPU user time'
type: ZABBIX_ACTIVE
key: 'system.cpu.util[,user]'
delay: '60'
history: 27d
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that are not niced.'
tags:
- tag: Application
value: CPU
- uuid: 350165011c144a34be8d142ca60f7f44
name: 'Host name'
type: ZABBIX_ACTIVE
key: system.hostname
delay: '3600'
history: 27d
trends: '0'
value_type: CHAR
description: 'System host name.'
inventory_link: NAME
tags:
- tag: Application
value: OS
triggers:
- uuid: 1f6474aecd4642dd802dd7187aedcb45
expression: '(last(/Template OPNSense Active/system.hostname,#1)<>last(/Template OPNSense Active/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
- uuid: ee34543337124d50b99c8957f65cde73
name: 'Host local time'
type: ZABBIX_ACTIVE
key: system.localtime
delay: '60'
history: 27d
units: unixtime
tags:
- tag: Application
value: OS
- uuid: 84288c1fb1d04468afc4239907305538
name: 'Free swap space'
type: ZABBIX_ACTIVE
key: 'system.swap.size[,free]'
delay: '60'
history: 27d
units: B
tags:
- tag: Application
value: Memory
- uuid: a603bbed1f184f82bfdcc9a5a2511378
name: 'Free swap space in %'
type: ZABBIX_ACTIVE
key: 'system.swap.size[,pfree]'
delay: '60'
history: 27d
value_type: FLOAT
units: '%'
tags:
- tag: Application
value: Memory
triggers:
- uuid: 33e4a1849ef3437d81add26953d672ca
expression: 'last(/Template OPNSense Active/system.swap.size[,pfree])<50'
name: 'Lack of free swap space on {HOST.NAME}'
priority: WARNING
description: 'It probably means that the systems requires more physical memory.'
- uuid: 816f8888b0af41d59554b81755108050
name: 'Total swap space'
type: ZABBIX_ACTIVE
key: 'system.swap.size[,total]'
delay: '3600'
history: 27d
units: B
tags:
- tag: Application
value: Memory
- uuid: a027171389b24248b0000f707137fa53
name: 'Used swap space'
type: ZABBIX_ACTIVE
key: 'system.swap.size[,used]'
delay: '60'
history: 27d
units: B
tags:
- tag: Application
value: Memory
- uuid: ed17b774ca674346b338037d272d64aa
name: 'System information'
type: ZABBIX_ACTIVE
key: system.uname
delay: '3600'
history: 27d
trends: '0'
value_type: CHAR
description: 'The information as normally returned by ''uname -a''.'
inventory_link: OS
tags:
- tag: Application
value: OS
triggers:
- uuid: 595c4d2f9c194af6baab01c28e066bda
expression: '(last(/Template OPNSense Active/system.uname,#1)<>last(/Template OPNSense Active/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
- uuid: 85cf8a7f82b641a38f5891c2104dfae2
name: 'System uptime'
type: ZABBIX_ACTIVE
key: system.uptime
delay: '600'
history: 27d
units: uptime
tags:
- tag: Application
value: OS
triggers:
- uuid: 984463e2d518411ca02e536f1ec7a482
expression: 'change(/Template OPNSense Active/system.uptime)<0'
name: '{HOST.NAME} has just been restarted'
priority: INFO
- uuid: ccf1155d6d8a4be7af9d1e8ff3e4df4f
name: 'Number of logged in users'
type: ZABBIX_ACTIVE
key: system.users.num
delay: '60'
history: 27d
description: 'Number of users who are currently logged in.'
tags:
- tag: Application
value: OS
- uuid: df8b81e9cb2c45d2b63f19df829dd033
name: 'Checksum of /etc/passwd'
type: ZABBIX_ACTIVE
key: 'vfs.file.cksum[/etc/passwd]'
delay: '3600'
history: 27d
tags:
- tag: Application
value: OS
triggers:
- uuid: 850ae4783be044b5a99e856a90d072c7
expression: '(last(/Template OPNSense Active/vfs.file.cksum[/etc/passwd],#1)<>last(/Template OPNSense Active/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
- uuid: 5f783701e46944658fa2b4f7336c9cdf
name: 'Active memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[active]'
delay: '60'
history: 28d
units: B
description: 'quantité de mémoire en cours d''utilisation par les processus'
tags:
- tag: Application
value: Memory
- uuid: 3fbda21ce408414db302108364c3f1f6
name: 'Available memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[available]'
delay: '60'
history: 27d
units: B
description: 'Available memory is defined as free+cached+buffers memory.'
tags:
- tag: Application
value: Memory
triggers:
- uuid: 1c99f0faec434f7fbc6d3565e07b4d9b
expression: 'last(/Template OPNSense Active/vm.memory.size[available])<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
- uuid: 7f763587293c4325b3499bb6e55b870d
name: 'Buffered memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[buffers]'
delay: '60'
history: 28d
status: DISABLED
units: B
description: |
Cache d'entrées des IO disque.
(Item désactivé car buggé)
tags:
- tag: Application
value: Memory
- uuid: c8e072963c164c81a5b202feb85a475a
name: 'Cached memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[cached]'
delay: '60'
history: 28d
units: B
description: 'quantité de mémoire utilisée pour mettre des données en cache'
tags:
- tag: Application
value: Memory
- uuid: 93a487474ae44703a4f730ddda2a9079
name: 'Free memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[free]'
delay: '60'
history: 28d
units: B
description: 'quantité de mémoire complètement libre et prête a être utilisée directement.'
tags:
- tag: Application
value: Memory
- uuid: 4d66e3f263db44bdbdf170cf7450e9f2
name: 'Inactive memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[inactive]'
delay: '60'
history: 28d
units: B
description: 'quantité de mémoire qui contient des données qui ne sont plus utilisées (peut être directement libéré si besoin)'
tags:
- tag: Application
value: Memory
- uuid: 57fdef76e8604e7fa0d927dfadfa57b9
name: 'Available memory (percent)'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[pavailable]'
delay: '60'
history: 28d
value_type: FLOAT
units: '%'
description: 'Available memory is defined as free+cached+buffers memory.'
preprocessing:
- type: MULTIPLIER
parameters:
- '1'
tags:
- tag: Application
value: Memory
- uuid: 40e600d451b14f5b8bc0d88fa91138d4
name: 'Shared memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[shared]'
delay: '60'
history: 28d
status: DISABLED
units: B
description: |
quantité de mémoire partagée entre plusieurs processus
(Item désactivé car non utilisé)
tags:
- tag: Application
value: Memory
- uuid: 0aa5cdcec2b34d11926303999ab94274
name: 'Total memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[total]'
delay: '3600'
history: 27d
units: B
description: 'quantité de mémoire totale'
tags:
- tag: Application
value: Memory
- uuid: cc2269f8ddcf455fb839b4f00bbaab1b
name: 'Used memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[used]'
delay: '60'
history: 28d
status: DISABLED
units: B
description: 'Item désactivé car non utilisé'
tags:
- tag: Application
value: Memory
- uuid: 7e019179db3b44ba995462a06f467bd5
name: 'Wired memory'
type: ZABBIX_ACTIVE
key: 'vm.memory.size[wired]'
delay: '60'
history: 28d
units: B
description: 'quantité de mémoire utilisée par le kernel, ne peut être ni déchargée en swap, ni compressée.'
tags:
- tag: Application
value: Memory
discovery_rules:
- uuid: 7749dddc96214f7e9aae25b76ab077b2
name: 'Gateways Discovery'
type: ZABBIX_ACTIVE
key: 'opnsense.discovery[gw]'
delay: 30s
description: 'Gateway Discovery'
item_prototypes:
- uuid: e6513e8ff4454f82b9994fb4c72e6ab0
name: 'Gateway {#GATEWAY} RTT'
type: ZABBIX_ACTIVE
key: 'opnsense.value[gw_value,{#GATEWAY},delay]'
delay: 30s
value_type: FLOAT
units: ms
preprocessing:
- type: RTRIM
parameters:
- ms
tags:
- tag: Application
value: Gateways
- uuid: 657f655fb9204eaf86af048ece7c23dc
name: 'Gateway {#GATEWAY} Packet Loss'
type: ZABBIX_ACTIVE
key: 'opnsense.value[gw_value,{#GATEWAY},loss]'
delay: 30s
units: '%'
preprocessing:
- type: RTRIM
parameters:
- '%'
tags:
- tag: Application
value: Gateways
- uuid: 70e6d48e6ecb4baea575b17ebfc1b54d
name: 'Gateway {#GATEWAY} Status'
type: ZABBIX_ACTIVE
key: 'opnsense.value[gw_value,{#GATEWAY},status]'
delay: 30s
description: 'Status of Gateway'
valuemap:
name: 'OPNSense Gateway Status'
tags:
- tag: Application
value: Gateways
trigger_prototypes:
- uuid: b06641e12f64466ea49abebbb455afe3
expression: 'last(/Template OPNSense Active/opnsense.value[gw_value,{#GATEWAY},status])=5'
name: 'Gateway {#GATEWAY} is down'
priority: DISASTER
description: 'Gateway is Down'
- uuid: 9e81332b680f4ad3988c8f933aa104e8
expression: 'last(/Template OPNSense Active/opnsense.value[gw_value,{#GATEWAY},status])=4'
name: 'Gateway {#GATEWAY} is forced down'
priority: INFO
description: 'Gateway is forced down by system administrator'
- uuid: bbdb0c453c8345bca5e955af89bdb290
expression: 'last(/Template OPNSense Active/opnsense.value[gw_value,{#GATEWAY},status])=2'
name: 'High Delay on gateway {#GATEWAY}'
priority: WARNING
description: 'Gateway is lagging'
- uuid: 3ef25361c9b540689c44174c06443671
expression: 'last(/Template OPNSense Active/opnsense.value[gw_value,{#GATEWAY},status])=3'
name: 'High packet Loss on {#GATEWAY}'
priority: HIGH
description: 'High Packet Loss on Gateway'
- uuid: 492348f0bba44d1bb69d238c562bfc7e
expression: 'last(/Template OPNSense Active/opnsense.value[gw_value,{#GATEWAY},status])=1'
name: 'Packet Loss on {#GATEWAY}'
priority: WARNING
description: 'Packet loss on Gateway'
- uuid: 64bff872864847c48dc0eaa0ef3acb42
name: 'Gateway {#GATEWAY} RTT Std Deviation'
type: ZABBIX_ACTIVE
key: 'opnsense.value[gw_value,{#GATEWAY},stddev]'
delay: 30s
value_type: FLOAT
units: ms
preprocessing:
- type: RTRIM
parameters:
- ms
tags:
- tag: Application
value: Gateways
graph_prototypes:
- uuid: 274656d8ca584691b69a3eb729efb067
name: 'Gateway {#GATEWAY} Availability'
graph_items:
- color: 199C0D
calc_fnc: ALL
item:
host: 'Template OPNSense Active'
key: 'opnsense.value[gw_value,{#GATEWAY},delay]'
- sortorder: '1'
color: FF5722
calc_fnc: ALL
item:
host: 'Template OPNSense Active'
key: 'opnsense.value[gw_value,{#GATEWAY},loss]'
- uuid: 863dafc75c9e46bba035c8a422041e94
name: 'Gateway {#GATEWAY} Status'
yaxismax: '5'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- color: 199C0D
calc_fnc: ALL
item:
host: 'Template OPNSense Active'
key: 'opnsense.value[gw_value,{#GATEWAY},status]'
- uuid: 34a00356fb204593a73b0d874e90bb77
name: 'Network interface discovery'
type: ZABBIX_ACTIVE
key: 'opnsense.discovery[interfaces]'
delay: 3600s
filter:
conditions:
- macro: '{#IFNAME}'
value: '@Network interfaces for discovery'
formulaid: A
lifetime: 7d
description: 'Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".'
item_prototypes:
- uuid: b579e827d8e24674a858ede5afb9a0a4
name: 'Incoming network traffic on {#IFDESCR}'
type: ZABBIX_ACTIVE
key: 'net.if.in[{#IFNAME}]'
delay: '60'
history: 7d
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 0f4093ee5f9a4cdabc6490479948d778
name: 'Outgoing network traffic on {#IFDESCR}'
type: ZABBIX_ACTIVE
key: 'net.if.out[{#IFNAME}]'
delay: '60'
history: 7d
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 8837209c698a4c6eb690580e28ba1b9b
name: 'Bytes Received on {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "bytes received"]'
delay: '0'
history: 7d
units: bytes
preprocessing:
- type: JSONPATH
parameters:
- '$["bytes received"]'
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 48a73ae51be54ca0beb4e18c67ea5d86
name: 'Bytes Transmitted on {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "bytes transmitted"]'
delay: '0'
history: 7d
units: bytes
preprocessing:
- type: JSONPATH
parameters:
- '$["bytes transmitted"]'
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: b93bf7c29e6b433b82cfc0bb4b3aef04
name: 'Detected Collisions on {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "collisions"]'
delay: '0'
history: 7d
preprocessing:
- type: JSONPATH
parameters:
- '$["packets transmitted"]'
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: a0cf7ab6b0374b07809bcc7c3d36f7c5
name: 'Network Interface Card for {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "device"]'
delay: '0'
history: 7d
trends: '0'
value_type: TEXT
preprocessing:
- type: JSONPATH
parameters:
- '$["device"]'
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 73c729e19a5f4d01855a66553058e14f
name: 'Maximum Transmission Unit (MTU) on {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "mtu"]'
delay: '0'
history: 7d
units: bytes
preprocessing:
- type: JSONPATH
parameters:
- '$["mtu"]'
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 37f91643eb344a08b0130ca91097dd53
name: 'Packets Received on {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "packets received"]'
delay: '0'
history: 7d
units: Packets
preprocessing:
- type: JSONPATH
parameters:
- '$["packets received"]'
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 21642b8175dc47378f0ac605e2e900c0
name: 'Packets Transmitted on {#IFDESCR}'
type: DEPENDENT
key: 'opnsense.interfaces[{#IFNAME}, "packets transmitted"]'
delay: '0'
history: 7d
units: Packets
preprocessing:
- type: JSONPATH
parameters:
- '$["packets transmitted"]'
- type: CHANGE_PER_SECOND
parameters:
- ''
master_item:
key: 'opnsense.interfaces[{#IFNAME}]'
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 9faa348c3cec4a8e90ac3f3e548701c5
name: 'Interface Statistics for {#IFDESCR}'
type: ZABBIX_ACTIVE
key: 'opnsense.interfaces[{#IFNAME}]'
delay: '60'
history: 7d
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Network interfaces'
graph_prototypes:
- uuid: 571e6bb85349476b89901bb981a06d73
name: 'Network traffic on {#IFDESCR}'
show_triggers: 'NO'
show_legend: 'NO'
ymin_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: '29E900'
item:
host: 'Template OPNSense Active'
key: 'net.if.in[{#IFNAME}]'
- sortorder: '1'
drawtype: GRADIENT_LINE
color: FD0000
item:
host: 'Template OPNSense Active'
key: 'net.if.out[{#IFNAME}]'
- uuid: df7dee27bf1f490ab34c294a5c8d5722
name: 'OpenVPN Client Discovery'
type: ZABBIX_ACTIVE
key: 'opnsense.discovery[openvpn_client]'
delay: 30s
description: 'OpenVPN Client Discovery'
item_prototypes:
- uuid: 10cd020dad4f4c4dad9f6ab24db124b9