Net-SNMP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
== Configuration == | == Configuration == | ||
=== Allow localhost read-only queries === | === Allow localhost read-only queries === | ||
{{Box File|/etc/ | {{Box File|/etc/snmp/snmpd.conf| | ||
<pre> | <pre> | ||
# First, map the community name (COMMUNITY) into a security name | # First, map the community name (COMMUNITY) into a security name | ||
Revision as of 11:26, 22 April 2008
Description
Configure Net-SNMP to allow localhost/localnet queries.
Dependencies
USE-Flags
Packages
Installation
# emerge net-snmp
Configuration
Allow localhost read-only queries
Allow localhost read-write and localnet read-only queries
Finalize
# /etc/init.d/snmpd start
# rc-update add snmpd default
Testing
# snmpwalk -v 1 -c public localhost system