SNMP Configuration Guide
Configure SNMP monitoring of network devices, from prerequisites to viewing metrics.
Complete host-side SNMP and agent setup before the Classic Control Center component configuration.
Introduction#
HEAL efficiently monitors your network using the Simple Network Management Protocol (SNMP). SNMP is a system that helps you manage and track the health/performance of the devices on a network, such as routers, servers, and switches.
It reads the Management Information Base (MIB) database, which stores the important details about the device’s performance.
SNMP tracks network errors, device availability, and performance metrics from any compatible device. Even if a device isn't fully supported by HEAL, you can still gather data using an Object Identifier (OID), which acts like a custom tracking code for specific information.
As part of SNMP monitoring, the Percona (MySQL 8.x) database holds SNMP as a component alongside its component type, producer, and Key Performance Indicators (KPIs). After data collection, the HEAL User Interface (UI) displays the relevant KPI information.
Prerequisites#
Before setting up SNMP data collection from HEAL on the target server, ensure the following requirements are met:
Network Configuration#
The SNMP port should be open and accessible for communication between the HEAL server and the target SNMP device.
SNMP Device Configuration#
1. The SNMP device should have a community string created with read-only access.
2. Optionally, the MIB file of the SNMP device might be needed.
3. SNMP user ID and password for authentication (optional).
4. For SNMP v3, the following details are required:
- Username
- Password
- Authentication Protocol
- Authentication Protocol Passphrase
- Privacy Protocol
- Privacy Protocol Passphrase
Component Agent Requirements#
1. Component Agent should be installed and configured on the HEAL server.
2. In the attributes section, specify the details of the target server.
3. Navigate to the below directory:
Component Agent/config
Add the following parameter to the end of the advanced.properties file:
local.ip.addresses = <target ip>
4. Save the file and launch the agent.
Configure the SNMP client on HEAL Server#
Install RPM Packages#
To enable the HEAL server to receive network data from your devices, you need to download and install the relevant RPM files depending on your operating system version.
Procedure#
a. Download the relevant RPM files.
For RHEL 7.x, use the el7 builds of net-snmp and its libraries shipped for your RHEL 7 minor release (RHEL 7 ships the net-snmp 5.7.x line; the exact release differs by minor version):
- net-snmp-libs-5.7.2-*.el7.x86_64.rpm
- net-snmp-utils-5.7.2-*.el7.x86_64.rpm
- net-snmp-agent-libs-5.7.2-*.el7.x86_64.rpm
- net-snmp-5.7.2-*.el7.x86_64.rpm
For RHEL 8.x, use the el8 builds:
- net-snmp-libs-5.8-*.el8.x86_64.rpm
- net-snmp-utils-5.8-*.el8.x86_64.rpm
- net-snmp-agent-libs-5.8-*.el8.x86_64.rpm
- net-snmp-5.8-*.el8.x86_64.rpm
b. Install the RPM packages.
For RHEL 7.x, use the command:
rpm -Uvh net-snmp-libs-5.7.2-*.el7.x86_64.rpm net-snmp-utils-5.7.2-*.el7.x86_64.rpm net-snmp-agent-libs-5.7.2-*.el7.x86_64.rpm net-snmp-5.7.2-*.el7.x86_64.rpm
For RHEL 8.x, use the command:
rpm -Uvh net-snmp-libs-5.8-*.el8.x86_64.rpm net-snmp-utils-5.8-*.el8.x86_64.rpm net-snmp-agent-libs-5.8-*.el8.x86_64.rpm net-snmp-5.8-*.el8.x86_64.rpm
Note:
Ensure all necessary dependencies are installed before continuing. Install the RHEL 7 (
el7) packages only on RHEL 7 hosts and the RHEL 8 (el8) packages only on RHEL 8 hosts — do not mix distribution builds.
Default SNMP Configuration#
Once the network devices are configured, they can transmit network data to HEAL. By default, HEAL collects network data for over eighty group and non-group KPIs.
HEAL SNMP includes five components:
1. SNMP
2. SNMP_LoadBalancer
3. SNMP_Storage
4. SNMP_Firewall
5. SNMP_Switch
Each of these components represents a different aspect of network functionality and performance that can be monitored using SNMP.
For the SNMP component, the custom configuration is used for the Object Identifier (OID) attribute, allowing you to customize the data collected based on your specific needs. This configuration offers an increased level of granularity and control over the data collected from SNMP-enabled devices, contributing to more precise network monitoring and diagnostics.
In the next section, we will delve into the details of how to configure custom SNMP settings, specifically focusing on adding OID attributes in the Control Center.
Custom SNMP Configuration#
To set up custom SNMP monitoring for the SNMP component, follow the below steps:
Retrieve Object Identifiers (OID)#
a. Execute the SNMP walk command to retrieve the object identifiers supported by the SNMP device. HEAL supports SNMP versions v2 and v3. Use the appropriate command based on the version:
For SNMP v2:
snmpwalk -O n -t 5 -r 1 -v2c -c <community string> <snmp ip>:<snmp port>
For SNMP v3:
snmpwalk -O n -t 5 -r 1 -v3 -u <username> -a <authentication protocol> -A <authentication protocol passphrase> -x <privacy protocol> -X <privacy protocol passphrase> <snmp ip>:<snmp port>
b. Then identify the OIDs that produce an integer value and configure them in the database.
To update the OID in the database, run the below statement:
UPDATE `appsone`.`producer_parameters` SET `parameter_value` = '<integer_value>' WHERE (`id` = '<id of mst_producer_id from producer_parameters table>');
Add OID attributes in the CC#
To make the OID attribute available in the Control Center for SNMP, execute the following queries in Percona:
Add OID to mst_common_attributes:
INSERT INTO mst_common_attributes (attribute_name, name, attribute_type, is_custom, status, created_time, updated_time, user_details_id, account_id)
VALUES ('OID', 'OID', 'TextBox', 0, 1, '2022-10-18 00:00:00', '2022-10-18 00:00:00', '<user_details_id>', 1);
Map the OID to SNMP versions 1 and 2:
INSERT INTO mst_component_attribute_mapping (mst_common_attributes_id, is_custom, is_mandatory, default_value, mst_common_version_id, mst_component_id, mst_component_type_id, created_time, updated_time, user_details_id, min_length, max_length, regex, error_message)
VALUES
((SELECT id FROM mst_common_attributes WHERE attribute_name='OID'), 0, 1, '',
(SELECT id FROM mst_common_version WHERE name='SNMPV.1/SNMPV.2' AND mst_component_id=(SELECT id FROM mst_component WHERE name='SNMP' AND account_id=1)),
(SELECT id FROM mst_component WHERE name='SNMP' AND account_id=1),
(SELECT id FROM mst_component_type WHERE name='Network'),
'2022-10-18 00:00:00', '2022-10-18 00:00:00', '<user_details_id>', 1, 255, NULL, '');
Map the OID to SNMP version 3:
INSERT INTO mst_component_attribute_mapping (mst_common_attributes_id, is_custom, is_mandatory, default_value, mst_common_version_id, mst_component_id, mst_component_type_id, created_time, updated_time, user_details_id, min_length, max_length, regex, error_message)
VALUES
((SELECT id FROM mst_common_attributes WHERE attribute_name='OID'), 0, 1, '',
(SELECT id FROM mst_common_version WHERE name='SNMPV.3' AND mst_component_id=(SELECT id FROM mst_component WHERE name='SNMP' AND account_id=1)),
(SELECT id FROM mst_component WHERE name='SNMP' AND account_id=1),
(SELECT id FROM mst_component_type WHERE name='Network'),
'2022-10-18 00:00:00', '2022-10-18 00:00:00', '<user_details_id>', 1, 255, NULL, '');
Add OID parameter to producer_parameters:
INSERT INTO producer_parameters (mst_producer_id, parameter_type, parameter_name, parameter_value, created_time, updated_time, user_details_id, parameter_order)
VALUES
((SELECT id FROM mst_producer WHERE name='Fetch_SNMP_Data'),'ENV_PARAM','OID','{OID}','2022-10-18 00:00:00','2022-10-18 00:00:00','<user_details_id>','1');
Configure SNMP in Control Center#
To create instances using the Control Center, follow the steps below:
1. Navigate to the SDM > Component Instances tab and then click the Add button to add SNMP instances to the existing ones using the CC UI.

2. In the Add Component dialog box, fill in the below details:
- Instance Name
- Component Type
- Component Version: choose the version (for example, SNMPv1, SNMPv2c, or SNMPv3).
- Application
- Services
- Environment
- Host Address
- Monitor Port
- Username
- Password
- snmp_community_string
- snmp_mib_version


3. Click the Save button.
Note:
To add separate instances, retrieve the component details from the Percona database and create the SDM.
While creating instances, the mandatory input parameters/attributes and their associated details are listed in the following table:
| Input Parameter Name | Description |
|---|---|
snmp_host |
Network Device SNMP IP [Mandatory] |
snmp_port |
Network Device SNMP Port [Mandatory] |
snmp_community_string |
Network Device SNMP Community String [Mandatory for SNMPv1, SNMPv2c] |
snmp_mib_version |
MIB Version [SNMPv1, SNMPv2c, SNMPv3] [Mandatory] |
snmp_username |
SNMP username [Mandatory for SNMPv3] |
snmp_password |
SNMP password [Mandatory for SNMPv3] |
Note:
Cluster Mapping: When the component instance is created from the Control Center UI and is mapped to a service that already has a cluster of the same component type, the new component instance is automatically mapped to that cluster.
However, when the component instance created from the Control Center UI is mapped to a service that does not have a cluster of the same component type, a new cluster is created for that component and mapped to that service and its respective application.
Agent Mapping: A Component Agent can be created for the host and component instance using the Agent API.
Data Collection: The SNMP Producer has been added to the component agent for data collection.
View the Metrics#
After creating the instance and starting data collection by the agent, follow the below steps to check the metrics on the HEAL UI page.
Procedure
1. Navigate to the SNMP instance in the Heat Map Page on the HEAL UI.
Below is the SNMP section of a dashboard displaying SNMP metrics.

2. On the Instance Detail page, the KPIs are represented as shown below.

To gain a deeper understanding of the SNMP KPIs, refer to the HEAL OOB KPI Description.
Next
- Enrol and manage the network devices you monitor — SNMP Devices.
- See where SNMP fits in the wider monitoring stack — HEAL APM & Infrastructure Monitoring Overview.
- Look up the metrics each KPI reports — KPI Metrics Exported.