FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
Ted
Staff
Staff
Article Id 286580
Description

This article describes how to monitor the FortiMail Queue via SNMP. It is possible to use SNMP to monitor mail count or size by queue.


To retrieve the information, it is necessary to compile Fortinet proprietary MIBs as well as Fortinet-supported standard MIBs into the SNMP manager, and then download these MIB files from Fortinet technical support website at Fortinet Support..

Scope FortiMail.
Solution

Before, it is necessary to enable SNMP on FortiMail as below:

 

  • System -> Network -> Interface -> Select management port -> Allow SNMP access.

FML SNMP Queue monitoring-1.png

  • System -> Configuration -> SNMP tab -> configure SNMP Community for v1, v2c or User for v3:

FML SNMP Queue monitoring-6.png

 

After that, it is possible to use 'snmpwalk' to run multiple GETNEXT requests automatically.

 

For examples:

 

snmpwalk -v <SNMP version> -c <SNMP community string> <FML MGT IP> <OID>

 

  • fmlMailQueueIndex: mail queue index .1.3.6.1.4.1.12356.105.1.103.2.1.1.1 (~12)

 

FML SNMP Queue monitoring-2.png

 

  • fmlMailQueueName: mail queue name .1.3.6.1.4.1.12356.105.1.103.2.1.2.1 (~12) 

FML SNMP Queue monitoring-3.png

 

  • fmlMailQueueMailCount: number of emails in mail queue .1.3.6.1.4.1.12356.105.1.103.2.1.3.1 (~12)

FML SNMP Queue monitoring-4.png

 

  • fmlMailQueueMailSize: size of emails in mail queue in KB .1.3.6.1.4.1.12356.105.1.103.2.1.4.1 (~12) 

FML SNMP Queue monitoring-5.png

Contributors