Files
librenms-librenms/includes/definitions/discovery/fortigate.yaml
VTS a382d11c75 Added phase2 name to fortigate IPSEC sensor. (#10423)
* Add phase2 name to IPSEC sensor.
For VPN tunnels with more than one phase2, the sensor is confusing. 
Using the phase2 value provides both the phase1 and phase2 name for a more complete sensor.
* Update fortigate.yaml
phase1\phase2 naming for a more clear sensor.
test data to come
* add test data
* more test data?
* missing whitespace compared to original
* Remove wireless data
2019-07-19 09:49:56 +02:00

69 lines
2.8 KiB
YAML

mib: FORTINET-FORTIGATE-MIB
modules:
processors:
data:
-
oid: fgSysCpuUsage
num_oid: '.1.3.6.1.4.1.12356.101.4.1.3.{{ $index }}'
type: fortigate-fixed
sensors:
pre-cache:
data:
- oid:
- fgVpnTunEntPhase1Name
- fgVpnTunEntPhase2Name
- fgVpnTunEntRemGwyIp
state:
data:
-
oid: fgHwSensors
num_oid: '.1.3.6.1.4.1.12356.101.4.3.2.1.4.{{ $index }}'
index: 'fgHwSensorEntIndex.{{ $index }}'
descr: fgHwSensorEntName
value: fgHwSensorEntAlarmStatus
states:
- { value: 0, descr: OK, graph: 1, generic: 0 }
- { value: 1, descr: ERROR, graph: 1, generic: 2 }
-
oid: fgVpnTunEntStatus
num_oid: '.1.3.6.1.4.1.12356.101.12.2.2.1.20.{{ $index }}'
index: 'fgVpnTunEntIndex.{{ $index }}'
descr: "{{ $fgVpnTunEntPhase1Name }}\\{{ $fgVpnTunEntPhase2Name }} ({{ $fgVpnTunEntRemGwyIp }})"
group: IPSEC VPN
value: fgVpnTunEntStatus
states:
- { value: 1, descr: Down, graph: 1, generic: 2 }
- { value: 2, descr: Up, graph: 1, generic: 0 }
-
oid: fgVpnSslState
num_oid: '.1.3.6.1.4.1.12356.101.12.2.3.1.1.{{ $index }}'
index: 'fgVpnSslState.{{ $index }}'
descr: "SSL-VPN Status"
group: SSL VPN
value: fgVpnSslState
states:
- { value: 1, descr: Disabled, graph: 1, generic: 3 }
- { value: 2, descr: Enabled, graph: 1, generic: 0 }
count:
data:
-
oid: fgVpnTunnelUpCount
num_oid: '.1.3.6.1.4.1.12356.101.12.1.1.{{ $index }}'
index: 'fgVpnTunnelUpCount.{{ $index }}'
descr: IPSEC VPN tunnels
group: VPN
-
oid: fgVpnSslStatsLoginUsers
num_oid: '.1.3.6.1.4.1.12356.101.12.2.3.1.2.{{ $index }}'
index: 'fgVpnSslStatsLoginUsers.{{ $index }}'
descr: SSL VPN Logged users
group: VPN
-
oid: fgVpnSslStatsActiveTunnels
num_oid: '.1.3.6.1.4.1.12356.101.12.2.3.1.6.{{ $index }}'
index: 'fgVpnSslStatsActiveTunnels.{{ $index }}'
descr: SSL VPN Active tunnels
group: VPN