Email Security Appliances have the ability to be monitored using the Simple Network Management Protocol (SNMP), this document describes what SNMP is and how it can be used to monitor Email Security components including disk space and total bandwidth.
What is SNMP
SNMP is the Simple Network Management Protocol. The SNMP protocol is used by network management systems to communicate with network elements. For this to work, the network element must be equipped with an SNMP agent. SonicWall has put an SNMP Agent into the SonicWall Global Management System (SGMS) product, which can be found in the Monitor tab option “Net Monitor”. SNMP messages may be initiated by either the network management system (like GMS Net Monitor) or by the network element. AnSNMP TRAP is a message which is initiated by a network element and sent to the network management system. The SNMP GET is amessage which is initiated by the network management system when it wants to retrieve some data from a network element. An SNMP SET is a message which is initiated by the network management system when it wants to change data on a network element. The SNMP MIB, or Management Information Base, is a collection of variables which is shared between the network management system and the network element. The MIB is extensible, which means that hardware and software manufacturers can add new variables to the MIB. These new MIB definitions must be added both to the network element and to the network management system.
The Email Security Appliance listens to the variables listed within the following MIB’s
The most basic form of SNMP security is the Community String, SNMP Community Strings are like passwords for network elements. There is one community string which is used for read-only access to the Email Security Appliance. The default value for this communitystring in the Email Security Appliance is "snwl". Using this community string like a password, the network management system can retrieve data from the Email Security Appliance.
Enabling SNMP can only be done from within the CommandLine Interface of the Email Security Appliance. The following steps describe how to log into the Command LineInterface of the Email Security Appliance.
After being logged into the CLI, use the option SNMP on to enable the SNMP service and, in the same way, it is possible to disable SNMP by using the option SNMP off to disable the SNMP service.
It is necessary to setup the SNMP Agent so that it can access the Email Security Appliance and read the information sent using theSNMP protocol. The agent we use is the SonicWall Global Management System Net Monitor. Follow these steps to add theEmail Security Appliance to the SNMP Net Monitor of SGMS. The SonicWall Global Management System Net Monitor will be used as the SNMP agent within this document.
Follow these steps to set up Net Monitor:
To retrieve the system information from the Email Security Appliance, it will be necessary to set the correct SNMP Get requests in theSNMP Agent. These SNMP Get requests will use Object ID’s (OID) to filter the data from the unit.
Follow these steps to enable SGMS Net Monitor to read the system information from the Email Security Appliance:
Similar to Disk Space Monitoring, Bandwidth Monitoring requires combining several Object ID’s to get a clear reading from the Email Security Appliance. We will use the plot chart to illustrate the Bandwidth at the moment of the SNMP Get request as the bandwidth is changing constantly. The Email Security Appliance is equipped with 2 network ports where only one (ETH0) is used for the traffic to and from the Email Security Appliance. The other port is the Local Host port for connectivity to the MTA, Firebird and the Hourly batch processes. These steps explain how to retrieve the bidirectional bandwidth data for ETH0 and the Local Host port.
Created by P. van Herten
Edited by J.Spoor