Skip to main content

Fortinet FortiSwitch SNMP

Pack Assets​

Templates​

The Centreon Pack Fortinet FortiSwitch SNMP brings 1 host template:

  • Net-Fortinet-Fortiswitch-SNMP-custom

It brings the following Service Templates:

Service AliasService TemplateDefaultDiscovery
ArpNet-Fortinet-Fortiswitch-Arp-SNMP
CpuNet-Fortinet-Fortiswitch-Cpu-SNMPX
DiskNet-Fortinet-Fortiswitch-Disk-SNMPX
InterfacesNet-Fortinet-Fortiswitch-Interfaces-SNMPX
MemoryNet-Fortinet-Fortiswitch-Memory-SNMPX
UptimeNet-Fortinet-Fortiswitch-Uptime-SNMPX

Discovery rules​

Rule nameDescription
Net-Fortinet-Fortiswitch-SNMP-Interface-NameDiscover network interfaces and monitor utilization

Collected metrics & status​

Metric nameDescriptionUnit
arp.total.entries.countNumber of arp entries
arp.duplicate.macaddr.countNumber of duplicate mac addresses
arp.duplicate.ipaddr.countNumber of duplicate ip addresses

Prerequisites​

SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your device:

Network flow​

The target equipment must be reachable from the Centreon Poller on the UDP/161 SNMP port.

Setup​

  1. Install the Centreon Plugin package on every Centreon poller expected to monitor Fortinet FortiSwitch SNMP resources:
yum install centreon-plugin-Network-Fortinet-Fortiswitch-Snmp
  1. On the Centreon Web interface, install the Fortinet FortiSwitch SNMP Centreon Pack on the Configuration > Plugin Packs page.

Configuration​

Host​

  • Log into Centreon and add a new Host through Configuration > Hosts
  • Fill the Name, Alias & IP Address / DNS fields according to your Fortinet FortiSwitch SNMP server settings
  • Select the Net-Fortinet-Fortiswitch-SNMP-custom template to apply to the Host

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryNameDescription
SNMPEXTRAOPTIONS(Default: 'Configure your own SNMPv3 credentials combo')

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins/centreon_fotinet_fortiswitch_snmp.pl \
--plugin=network::fortinet::fortiswitch::snmp::plugin \
--mode=cpu \
--hostname='10.0.0.1' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-cpu-utilization='' \
--critical-cpu-utilization='' \
--verbose

The expected command output is shown below:

OK: Cpu utilization: 95.00% | 'cpu.utilization.percentage'=95%;;;0;100

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/centreon_fotinet_fortiswitch_snmp.pl \
--plugin=network::fortinet::fortiswitch::snmp::plugin \
--mode=cpu \
--help

All available options for a given mode can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins/centreon_fotinet_fortiswitch_snmp.pl \
--plugin=network::fortinet::fortiswitch::snmp::plugin \
--list-mode

Troubleshooting​

Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page