update fortinet snmp profiles (#20609)
Ilya Mashchenko committed
Jun 30, 2025 at 23:09 UTC
315a527f0e5de101a1861c4904b707b24205834d
4 files changed
+119
-133
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_fortinet-fortigate-vpn-tunnel.yaml
+7
-5
@@ -7,17 +7,19 @@ metrics:
7
- OID: 1.3.6.1.4.1.12356.101.12.2.2.1.18
8
name: fgVpnTunEntInOctets
9
description: Number of bytes received on tunnel
10
- family: Fortinet/Fortigate/VPN/Tunnels/Traffic
11
- unit: "By"
10
+ family: VPN/Tunnel/Traffic/In
11
+ unit: "bits/s"
12
+ scale_factor: 8
13
- OID: 1.3.6.1.4.1.12356.101.12.2.2.1.19
14
name: fgVpnTunEntOutOctets
15
description: Number of bytes sent out on tunnel
15
- family: Fortinet/Fortigate/VPN/Tunnels/Traffic
16
- unit: "By"
16
+ family: VPN/Tunnel/Traffic/Out
17
+ unit: "bits/s"
18
+ scale_factor: 8
19
- OID: 1.3.6.1.4.1.12356.101.12.2.2.1.20
20
name: fgVpnTunEntStatus
21
description: Current status of tunnel (up or down)
20
- family: Fortinet/Fortigate/VPN/Tunnels/Status
22
+ family: VPN/Tunnel/Operational/Status
23
unit: "{status}"
24
mapping:
25
1: down
src/go/plugin/go.d/config/go.d/snmp.profiles/default/fortinet-appliance.yaml
+37
-36
@@ -74,56 +74,60 @@ metrics:
74
name: cpu.usage
75
OID: 1.3.6.1.4.1.12356.103.2.1.1.0
76
description: Current CPU usage
77
- family: Fortinet/FMG-FAZ/CPU
77
+ family: CPU/Usage
78
unit: "%"
79
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
80
symbol:
81
name: memory.used
82
OID: 1.3.6.1.4.1.12356.103.2.1.2.0
83
description: Current memory used
84
- family: Fortinet/FMG-FAZ/Memory
85
- unit: "kBy"
84
+ family: Memory/Used
85
+ unit: "By"
86
+ scale_factor: 1024
87
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
88
symbol:
89
name: memory.total
90
OID: 1.3.6.1.4.1.12356.103.2.1.3.0
91
description: Total physical and swap memory installed
91
- family: Fortinet/FMG-FAZ/Memory
92
- unit: "kBy"
92
+ family: Memory/Total
93
+ unit: "By"
94
+ scale_factor: 1024
95
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
96
symbol:
97
name: fmSysDiskUsage
98
OID: 1.3.6.1.4.1.12356.103.2.1.4.0
99
description: Current hard disk usage
98
- family: Fortinet/FMG-FAZ/Storage/Disk
99
- unit: "MBy"
100
+ family: Disk/Space/Used
101
+ unit: "By"
102
+ scale_factor: 1048576
103
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
104
symbol:
105
name: fmSysDiskCapacity
106
OID: 1.3.6.1.4.1.12356.103.2.1.5.0
107
description: Total hard disk capacity
105
- family: Fortinet/FMG-FAZ/Storage/Disk
106
- unit: "MBy"
108
+ family: Disk/Space/Total
109
+ unit: "By"
110
+ scale_factor: 1048576
111
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
112
symbol:
113
name: fmSysCpuUsageExcludedNice
114
OID: 1.3.6.1.4.1.12356.103.2.1.6.0
115
description: Current CPU usage excluded nice processes usage (percentage)
112
- family: Fortinet/FMG-FAZ/CPU
116
+ family: CPU/Usage/ExcludeNice
117
unit: "%"
118
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
119
symbol:
120
name: fmLogRate
121
OID: 1.3.6.1.4.1.12356.103.2.1.9.0
122
description: Log receiving rate in number of logs per second
119
- family: Fortinet/FMG-FAZ/Logs
120
- unit: "{log}"
123
+ family: Log/Rate/In
124
+ unit: "{log}/s"
125
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
126
symbol:
127
name: fmRaidLevel
128
OID: 1.3.6.1.4.1.12356.103.7.1.1.0
129
description: RAID Level
126
- family: Fortinet/FMG-FAZ/Storage/RAID/Status
130
+ family: Storage/RAID/Level
131
unit: "{status}"
132
mapping:
133
0: unavailable
@@ -146,7 +150,7 @@ metrics:
150
name: fmRaidState
151
OID: 1.3.6.1.4.1.12356.103.7.1.2.0
152
description: RAID Status
149
- family: Fortinet/FMG-FAZ/Storage/RAID/Status
153
+ family: Storage/RAID/Operational/Status
154
unit: "{status}"
155
mapping:
156
0: unavailable
@@ -161,21 +165,22 @@ metrics:
165
name: fmRaidSize
166
OID: 1.3.6.1.4.1.12356.103.7.1.3.0
167
description: Raid size in GB
164
- family: Fortinet/FMG-FAZ/Storage/RAID/Size
165
- unit: "GBy"
168
+ family: Storage/RAID/Space/Total
169
+ unit: "By"
170
+ scale_factor: 1073741824 # GB => bytes
171
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
172
symbol:
173
name: fmRaidDiskNumber
174
OID: 1.3.6.1.4.1.12356.103.7.1.4.0
175
description: Disk numbers in the Raid
171
- family: Fortinet/FMG-FAZ/Storage/RAID/Disks
176
+ family: Storage/RAID/Disk/Count
177
unit: "{disk}"
178
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
179
symbol:
180
name: fmHaMode
181
OID: 1.3.6.1.4.1.12356.103.9.1.1.0
182
description: High availability mode
178
- family: Fortinet/FMG-FAZ/High Availability
183
+ family: HighAvailability/Mode
184
unit: "{status}"
185
mapping:
186
0: standalone
@@ -186,14 +191,14 @@ metrics:
191
name: fmHaClusterId
192
OID: 1.3.6.1.4.1.12356.103.9.1.2.0
193
description: Ha cluster ID
189
- family: Fortinet/FMG-FAZ/High Availability
194
+ family: HighAvailability/Cluster/ID
195
unit: "1"
196
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
197
symbol:
198
name: fmHaPeerNumber
199
OID: 1.3.6.1.4.1.12356.103.9.1.3.0
200
description: Peer numbers in the Ha
196
- family: Fortinet/FMG-FAZ/High Availability
201
+ family: HighAvailability/Peer/Count
202
unit: "{peer}"
203
- MIB: FORTINET-FORTIMANAGER-FORTIANALYZER-MIB
204
table:
@@ -203,7 +208,7 @@ metrics:
208
- OID: 1.3.6.1.4.1.12356.103.6.2.1.4
209
name: fmDeviceEntMode
210
description: Device management mode
206
- family: Fortinet/FMG-FAZ/Devices/Status
211
+ family: Device/Mode
212
unit: "{status}"
213
mapping:
214
0: unregistered
@@ -213,7 +218,7 @@ metrics:
218
- OID: 1.3.6.1.4.1.12356.103.6.2.1.10
219
name: fmDeviceEntHaMode
220
description: Device high availability mode
216
- family: Fortinet/FMG-FAZ/Devices/Status
221
+ family: Device/HighAvailability/Mode
222
unit: "{status}"
223
mapping:
224
0: standalone
@@ -225,7 +230,7 @@ metrics:
230
- OID: 1.3.6.1.4.1.12356.103.6.2.1.12
231
name: fmDeviceEntConnectState
232
description: Device connection status
228
- family: Fortinet/FMG-FAZ/Devices/Status
233
+ family: Device/Connection/Status
234
unit: "{status}"
235
mapping:
236
0: unknown
@@ -234,7 +239,7 @@ metrics:
239
- OID: 1.3.6.1.4.1.12356.103.6.2.1.13
240
name: fmDeviceEntDbState
241
description: Device database status
237
- family: Fortinet/FMG-FAZ/Devices/Status
242
+ family: Device/Database/Status
243
unit: "{status}"
244
mapping:
245
0: unknown
@@ -244,7 +249,7 @@ metrics:
249
- OID: 1.3.6.1.4.1.12356.103.6.2.1.14
250
name: fmDeviceEntConfigState
251
description: Device config status
247
- family: Fortinet/FMG-FAZ/Devices/Status
252
+ family: Device/Configuration/Status
253
unit: "{status}"
254
mapping:
255
0: unknown
@@ -253,7 +258,7 @@ metrics:
258
- OID: 1.3.6.1.4.1.12356.103.6.2.1.15
259
name: fmDeviceEntState
260
description: Device status
256
- family: Fortinet/FMG-FAZ/Devices/Status
261
+ family: Device/Operational/Status
262
unit: "{status}"
263
mapping:
264
0: none
@@ -276,7 +281,7 @@ metrics:
281
OID: 1.3.6.1.4.1.12356.103.6.2.1.18
282
name: fmDeviceEntSupportState
283
description: The support status of the device
279
- family: Fortinet/FMG-FAZ/Devices/Status
284
+ family: Device/Support/Status
285
unit: "{status}"
286
mapping:
287
0: expired
@@ -314,12 +319,12 @@ metrics:
319
- name: fmRaidDiskEntSize
320
OID: 1.3.6.1.4.1.12356.103.7.2.1.3
321
description: Raid disk size in GB
317
- family: Fortinet/FMG-FAZ/Storage/RAID/Disks
322
+ family: Storage/RAID/Disk/Size
323
unit: "GBy"
324
- OID: 1.3.6.1.4.1.12356.103.7.2.1.2
325
name: fmRaidDiskEntState
326
description: Raid disk status
322
- family: Fortinet/FMG-FAZ/Storage/RAID/Disks
327
+ family: Storage/RAID/Disk/Status
328
unit: "{status}"
329
mapping:
330
0: unavailable
@@ -338,15 +343,11 @@ metrics:
343
OID: 1.3.6.1.4.1.12356.103.8.2
344
name: fmSensorTable
345
symbols:
341
- # - name: fmSensorEntVal
342
- # OID: 1.3.6.1.4.1.12356.103.8.2.1.3
343
- # description: Sensor value
344
- # unit: "{1}"
345
- # TODO scalar string metric, maybe make it a tag?
346
+ # TODO: transformation, separate metrics for types
347
- OID: 1.3.6.1.4.1.12356.103.8.2.1.5
348
name: fmSensorEntState
349
description: Sensor status
349
- family: Fortinet/FMG-FAZ/Sensors
350
+ family: Sensor/Operational/Status
351
unit: "{status}"
352
mapping:
353
0: ok
@@ -378,7 +379,7 @@ metrics:
379
- OID: 1.3.6.1.4.1.12356.103.9.2.1.6
380
name: fmHaPeerEntState
381
description: Peer status
381
- family: Fortinet/FMG-FAZ/High Availability
382
+ family: HighAvailability/Peer/Status
383
unit: "{status}"
384
mapping:
385
0: down
src/go/plugin/go.d/config/go.d/snmp.profiles/default/fortinet-fortigate.yaml
+50
-75
@@ -71,7 +71,7 @@ metrics:
71
OID: 1.3.6.1.4.1.12356.101.4.1.3.0
72
name: fgSysCpuUsage
73
description: Current CPU usage
74
- family: Fortinet/Fortigate/CPU/Utilization
74
+ family: CPU/Usage
75
unit: "%"
76
77
### Processors
@@ -79,25 +79,23 @@ metrics:
79
table:
80
OID: 1.3.6.1.4.1.12356.101.4.4.2
81
name: fgProcessorTable
82
- metric_type: monotonic_count_and_rate
82
symbols:
83
- OID: 1.3.6.1.4.1.12356.101.4.4.2.1.6
84
name: fgProcessorPktRxCount
85
description: Number of packets received by this processor
87
- family: Fortinet/Fortigate/CPU/Packets
88
- unit: "{packet}"
86
+ family: Processor/Packet/In
87
+ unit: "{packet}/s"
88
- OID: 1.3.6.1.4.1.12356.101.4.4.2.1.7
89
name: fgProcessorPktTxCount
90
description: Number of packets transmitted by this processor
92
- family: Fortinet/Fortigate/CPU/Packets
93
- unit: "{packet}"
91
+ family: Processor/Packet/Out
92
+ unit: "{packet}/s"
93
- OID: 1.3.6.1.4.1.12356.101.4.4.2.1.8
94
name: fgProcessorPktDroppedCount
95
description: Number of packets dropped by this processor
97
- family: Fortinet/Fortigate/CPU/Packets
98
- unit: "{drop}"
96
+ family: Processor/Packet/Dropped
97
+ unit: "{drop}/s"
98
metric_tags:
100
- # A unique identifier within the fgProcessorTable.
99
- tag: processor_index
100
symbol:
101
OID: 1.3.6.1.4.1.12356.101.4.4.2.1.1
@@ -111,13 +109,13 @@ metrics:
109
- OID: 1.3.6.1.4.1.12356.101.4.4.2.1.2
110
name: fgProcessorUsage
111
description: Processor CPU usage averaged over last minute
114
- family: Fortinet/Fortigate/CPU/Utilization
112
+ family: Processor/Usage/Total
113
unit: "%"
114
# The processor's CPU system space usage, which is an average calculated over the last minute.
115
- OID: 1.3.6.1.4.1.12356.101.4.4.2.1.10
116
name: fgProcessorSysUsage
117
description: Processor CPU system space usage averaged over last minute
120
- family: Fortinet/Fortigate/CPU/Utilization
118
+ family: Processor/Usage/System
119
unit: "%"
120
metric_tags:
121
# A unique identifier within the fgProcessorTable.
@@ -133,7 +131,7 @@ metrics:
131
OID: 1.3.6.1.4.1.12356.101.4.1.4.0
132
name: fgSysMemUsage
133
description: Current memory utilization
136
- family: Fortinet/Fortigate/Memory
134
+ family: Memory/Usage
135
unit: "%"
136
- MIB: FORTINET-FORTIGATE-MIB
137
symbol:
@@ -141,15 +139,16 @@ metrics:
139
OID: 1.3.6.1.4.1.12356.101.4.1.5.0
140
name: fgSysMemCapacity
141
description: Total physical memory installed in kilobytes
144
- family: Fortinet/Fortigate/Memory
145
- unit: "kBy"
142
+ family: Memory/Total
143
+ unit: "By"
144
+ scale_factor: 1024
145
- MIB: FORTINET-FORTIGATE-MIB
146
symbol:
147
# Current lowmem utilization (percentage). Lowmem is memory available for the kernel's own data structures and kernel specific tables. The system can get into a bad state if it runs out of lowmem.
148
OID: 1.3.6.1.4.1.12356.101.4.1.9.0
149
name: fgSysLowMemUsage
150
description: Current low memory utilization
152
- family: Fortinet/Fortigate/Memory
151
+ family: Memory/LowMem/Usage
152
unit: "%"
153
- MIB: FORTINET-FORTIGATE-MIB
154
symbol:
@@ -157,8 +156,9 @@ metrics:
156
OID: 1.3.6.1.4.1.12356.101.4.1.10.0
157
name: fgSysLowMemCapacity
158
description: Total low memory capacity in kilobytes
160
- family: Fortinet/Fortigate/Memory
161
- unit: "kBy"
159
+ family: Memory/LowMem/Total
160
+ unit: "By"
161
+ scale_factor: 1024
162
163
### Disk
164
- MIB: FORTINET-FORTIGATE-MIB
@@ -167,16 +167,18 @@ metrics:
167
OID: 1.3.6.1.4.1.12356.101.4.1.6.0
168
name: fgSysDiskUsage
169
description: Current hard disk usage in megabytes
170
- family: Fortinet/Fortigate/Storage/Disk
171
- unit: "MBy"
170
+ family: Disk/Space/Used
171
+ unit: "By"
172
+ scale_factor: 1048576
173
- MIB: FORTINET-FORTIGATE-MIB
174
symbol:
175
# Total hard disk capacity (MB), if disk is present.
176
OID: 1.3.6.1.4.1.12356.101.4.1.7.0
177
name: fgSysDiskCapacity
178
description: Total hard disk capacity in megabytes
178
- family: Fortinet/Fortigate/Storage/Disk
179
- unit: "MBy"
179
+ family: Disk/Space/Total
180
+ unit: "By"
181
+ scale_factor: 1048576
182
183
### Virtual Domains
184
# A table of virtual domains configured on the device.
@@ -189,17 +191,16 @@ metrics:
191
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.3
192
name: fgVdEntOpMode
193
description: Operation mode of the virtual domain
192
- family: Fortinet/Fortigate/Virtual Domains/Operation Mode
194
+ family: VirtualDomain/OperationMode
195
unit: "{status}"
196
mapping:
195
- 1: master
196
- 2: backup
197
- 3: standalone
197
+ 1: nat
198
+ 2: transparent
199
# HA cluster member state of the virtual domain on this device: master(1), backup(2), standalone(3)
200
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.4
201
name: fgVdEntHaState
202
description: HA cluster member state of the virtual domain
202
- family: Fortinet/Fortigate/Virtual Domains/High Availability
203
+ family: VirtualDomain/HighAvailability/Status
204
unit: "{status}"
205
mapping:
206
1: master
@@ -209,50 +210,26 @@ metrics:
210
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.5
211
name: fgVdEntCpuUsage
212
description: CPU usage of the virtual domain
212
- family: Fortinet/Fortigate/Virtual Domains/CPU
213
+ family: VirtualDomain/CPU/Usage
214
unit: "%"
215
# Memory usage of the virtual domain (percentage).
216
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.6
217
name: fgVdEntMemUsage
218
description: Memory usage of the virtual domain
218
- family: Fortinet/Fortigate/Virtual Domains/Memory
219
+ family: VirtualDomain/Memory/Usage
220
unit: "%"
221
# Number of active sessions on the virtual domain.
222
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.7
223
name: fgVdEntSesCount
224
description: Number of active sessions on the virtual domain
224
- family: Fortinet/Fortigate/Virtual Domains/Sessions
225
+ family: VirtualDomain/Session/Active
226
unit: "{session}"
227
# The session setup rate on the virtual domain.
228
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.8
229
name: fgVdEntSesRate
230
description: Session setup rate on the virtual domain
230
- family: Fortinet/Fortigate/Virtual Domains/Sessions
231
- unit: "1.s"
232
- metric_tags:
233
- - tag: virtualdomain_index
234
- symbol:
235
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.1
236
- name: fgVdEntIndex
237
- - tag: virtualdomain_name
238
- symbol:
239
- OID: 1.3.6.1.4.1.12356.101.3.2.1.1.2
240
- name: fgVdEntName
241
-
242
- - MIB: FORTINET-FORTIGATE-MIB
243
- table:
244
- OID: 1.3.6.1.4.1.12356.101.3.2.1
245
- name: fgVdTable
246
- symbols:
247
- - OID: 1.3.6.1.4.1.12356.101.3.2.1.1.4
248
- name: fgVdEntHaState
249
- description: HA cluster member state of the virtual domain on this device
250
- family: Fortinet/Fortigate/Virtual Domains/High Availability
251
- unit: "{status}"
252
- mapping:
253
- 1: primary
254
- 2: secondary
255
- 3: standalone
231
+ family: VirtualDomain/Session/Rate
232
+ unit: "{session}/s"
233
metric_tags:
234
- tag: virtualdomain_index
235
symbol:
@@ -269,7 +246,7 @@ metrics:
246
OID: 1.3.6.1.4.1.12356.101.3.1.1.0
247
name: fgVdNumber
248
description: Number of virtual domains in vdTable
272
- family: Fortinet/Fortigate/Virtual Domains
249
+ family: VirtualDomain/Count/Active
250
unit: "{domain}"
251
- MIB: FORTINET-FORTIGATE-MIB
252
symbol:
@@ -277,7 +254,7 @@ metrics:
254
OID: 1.3.6.1.4.1.12356.101.3.1.2.0
255
name: fgVdMaxVdoms
256
description: Maximum number of virtual domains allowed on the device
280
- family: Fortinet/Fortigate/Virtual Domains
257
+ family: VirtualDomain/Count/Maximum
258
unit: "{domain}"
259
260
### Interfaces
@@ -310,7 +287,7 @@ metrics:
287
OID: 1.3.6.1.4.1.12356.101.4.1.8.0
288
name: fgSysSesCount
289
description: Number of active sessions on the device
313
- family: Fortinet/Fortigate/Sessions
290
+ family: Session/Active/Count
291
unit: "{session}"
292
- MIB: FORTINET-FORTIGATE-MIB
293
symbol:
@@ -318,15 +295,15 @@ metrics:
295
OID: 1.3.6.1.4.1.12356.101.4.1.11.0
296
name: fgSysSesRate1
297
description: Average session setup rate over the past minute
321
- family: Fortinet/Fortigate/Sessions
322
- unit: "1.s"
298
+ family: Session/Rate/Average
299
+ unit: "{session}/s"
300
- MIB: FORTINET-FORTIGATE-MIB
301
symbol:
302
# Number of active ipv6 sessions on the device.
303
OID: 1.3.6.1.4.1.12356.101.4.1.15.0
304
name: fgSysSes6Count
305
description: Number of active IPv6 sessions on the device
329
- family: Fortinet/Fortigate/Sessions
306
+ family: Session/IPv6/Active/Count
307
unit: "{session}"
308
- MIB: FORTINET-FORTIGATE-MIB
309
symbol:
@@ -334,15 +311,15 @@ metrics:
311
OID: 1.3.6.1.4.1.12356.101.4.1.16.0
312
name: fgSysSes6Rate1
313
description: Average IPv6 session setup rate over the past minute
337
- family: Fortinet/Fortigate/Sessions
338
- unit: "1.s"
314
+ family: Session/IPv6/Rate/Average
315
+ unit: "{session}/s"
316
- MIB: FORTINET-FORTIGATE-MIB
317
symbol:
318
# HTTP proxy current connections.
319
OID: 1.3.6.1.4.1.12356.101.10.100.4.0
320
name: fgApHTTPConnections
321
description: Current number of HTTP proxy connections
345
- family: Fortinet/Fortigate/HTTPProxy/Connections
322
+ family: Proxy/HTTP/Connection/Active
323
unit: "{connection}"
324
- MIB: FORTINET-FORTIGATE-MIB
325
symbol:
@@ -350,7 +327,7 @@ metrics:
327
OID: 1.3.6.1.4.1.12356.101.10.100.5.0
328
name: fgApHTTPMaxConnections
329
description: Maximum number of connections supported by HTTP proxy
353
- family: Fortinet/Fortigate/HTTP/Proxy/Connections
330
+ family: Proxy/HTTP/Connection/Maximum
331
unit: "{connection}"
332
333
### Firewall
@@ -359,20 +336,19 @@ metrics:
336
table:
337
OID: 1.3.6.1.4.1.12356.101.5.1.2.1
338
name: fgFwPolStatsTable
362
- metric_type: monotonic_count_and_rate
339
symbols:
340
# Number of packets matched to policy (passed or blocked, depending on policy action). Count is from the time the policy became active.
341
- OID: 1.3.6.1.4.1.12356.101.5.1.2.1.1.2
342
name: fgFwPolPktCount
343
description: Number of packets matched to firewall policy
368
- family: Fortinet/Fortigate/Firewall/Policy/Packets
369
- unit: "{packet}"
344
+ family: Firewall/Policy/Packet/Count
345
+ unit: "{packet}/s"
346
# Number of bytes in packets matching the policy.
347
- OID: 1.3.6.1.4.1.12356.101.5.1.2.1.1.3
348
name: fgFwPolByteCount
349
description: Number of bytes in packets matching firewall policy
374
- family: Fortinet/Fortigate/Firewall/Policy/Packets
375
- unit: "By"
350
+ family: Firewall/Policy/Throughput/Total
351
+ unit: "By/s"
352
metric_tags:
353
# Internal virtual domain index used to uniquely identify rows in this table. This index is also used by other tables referencing a virtual domain.
354
- index: 1
@@ -385,20 +361,19 @@ metrics:
361
table:
362
OID: 1.3.6.1.4.1.12356.101.5.1.2.2
363
name: fgFwPol6StatsTable
388
- metric_type: monotonic_count_and_rate
364
symbols:
365
# Number of packets matched to policy (passed or blocked, depending on policy action). Count is from the time the policy became active.
366
- OID: 1.3.6.1.4.1.12356.101.5.1.2.2.1.2
367
name: fgFwPol6PktCount
368
description: Number of packets matched to firewall policy6
394
- family: Fortinet/Fortigate/Firewall/Policy6/Packets
395
- unit: "{packet}"
369
+ family: Firewall/Policy6/Packet/Count
370
+ unit: "{packet}/s"
371
# Number of bytes in packets matching the policy. See fgFwPol6PktCount.
372
- OID: 1.3.6.1.4.1.12356.101.5.1.2.2.1.3
373
name: fgFwPol6ByteCount
374
description: Number of bytes in packets matching firewall policy6
400
- family: Fortinet/Fortigate/Firewall/Policy6/Packets
401
- unit: "By"
375
+ family: Firewall/Policy6/Throughput/Total
376
+ unit: "By/s"
377
metric_tags:
378
# Internal virtual domain index used to uniquely identify rows in this table. This index is also used by other tables referencing a virtual domain.
379
- index: 1
src/go/plugin/go.d/config/go.d/snmp.profiles/default/fortinet-fortiswitch.yaml
+25
-17
@@ -1,55 +1,63 @@
1
extends:
2
- fortinet.yaml
3
+
4
sysobjectid:
5
- 1.3.6.1.4.1.12356.106.1.* # FortiSwitch
6
- 1.3.6.1.4.1.12356.106.1.1486 # FortiSwitch-148F-FPOE
7
- 1.3.6.1.4.1.12356.106.1.1248 # FortiSwitch-148E-FPOE
8
- 1.3.6.1.4.1.12356.106.1.2485 # FortiSwitch-248E-POE
9
+
10
metadata:
11
device:
12
fields:
13
type:
14
value: "switch"
15
+
16
+metric_tags:
17
+ - OID: 1.3.6.1.4.1.12356.106.1.1.1.0
18
+ symbol: fsSysSerial
19
+ tag: fs_sys_serial
20
+ - OID: 1.3.6.1.4.1.12356.106.4.1.1.0
21
+ symbol: fsSysVersion
22
+ tag: fs_sys_version
23
+
24
metrics:
25
- MIB: FORTINET-FORTISWITCH-MIB
26
symbol:
27
name: cpu.usage
28
OID: 1.3.6.1.4.1.12356.106.4.1.2.0
29
description: Current CPU usage
19
- family: Fortinet/FortiSwitch/CPU
30
+ family: CPU/Usage
31
unit: "%"
32
- MIB: FORTINET-FORTISWITCH-MIB
33
symbol:
34
name: memory.used
35
OID: 1.3.6.1.4.1.12356.106.4.1.3.0
36
description: Current system memory usage
26
- family: Fortinet/FortiSwitch/Memory
27
- unit: "kBy"
37
+ family: Memory/Used
38
+ unit: "By"
39
+ scale_factor: 1024
40
- MIB: FORTINET-FORTISWITCH-MIB
41
symbol:
42
name: memory.total
43
OID: 1.3.6.1.4.1.12356.106.4.1.4.0
44
description: Total physical memory installed
33
- family: Fortinet/FortiSwitch/Memory
34
- unit: "kBy"
45
+ family: Memory/Total
46
+ unit: "By"
47
+ scale_factor: 1024
48
- MIB: FORTINET-FORTISWITCH-MIB
49
symbol:
50
name: fsSysDiskUsage
51
OID: 1.3.6.1.4.1.12356.106.4.1.5.0
52
description: Current hard disk usage
40
- family: Fortinet/FortiSwitch/Storage/Disk
41
- unit: "kBy"
53
+ family: Disk/Space/Used
54
+ unit: "By"
55
+ scale_factor: 1024
56
- MIB: FORTINET-FORTISWITCH-MIB
57
symbol:
58
name: fsSysDiskCapacity
59
OID: 1.3.6.1.4.1.12356.106.4.1.6.0
46
- description: Total hard disk capacity
47
- family: Fortinet/FortiSwitch/Storage/Disk
48
- unit: "kBy"
49
-metric_tags:
50
- - OID: 1.3.6.1.4.1.12356.106.1.1.1.0
51
- symbol: fsSysSerial
52
- tag: fs_sys_serial
53
- - OID: 1.3.6.1.4.1.12356.106.4.1.1.0
54
- symbol: fsSysVersion
55
- tag: fs_sys_version
60
+ description: Total hard disk capacity
61
+ family: Disk/Space/Total
62
+ unit: "By"
63
+ scale_factor: 1024