This is version 2.16 of the AWS Elemental Server documentation. This is the latest version. For prior versions, see the Previous Versions section of AWS Elemental Conductor File and AWS Elemental Server Documentation.
Simple Network Management Protocol (SNMP) Polling
Rather than passively receiving SNMP traps from AWS Elemental Server, you can actively poll the SNMP interface.
You can interact with AWS Elemental Server 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 logged into the system directly or over SSH. Examples in this document are given using net-snmp commands.
To set up SNMP polling
-
Either disable the node firewall, or enable external access to SNMP interface.
-
For help disabling the firewall, see Open Ports on the Firewall for AWS Elemental Server Nodes.
-
External access to the SNMP interface is enabled by default. To check the setting, access the Settings page on the AWS Elemental Server web interface and choose SNMP.
-
-
Query either individual variables, or the entire SNMP interface.
To query individual variables
Use the Net-SNMP tools to query variables as follows.
snmpget -c elemental_snmp -v2c -m
<MIB>
localhostMIBvariable
snmpget -c elemental_snmp -v2c -m
ELEMENTAL-MIB
localhostserviceStatus
For a list of MIBs and their variables, see Management Information Bases (MIBs) in AWS Elemental Server.
To query the entire SNMP interface
Use the Net-SNMP tools to do an snmpwalk to gather information about all of the running channels.
snmpwalk -c elemental_snmp -v2c -m ELEMENTAL-MIB:ELEMENTAL-LIVE-MIB localhost elemental