Net-SNMP: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 100: Line 100:
== Testing ==
== Testing ==
{{Codeline|# snmpwalk -v 1 -c public localhost system}}
{{Codeline|# snmpwalk -v 1 -c public localhost system}}
== Further Reading ==
* [[Squid]] - Configure Squid for SNMP queries
* [[MRTG]] - Get nice graphs out of your SNMP data

Revision as of 09:48, 22 April 2008

Description

Configure Net-SNMP to allow localhost/localnet queries.

Dependencies

USE-Flags

Template:Box File

Packages

Template:Box Code

Installation

# emerge net-snmp

Configuration

Allow localhost read-only queries

Template:Box File

Allow localhost read-write and localnet read-only queries

Template:Box File

Finalize

# /etc/init.d/snmpd start

# rc-update add snmpd default

Testing

# snmpwalk -v 1 -c public localhost system

Further Reading

  • Squid - Configure Squid for SNMP queries
  • MRTG - Get nice graphs out of your SNMP data