Difference between revisions of "TUT:snmpd configuration"
From Net-SNMP Wiki
(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
- Read none existing file.
- Choose to setup the snmpd.conf.
- Choose to setup the Access Control
- Choose to setup a SNMPv1/SNMPv2c read-only access community name.
- community name: public
- network address to accept: localhost
- restricted OID [RETURN for no-restriction]:
- finished, finished, quit
Review and copy the created snmpd.conf file into /etc/snmpd/snmpd.conf or somewhere else where it will be found.