Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
Enabling the SNMP background services is an essential step for configuring your device for monitoring. SNMPv3 tends to be a bit more complicated to set up than SNMP v1 or v2. The following sections provide examples of how to set up SNMPv3 on two Linux distributions: RedHat/CentOS and Debian/Ubuntu. Depending on your distribution, additional adjustments may be necessary.
Note: To ensure you have sufficient permissions, you should become root or use the sudo command for the following configuration steps.
yum install net-snmp
You can optionally install snmpwalk and other tools that can be useful for troubleshooting (these are not required for LogicMonitor to monitor the device):
yum install net-snmp-utils
service snmpd stop
net-snmp-create-v3-user -ro -A my_authpass -X my_privpass -a SHA -x AES myv3user
net-snmp-create-v3-user [-ro] [-A authpass] [-X privpass] [-a MD5|SHA] [-x DES|AES] [username]
For RedHat/CentOS 7.0 you can use these systemctl commands:
systemctl restart snmpd.service
systemctl enable snmpd.service
Otherwise, for older versions of RedHat/CentOS, you can use these commands:
service snmpd start
chkconfig snmpd on
apt-get install snmpd
net-snmp-config --create-v3-user -ro -A my_authpass -X my_privpass -a SHA -x AES myv3user
net-snmp-config --create-v3-user [-ro] [-A authpass] [-X privpass] [-a MD5|SHA] [-x DES|AES] [username]
Any devices that use SNMPv3 must have a specific set of properties configured (within the LogicMonitor interface) in order for LogicMonitor to successfully communicate with them.
To set SNMPv3 properties on a device:
Note: Optionally, you could set the properties from the device’s parent group or the root group (i.e. account) level, depending upon how broadly they apply to other devices. For more information on determining the hierarchical level at which to establish properties for a device, see Resource and Instance Properties.
Note: To verify that the correct credentials have been set, follow the instructions in Troubleshooting SNMP.
In This Article