Archive for the tag 'community'

SBDavid

SNMP community user

SNMP community user

We know that any monitoring tool (like Nagios , Mrtg etc ) installation needs SNMP to be configured.

In case you find any queries related to “snmp community user”, you can follow the steps below:

Command to use SNMP community user:

net-snmp-config –create-snmpv3-user -ro -a MD5 -A PASSWORD USERNAME

Example:

If I want to create a SNMP community user “admin” with password “tree321″,
then the command will be:

net-snmp-config –create-snmpv3-user -ro -a MD5 -A admin tree321

Note:

Encrypted password of SNMP community user will be stored
in /var/net-snmp/snmpd.conf.

Config file for SNMP : /etc/snmp/snmp.conf

In case you can’t find the command “net-snmp-config”, don’t get panic:)

Just install net-snmp-devel using yum or up2date.