-
Notifications
You must be signed in to change notification settings - Fork 57
/
Template Net Fortinet FortiGate SNMP.yaml
4963 lines (4806 loc) · 170 KB
/
Template Net Fortinet FortiGate SNMP.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: '5.2'
date: '2021-05-10T23:11:03Z'
groups:
-
name: 'Templates/Network devices'
templates:
-
template: 'Template Net Fortinet FortiGate SNMP'
name: 'Template Net Fortinet FortiGate SNMP'
description: |
Zabbix Template for Fortinet FortiGate
URL: https://github.com/mbdraks/fortinet-zabbix
Author: Michel Barbosa
Version: 2.1.0
Exposes information obtained from the following MIBs (import is not required):
- SNMPv2-MIB
- IF-MIB
- EtherLike-MIB
- FORTINET-CORE-MIB
- FORTINET-FORTIGATE-MIB
This template also incorporates the exact same data collected by the following default templates (no import or link required):
- Generic SNMP
- Interfaces SNMP
- EtherLike-MIB SNMP
groups:
-
name: 'Templates/Network devices'
applications:
-
name: CPU
-
name: General
-
name: 'Hardware Sensor'
-
name: 'High Availability'
-
name: Inventory
-
name: IPS
-
name: Memory
-
name: Session
-
name: Status
-
name: Storage
-
name: 'Virtual Domain'
-
name: VPN
-
name: Wireless
items:
-
name: 'Logical Description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.47.1.2.1.1.2.1
key: entLogicalDescr
delay: 1h
trends: '0'
value_type: CHAR
description: |
ENTITY-MIB::entLogicalDescr
A textual description of the logical entity. This object
should contain a string which identifies the manufacturer's
name for the logical entity, and should be set to a distinct
value for each version of the logical entity.
inventory_link: SOFTWARE_FULL
applications:
-
name: Inventory
-
name: 'Physical Description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.47.1.1.1.1.2.1
key: entPhysicalDesc
delay: 1h
trends: '0'
value_type: CHAR
description: |
ENTITY-MIB::entPhysicalDescr
A textual description of physical entity. This object
should contain a string which identifies the manufacturer's
name for the physical entity, and should be set to a
distinct value for each version or model of the physical
entity.
inventory_link: HARDWARE_FULL
applications:
-
name: Inventory
-
name: 'HA Config Sync'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.5.0
key: fgHaAutoSync
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaAutoSync
Configuration of an automatic configuration
synchronization (enabled or disabled)
applications:
-
name: 'High Availability'
valuemap:
name: 'FORTINET-CORE-MIB::FnBoolState'
-
name: 'HA Cluster Group ID'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.2.0
key: fgHaGroupId
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaSystemMode
HA cluster group ID device is configured for
applications:
-
name: 'High Availability'
-
name: 'HA Cluster Name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.7.0
key: fgHaGroupName
delay: 1h
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgHaGroupName
HA cluster group name
applications:
-
name: 'High Availability'
-
name: 'HA Cluster Master Override'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.4.0
key: fgHaOverride
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaOverride
Status of a master override flag
applications:
-
name: 'High Availability'
valuemap:
name: 'FORTINET-CORE-MIB::FnBoolState'
-
name: 'HA Cluster Priority'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.3.0
key: fgHaPriority
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaPriority
HA clustering priority of the device (default = 128)
applications:
-
name: 'High Availability'
-
name: 'HA Load-balancing Schedule'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.6.0
key: fgHaSchedule
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaSchedule
Load-balancing schedule of cluster (in A-A mode)
applications:
-
name: 'High Availability'
valuemap:
name: 'FORTINET-FORTIGATE-MIB::FgHaLBSchedule'
-
name: 'HA Mode'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.13.1.1.0
key: fgHaSystemMode
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaSystemMode
High-availability mode (Standalone, A-A or A-P)
applications:
-
name: 'High Availability'
valuemap:
name: 'FORTINET-FORTIGATE-MIB::FgHaMode'
-
name: 'Hardware Sensor Count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.3.1.0
key: fgHwSensorCount
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHwSensorCount
The number of entries in fgHwSensorTable
applications:
-
name: 'Hardware Sensor'
-
name: 'Intrusions detected - Anomaly based'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.9.1
key: fgIpsAnomalyDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsAnomalyDetections
Number of intrusions detected by signature
since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected - Critical'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.3.1
key: fgIpsCritSevDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsCritSevDetections
Number of critical severity intrusions
detected since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected - High'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.4.1
key: fgIpsHighSevDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsHighSevDetections
Number of high severity intrusions
detected since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected - Info'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.7.1
key: fgIpsInfoSevDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsInfoSevDetections
Number of informational severity intrusions
detected since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions blocked'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.2.1
key: fgIpsIntrusionsBlocked
description: |
FORTINET-FORTIGATE-MIB::fgIpsIntrusionsBlocked
Number of intrusions blocked since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.1.1
key: fgIpsIntrusionsDetected
description: |
FORTINET-FORTIGATE-MIB::fgIpsIntrusionsDetected
Number of intrusions detected since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected - Low'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.6.1
key: fgIpsLowSevDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsLowSevDetections
Number of low severity intrusions
detected since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected - Medium'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.5.1
key: fgIpsMedSevDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsMedSevDetections
Number of medium severity intrusions
detected since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'Intrusions detected - Signature based'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.9.2.1.1.8.1
key: fgIpsSignatureDetections
description: |
FORTINET-FORTIGATE-MIB::fgIpsSignatureDetections
Number of intrusions detected by signature
since start-up in this virtual domain
applications:
-
name: IPS
-
name: 'CPU usage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.3.0
key: fgSysCpuUsage
units: '%'
description: |
FORTINET-FORTIGATE-MIB::fgSysCpuUsage
Current CPU usage (percentage)
applications:
-
name: CPU
triggers:
-
expression: '{min(5m)}>{$CPU.UTIL.CRIT}'
name: 'High CPU usage (over {$CPU.UTIL.CRIT}% for 5m)'
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'CPU utilization is too high. The system might be slow to respond.'
-
name: 'Hard Disk Capacity'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.7.0
key: fgSysDiskCapacity
delay: 1h
units: B
description: |
FORTINET-FORTIGATE-MIB::fgSysDiskCapacity
Total hard disk capacity (MB), if disk is present
applications:
-
name: Storage
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
type: MULTIPLIER
parameters:
- '1024'
-
name: 'Hard Disk Usage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.6.0
key: fgSysDiskUsage
units: B
description: |
FORTINET-FORTIGATE-MIB::fgSysDiskUsage
Current hard disk usage (MB), if disk is present
applications:
-
name: Storage
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
type: MULTIPLIER
parameters:
- '1024'
-
name: 'Hard Disk Usage Rate'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.6.0
key: fgSysDiskUsage.Rate
units: B
description: |
FORTINET-FORTIGATE-MIB::fgSysDiskUsage
Current hard disk usage (MB), if disk is present
applications:
-
name: Storage
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
type: MULTIPLIER
parameters:
- '1024'
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
name: 'Memory usage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.4.0
key: fgSysMemUsage
description: |
FORTINET-FORTIGATE-MIB::fgSysMemUsage
Current memory utilization (percentage)
applications:
-
name: Memory
triggers:
-
expression: '{min(5m)}>{$MEMORY.UTIL.MAX}'
name: 'High memory usage ( >{$MEMORY.UTIL.MAX}% for 5m)'
priority: WARNING
description: 'The system is running out of free memory.'
-
name: 'IPv4 Active sessions'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.8.0
key: fgSysSesCount
description: |
FORTINET-FORTIGATE-MIB::fgSysSesCount
Number of active sessions on the device
applications:
-
name: Session
-
name: 'FortiGate Uptime'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.20.0
key: fgSysUpTime
history: 2w
trends: '0'
units: uptime
description: |
FORTINET-FORTIGATE-MIB::fgSysUpTime
The 64bit time (in hundredths of a second) since the network management portion of the system was last re-initialized.
applications:
-
name: Status
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.01'
-
name: 'Firmware Version'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.1.0
key: fgSysVersion
delay: 1h
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgSysVersion
Firmware version of the device
inventory_link: OS_SHORT
applications:
-
name: Inventory
-
name: 'IPS Database Version'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.2.2.0
key: fgSysVersionIps
delay: 1h
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgSysVersionIps
IPS signature database version installed on the device
applications:
-
name: IPS
-
name: 'IPS Database Version - Extended'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.2.4.0
key: fgSysVersionIpsEt
delay: 1h
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgSysVersionIpsEt
IPS signature extended database version installed on the device
applications:
-
name: IPS
-
name: 'VDOM Enabled'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.3.1.3.0
key: fgVdEnabled
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgVdEnabled
Whether virtual domains are enabled on this device
applications:
-
name: 'Virtual Domain'
valuemap:
name: 'FORTINET-CORE-MIB::FnBoolState'
-
name: 'VDOM Max Count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.3.1.2.0
key: fgVdMaxVdoms
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgVdMaxVdoms
The maximum number of virtual domains allowed on the device as allowed by hardware and/or licensing
applications:
-
name: 'Virtual Domain'
-
name: 'VDOM Count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.3.1.1.0
key: fgVdNumber
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgVdNumber
The number of virtual domains in vdTable
applications:
-
name: 'Virtual Domain'
-
name: 'SSL VPN state'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.12.2.3.1.1.1
key: fgVpnSslState
description: |
FORTINET-FORTIGATE-MIB::fgVpnSslState
Whether SSL-VPN is enabled on this virtual domain
applications:
-
name: VPN
valuemap:
name: 'FORTINET-CORE-MIB::FnBoolState'
-
name: 'Active SSL VPN users'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.12.2.3.1.2.1
key: fgVpnSslStatsLoginUsers
description: |
FORTINET-FORTIGATE-MIB::fgVpnSslStatsLoginUsers
The current number of users logged in through SSL-VPN tunnels in the virtual domain
applications:
-
name: VPN
-
name: 'Active IPsec VPN tunnels'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.12.1.1.0
key: fgVpnTunnelUpCount
description: |
FORTINET-FORTIGATE-MIB::fgVpnTunnelUpCount
The number of IPsec VPN tunnels with at least one SA
applications:
-
name: VPN
-
name: 'Wireless Controller - Location'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.2.0
key: fgWcInfoLocation
history: 7d
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoLocation
Represents the location of an AC
applications:
-
name: Wireless
-
name: 'Wireless Controller - Name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.1.0
key: fgWcInfoName
history: 7d
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoName
Represents the name of an AC
applications:
-
name: Wireless
-
name: 'Wireless Controller - Station Capacity'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.6.0
key: fgWcInfoStationCapacity
delay: 1h
history: 7d
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoStationCapacity
Represents the maximum number of stations that can be supported on the AC.
applications:
-
name: Wireless
-
name: 'Wireless Controller - Station Count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.7.0
key: fgWcInfoStationCount
history: 7d
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoStationCount
Represents the number of stations that are accessing the wireless service
provided by the AC.
applications:
-
name: Wireless
-
name: 'Wireless Controller - WTP Capacity'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.3.0
key: fgWcInfoWtpCapacity
delay: 1h
history: 7d
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoWtpCapacity
Represents the maximum number of WTPs that can be managed on the AC.
applications:
-
name: Wireless
-
name: 'Wireless Controller - WTP Managed'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.4.0
key: fgWcInfoWtpManaged
history: 7d
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoWtpManaged
Represents the number of WTPs being managed on the AC.
applications:
-
name: Wireless
-
name: 'Wireless Controller - WTP Sessions'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.14.2.5.0
key: fgWcInfoWtpSessions
history: 7d
description: |
FORTINET-FORTIGATE-MIB::fgWcInfoWtpSessions
Represents the number of WTPs that are connecting to the AC.
applications:
-
name: Wireless
-
name: 'Device Serial Number'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.100.1.1.1.0
key: fnSysSerial
delay: 1h
trends: '0'
value_type: CHAR
description: |
FORTINET-CORE-MIB::fnSysSerial
Device serial number. This is the same serial number as given
in the ENTITY-MIB tables for the base entity.
If in HA returns the master SN only.
inventory_link: SERIALNO_A
applications:
-
name: Inventory
-
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 1w
applications:
-
name: Status
valuemap:
name: 'Service state'
triggers:
-
expression: '{max(#3)}=0'
name: 'Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
-
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 1w
value_type: FLOAT
units: '%'
applications:
-
name: Status
triggers:
-
expression: '{min(5m)}>{$ICMP_LOSS_WARN} and {min(5m)}<100'
name: 'High ICMP ping loss'
opdata: 'Loss: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
-
name: 'Unavailable by ICMP ping'
expression: '{Template Net Fortinet FortiGate SNMP:icmpping.max(#3)}=0'
-
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
history: 1w
value_type: FLOAT
units: s
applications:
-
name: Status
triggers:
-
expression: '{avg(5m)}>{$ICMP_RESPONSE_TIME_WARN}'
name: 'High ICMP ping response time'
opdata: 'Value: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
-
name: 'High ICMP ping loss'
expression: '{Template Net Fortinet FortiGate SNMP:icmppingloss.min(5m)}>{$ICMP_LOSS_WARN} and {Template Net Fortinet FortiGate SNMP:icmppingloss.min(5m)}<100'
-
name: 'Unavailable by ICMP ping'
expression: '{Template Net Fortinet FortiGate SNMP:icmpping.max(#3)}=0'
-
name: 'SNMP traps (fallback)'
type: SNMP_TRAP
key: snmptrap.fallback
history: 2w
trends: '0'
value_type: LOG
description: 'Item is used to collect all SNMP traps unmatched by other snmptrap items'
applications:
-
name: General
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
-
name: 'System contact details'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.4.0
key: 'system.contact[sysContact.0]'
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
inventory_link: CONTACT
applications:
-
name: General
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
-
name: 'System description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.descr[sysDescr.0]'
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
A textual description of the entity. This value should
include the full name and version identification of the system's hardware type, software operating-system, and
networking software.
applications:
-
name: General
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
-
name: 'System location'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.6.0
key: 'system.location[sysLocation.0]'
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.
inventory_link: LOCATION
applications:
-
name: General
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
-
name: 'System name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.5.0
key: system.name
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
inventory_link: NAME
applications:
-
name: General
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
triggers:
-
expression: '{diff()}=1 and {strlen()}>0'
name: 'System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'System name has changed. Ack to close.'
manual_close: 'YES'
-
name: 'System object ID'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.2.0
key: 'system.objectid[sysObjectID.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
applications:
-
name: General
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
-
name: 'Operating System'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.12356.101.4.1.1.0
key: 'system.sw.os[sysDescr.0]'
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
FORTINET-FORTIGATE-MIB::fgSysVersion
Firmware version of the device
inventory_link: OS
applications:
-
name: Inventory
-
name: Uptime
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.3.0
key: 'system.uptime[sysUpTime.0]'
delay: 30s
history: 2w
trends: 0d
units: uptime
description: |
MIB: SNMPv2-MIB
The time (in hundredths of a second) since the network management portion of the system was last re-initialized.
applications:
-
name: Status
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.01'
triggers:
-
expression: '{last()}<10m'
name: '{HOST.NAME} has been restarted (uptime < 10m)'
priority: WARNING
description: 'Uptime is less than 10 minutes'
manual_close: 'YES'
dependencies:
-
name: 'No SNMP data collection'
expression: '{Template Net Fortinet FortiGate SNMP:zabbix[host,snmp,available].max({$SNMP.TIMEOUT})}=0'
-
name: 'SNMP agent availability'
type: INTERNAL
key: 'zabbix[host,snmp,available]'
history: 7d
applications:
-
name: Status
valuemap:
name: zabbix.host.available
triggers:
-
expression: '{max({$SNMP.TIMEOUT})}=0'
name: 'No SNMP data collection'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
dependencies:
-
name: 'Unavailable by ICMP ping'
expression: '{Template Net Fortinet FortiGate SNMP:icmpping.max(#3)}=0'
discovery_rules:
-
name: 'High Availability Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#HA_ID},1.3.6.1.4.1.12356.101.13.2.1.1.1,{#HA_SN},1.3.6.1.4.1.12356.101.13.2.1.1.2]'
key: fgHaStatsTable.discovery
delay: 1h
description: |
FORTINET-FORTIGATE-MIB::fgHaStatsTable
Some useful statistics for all members of a cluster. This table is also available in standalone mode.
item_prototypes:
-
name: 'HA Cluster Member {#HA_ID} - AV Events Rate'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.12356.101.13.2.1.1.10.{#HA_ID}'
key: 'fgHaStatsAvCount.rate.[{#HA_ID}]'
description: |
FORTINET-FORTIGATE-MIB::fgHaStatsAvCount
Number of anti-virus events triggered on the specified cluster member since start-up
applications:
-
name: 'High Availability'
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
name: 'HA Cluster Member {#HA_ID} - Bytes Processed Rate'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.12356.101.13.2.1.1.8.{#HA_ID}'
key: 'fgHaStatsByteCount.rate.[{#HA_ID}]'
units: bps
description: |
FORTINET-FORTIGATE-MIB::fgHaStatsByteCount