Difference between revisions of "TUT:snmpd configuration"

From Net-SNMP Wiki
Jump to: navigation, search
m
m
Line 4: Line 4:
 
# Read none existing file.
 
# Read none existing file.
 
# Choose to setup the snmpd.conf.
 
# Choose to setup the snmpd.conf.
# Choose to setup the Access Control
+
# Choose to setup the Access Control.
 
# Choose to setup a SNMPv1/SNMPv2c read-only access community name.
 
# Choose to setup a SNMPv1/SNMPv2c read-only access community name.
 
## community name: public
 
## community name: public

Revision as of 08:03, 22 June 2009

Use command snmpconf to create a snmpd.conf file in the current directory:

% snmpconf
  1. Read none existing file.
  2. Choose to setup the snmpd.conf.
  3. Choose to setup the Access Control.
  4. Choose to setup a SNMPv1/SNMPv2c read-only access community name.
    1. community name: public
    2. network address to accept: localhost
    3. restricted OID [RETURN for no-restriction]:
  5. finished, finished, quit

Review and copy the created snmpd.conf file into /etc/snmpd/snmpd.conf or somewhere else where it will be found.