Skip to main content

Fortinet FortiADC SNMP

Pack Assets​

Templates​

The Centreon Pack Fortinet FortiADC SNMP brings 1 host template:

  • Net-Fortinet-Fortiadc-SNMP-custom

It brings the following Service Templates:

Service AliasService TemplateDefaultDiscovery
CpuNet-Fortinet-Fortiadc-Cpu-SNMPX
HardwareNet-Fortinet-Fortiadc-Hardware-SNMPX
InterfacesNet-Fortinet-Fortiadc-Interfaces-SNMPX
MemoryNet-Fortinet-Fortiadc-Memory-SNMPX
SecurityNet-Fortinet-Fortiadc-Security-SNMPX
UptimeNet-Fortinet-Fortiadc-Uptime-SNMPX
Virtual-ServersNet-Fortinet-Fortiadc-Virtual-Servers-SNMPXX

Discovery rules​

Rule nameDescription
Net-Fortinet-Fortiadc-SNMP-Interface-NameDiscover network interfaces and monitor utilization
Net-Fortinet-Fortiadc-SNMP-Virtual-Server-NameDiscover network virtual servers and monitor utilization

Collected metrics & status​

Metric nameDescriptionUnit
cpu.utilization.2s.percentageCPU utilization for the last 2 seconds%
cpu.utilization.1m.percentageCPU utilization for the last minute%
cpu.utilization.5m.percentageCPU utilization for the last 5 minutes%
core_name#core.cpu.utilization.2s.percentageCPU Core utilization for the last 2 seconds%
core_name#core.cpu.utilization.1m.percentageCPU Core utilization for the last minute%
core_name#core.cpu.utilization.5m.percentageCPU Core utilization for the last 5 minutes%

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 FortiADC SNMP resources:
yum install centreon-plugin-Network-Fortinet-Fortiadc-Snmp
  1. On the Centreon Web interface, install the Fortinet FortiADC 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 FortiADC SNMP server settings
  • Select the Net-Fortinet-Fortiadc-SNMP-custom template to apply to the Host

If you are using SNMP Version 3, use the SNMPEXTRAOPTIONS Macro to configure your own SNMPv3 credentials combo.

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_fortiadc_snmp.pl \
--plugin=network::fortinet::fortiadc::snmp::plugin \
--mode=cpu \
--hostname='10.0.0.1' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-average-5m='' \
--critical-average-5m='' \
--verbose

The expected command output is shown below:

OK: 16 CPU(s) average usage is 0.81 % (2s) 0.00 % (1m) 0.12 % (5m) - All core cpu are ok | 'cpu.utilization.2s.percentage'=0.81%;;;0;100 'cpu.utilization.1m.percentage'=0.00%;;;0;100 'cpu.utilization.5m.percentage'=0.12%;;;0;100 'Core 0#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 0#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 0#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 1#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 1#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 1#core.cpu.utilization.5m.percentage'=2.00%;;;0;100 'Core 10#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 10#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 10#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 11#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 11#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 11#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 12#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 12#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 12#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 13#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 13#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 13#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 14#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 14#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 14#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 15#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 15#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 15#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 2#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 2#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 2#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 3#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 3#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 3#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 4#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 4#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 4#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 5#core.cpu.utilization.2s.percentage'=0.00%;;;0;100 'Core 5#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 5#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 6#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 6#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 6#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 7#core.cpu.utilization.2s.percentage'=0.00%;;;0;100 'Core 7#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 7#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 8#core.cpu.utilization.2s.percentage'=1.00%;;;0;100 'Core 8#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 8#core.cpu.utilization.5m.percentage'=0.00%;;;0;100 'Core 9#core.cpu.utilization.2s.percentage'=0.00%;;;0;100 'Core 9#core.cpu.utilization.1m.percentage'=0.00%;;;0;100 'Core 9#core.cpu.utilization.5m.percentage'=0.00%;;;0;100
CPU '1' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '2' usage 1.00 % (2s) 0.00 % (1m) 2.00 % (5m)
CPU '11' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '12' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '13' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '14' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '15' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '16' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '3' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '4' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '5' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '6' usage 0.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '7' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '8' usage 0.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '9' usage 1.00 % (2s) 0.00 % (1m) 0.00 % (5m)
CPU '10' usage 0.00 % (2s) 0.00 % (1m) 0.00 % (5m)

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

/usr/lib/centreon/plugins/centreon_fotinet_fortiadc_snmp.pl \
--plugin=network::fortinet::fortiadc::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_fortiadc_snmp.pl \
--plugin=network::fortinet::fortiadc::snmp::plugin \
--list-mode

Troubleshooting​

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