How Can We Help?
SNMP
Overview
Simple Network Management Protocol (SNMP) is an internet protocol standard for retrieving real-time operational statistics from servers and infrastructure components. Commonly SNMP-enabled devices include routers, switches, workstations, and firewalls.
Required Packages for Installation
Install the necessary SNMP packages with these commands:
MIB Browser Installation Steps
- Download
mibbrowser_linux_x64.zip
from iReasoning. - Transfer the zip file to your Linux server.
- Extract and run the MIB browser:
SNMP MIB File Object Names and OIDs
NAME | OID |
---|---|
myCompanyMIB | .1.3.6.1.4.1.54848 |
interfaceAlertNotifications | .1.3.6.1.4.1.54848.0 |
systeminfo | .1.3.6.1.4.1.54848.1 |
hostname | .1.3.6.1.4.1.54848.1.2.1 |
ip | .1.3.6.1.4.1.54848.1.2.2 |
interfaceStatus | .1.3.6.1.4.1.54848.1.2.7 |
SNMP Agent Configuration
To configure SNMP:
- Access the Secure Shell, SNMP option, WebUI, or ProviderUI.
- Enter the following details:
- Community name (e.g.,
zwantest
; default ispublic
) - Destination IP (SNMP server IP)
- Agent IP (WAN/LAN IP of CPE)
- Password (CPE password for SNMP Server)
- Community name (e.g.,
Enabling SNMP
Enable SNMP service via the interface:
Disabling SNMP
Disable SNMP using the same interface:
SNMP Service Management
Start, stop, or check the status of SNMP with:
Editing SNMP Configuration
To update SNMP configurations, use the edit option:
Viewing SNMP Status and SNMPv3 Details
- Displays current SNMP service status and SNMPv3 configuration:
SNMPv3 Configuration
For SNMPv3:
- Enable SNMP service.
- Enter SNMPv3 details:
- Username
- Password
- Authentication Protocol (MD5/SHA)
- Authentication Privacy (AuthPriv/AuthNoPriv)
- Encryption Protocol (AES/DES)
- Encryption Key
SNMPv3 Deletion
To delete SNMPv3 user details, enter the username and select delete:
SNMP Server Setup
Prerequisites
- Install Ubuntu 18.04.
- Ensure internet connectivity.
MIB Browser and Java Installation
SNMP Server Configuration
- Launch the MIB browser:
- Load custom MIB files:
- Download from GitLab.
- Open in MIB browser via
File > Load MIBs
.
- Set operation (GET/GETBULK) and agent address in the browser.
Observing SNMP Traps
- In the MIB browser, go to
Tools > Trap Receiver
. - When a trap is generated, it will appear in the Trap Receiver window with its OID and details.
Note:
- One server can manage multiple agents, but each agent can support only one server.
- Ensure the SNMP server is reachable from the agent.