Setting Up SNMP Polling - AWS Elemental Delta

This is version 2.3 of the AWS Elemental Delta documentation. This is the latest version. For prior versions, see the Previous Versions section of AWS Elemental Delta Documentation.

Setting Up SNMP Polling

Rather than passively receiving traps sent to you by the systems, you can actively poll the SNMP interface. Polling the AWS Elemental Delta node with an snmpwalk command provides you with information about all systems in the cluster.

You can interact with the AWS Elemental Delta node using a variety of network management systems. AWS Elemental products ship with the Net-SNMP (http://www.net-snmp.org/) command line tools to access the SNMP interface while you are logged into the system directly or over SSH. Examples in this document show the use of net-snmp commands.

In order to access the SNMP interface externally, either disable the firewall or enable access to just the SNMP interface. Default settings allow external access to the SNMP interface. For instructions on enabling and disabling the firewall, see Opening Ports on the Firewall. The setting for enabling access to the SNMP interface through the firewall is on the Settings > SNMP tab.

Management Information Bases (MIBs)

AWS Elemental provides the following Management Information Bases (MIBs) for use with AWS Elemental Delta clusters:

ELEMENTAL_MIB.txt- Base MIB for all AWS Elemental systems

Details on the MIB are provided in the subsections below. This MIB is installed on the system by default and is located in /opt/elemental_se/web/public/mib/.

You can use the MIBs with the net-snmp tools to query individual variables as shown.

snmpget -c elemental_snmp -v2c -m ELEMENTAL-MIB localhost serviceStatus

returns

ELEMENTAL-MIB::serviceStatus.0 = INTEGER: 1

All Elemental: ELEMENTAL_MIB

All AWS Elemental systems ship with the base MIB, which can provide information on the system itself. The following table describes the variables that are available via this MIB.

Variable Values
serviceStatus 0 if the elemental_se service is not running, 1 if the service is running.
firewallStatus 0 if the system's firewall is off, 1 if on.
networkSettings Always returns 1. This is required for some network management systems.
mountPoints Number of user-mounted file systems in /mnt.
version Product version.
httpdStatus 0 if the HTTPD service is not running, 1 if the service is running.
databaseBackup 1 if writes (starting backups) are allowed, 0 if writes are not allowed.