Test the SNMP Interface of an Ethernet Gateway 4
The Monnit Ethernet Gateway 4 offers an SNMP Interface over which sensor data can be accessed. We use SNMP version 1. Monnit provides an MIB file for the Ethernet Gateway and PoE Sensors. The Ethernet Gateway also supports the SNMP Walk Command which is demonstrated in this article. The steps below will guide you through activating and testing the SNMP Interface of your Ethernet Gateway 4.
Activate the Interface
There are two ways you can activate the SNMP Interface:
Using iMonnit Online
- Log into your iMonnit.com account.
- Select Gateways in the main navigation menu.
- Select the card of the gateway for which you wish to enable the SNMP Interface.
- Select Settings.
- Select the Interfaces tab.
- Toggle the switch for Activate SNMP Interface.
- Save.
Using the gateway's Local HTTP Interface
- Access the gateway's HTTP Interface.
- Select the SNMP tab.
- Enable the SNMP Interface.
- Save.
Trap Settings:
You have the option to enable or disable trap settings. Enabling traps allows you to push data to your endpoint for events such as:
- Authentication Failures (when a sensor attempts to connect to a gateway, but is not yet added to its Sensor List).
- New Sensor Data (when a sensor transmits new data to the gateway).
- Sensor Alarms (when the sensor transmits a reading while in its Aware State).
Specify the Trap IP Address (IP address of the SNMP endpoint) and Trap Port (port over which trap data is to be sent when active). The trap data will be pushed at the time the data is processed by the gateway.
Testing the Interface
- Download the MIB Browser from iReasoning.com.
- Install and launch the MIB Browser.
- Close any existing connections with the gateway's SNMP Interface.
- Launch the MIB Browser.
Enter the IP address of the gateway.
- Select Operations in the menu bar.
Select Walk.
The various OIDs will be displayed in the main portion of the window.
An SNMP Walk command will be performed on the gateway if the network allows the connection. If you receive an error, confirm the SNMP Interface is active, the gateway displays all three green LEDs, and review network configurations preventing the connection.