1.7 KiB
Executable File
1.7 KiB
Executable File
ZBX-FORTINET-VPN
This template use the FORTINET-CORE-MIB and FORTINET-FORTIGATE-MIB to discover and manage VPN on Fortinet devices.
Items
- Discovery: associated virtual domain for each VPN
- Discovery: current status for each VPN
- Discovery: local IP address for each VPN
- Discovery: remote IP address for each VPN
- Discovery: number of bytes received on each VPN
- Discovery: number of bytes sent on each VPN
Triggers
- [INFORMATION] => VPN tunnel is DOWN
Graphs
- Discovery: traffic for each VPN
Installation
- Add a value mapping named
FgVpnState
with the following values:
- 1 => down
- 2 => up
- Install
vpn.vdom
in the ExternalScripts directory of your Zabbix server and/or proxy. Check yourzabbix_server.conf
and/orzabbix_proxy.conf
if in doubt. - Then
chmod a+x vpn.vdom
- Import zbx-fortinet-vpn.xml file into Zabbix.
- Add to your host the {$SNMP_COMMUNITY} macro with your SNMP community as value.
- Associate ZBX-FORTINET-VPN template to the host.
Requirements
This template was tested for Zabbix 2.0.0 and higher.
vpn.vdom 1.0
This script show asssociated VDOM for a VPN tunnel using SNMP on FortiNet device.
License
This template is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Copyright
Copyright (c) Jean-Jacques Martrès
Authors
Jean-Jacques Martrès (jjmartres |at| gmail |dot| com)