Skip to main content

Fortinet FortiSwitch SNMP

Pack Assets​


The Centreon Pack Fortinet FortiSwitch SNMP brings 1 host template:

  • Net-Fortinet-Fortiswitch-SNMP-custom

It brings the following Service Templates:

Service AliasService TemplateDefaultDiscovery

Discovery rules​

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

Collected metrics & status​

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


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.


  1. Install the Centreon 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 > Monitoring Connector Manager page.



  • 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.

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/ \
--plugin=network::fortinet::fortiswitch::snmp::plugin \
--mode=cpu \
--hostname='' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-cpu-utilization='' \
--critical-cpu-utilization='' \

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/ \
--plugin=network::fortinet::fortiswitch::snmp::plugin \
--mode=cpu \

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

/usr/lib/centreon/plugins/ \
--plugin=network::fortinet::fortiswitch::snmp::plugin \


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