3.2 KiB
Executable File
3.2 KiB
Executable File
ZBX-FORTINET-INTERFACES
This template use the IF-MIB to discover and manage interfaces of Fortinet devices.
Items
- Discovery: administrative status for each interface
- Discovery: operational status for earch interface
- Discovery: speed for each interface
- Discovery: associated VDOM for each interface
- Discovery: description for each interface
- Discovery: alias for each interface
- Discovery: incoming traffic on each interface
- Discovery: outgoing traffic on each interface
- Discovery: inbound errors on each interface
- Discovery: outbound errors on each interface
- Discovery: incoming discarded packets on each interface
- Discovery: outgoing discarded packets on each interface
- Discovery: the length of the output packet queue for each interface
Triggers
- [DISASTER] => Discovery: operational status was changed for an interface where ifAlias match user macro {$INTF_REGEXP}
- [WARNING] => Discovery: incoming use on an interface exceed 80% for the last 5 minutes
- [WARNING] => Discovery: outgoing use on an interface exceed 80% for the last 5 minutes
- [INFORMATION] => Discovery: operational status was changed for an interface where ifAlias didn't match user macro {$INTF_REGEXP}
- [INFORMATION] => Discovery: the length of the output packet queue is not empty on each interface
Graphs
- Discovery: traffic (bits/sec, 95th Percentile) for an interface
- Discovery: errors on an interface
- Discovery: length of the output packets queue for an interface
Installation
- Install
if.speed
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 if.speed
- Install
if.vdom
in the ExternalScripts directory of your Zabbix server and/or proxy. Check yourzabbix_server.conf
and/orzabbix_proxy.conf
if in d> - Then
chmod a+x if.vdom
- Import zbx-fortinet-interfaces.xml file into Zabbix.
- Add to your host the {$SNMP_COMMUNITY} macro with your SNMP community as value.
- Add to your host the {$INTF_REGEXP} macro with your regular expression as value (ex: -p-|-P-|-pe-|-PE-)
- Associate ZBX-FORTINET-INTERFACES template to the host.
Requirements
This template was tested for Zabbix 2.0.0 and higher.
if.speed 1.0
This script quey the speed of an interface using the ifSpeed and ifHighSpeed OID and return the right speed value for an interface.
if.vdom 1.0
This script show associated VDOM for an interface 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)