Difference between revisions of "TUT:snmpd configuration"

From Net-SNMP Wiki
Jump to: navigation, search
(Described the basic snmpconf usage.)
 
m
Line 5: Line 5:
 
# 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
 
## network address to accept: localhost
 
## network address to accept: localhost

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.