Added VPN sensors for Fortinet Fortigate (#10384)

* Added IPSEC VPN state

* Added more VPN sensors

* Test Data cleaned
This commit is contained in:
jozefrebjak
2019-07-02 16:58:42 +02:00
committed by Neil Lathwood
parent 88d5577bd1
commit 3531454a6e
3 changed files with 4620 additions and 0 deletions

View File

@@ -7,6 +7,11 @@ modules:
num_oid: '.1.3.6.1.4.1.12356.101.4.1.3.{{ $index }}'
type: fortigate-fixed
sensors:
pre-cache:
data:
- oid:
- fgVpnTunEntPhase1Name
- fgVpnTunEntRemGwyIp
state:
data:
-
@@ -18,3 +23,45 @@ modules:
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 }} ({{ $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