snmpd woes

Net Llama! netllama
Thu Jun 21 18:37:04 PDT 2007


On Thu, 21 Jun 2007, David Bandel wrote:
> On 6/21/07, Net Llama! <netllama at linux-sxs.org> wrote:
>> I'm trying to get snmpd working on several systems with the goal of then
>> using MRTG to graph their network traffic.  Unfortunately, I can't seem to
>> figure out how to configure snmpd to listen on anything but localhost.
>
> Depending on the distro, but almost all these days only enable
> listening on localhost.
> netstat -pan can confirm when it is listening on UDP port 61 to other
> than localhost.

Oh, I'm confident that its only listening on localhost.

>
> On Debian, there's a /etc/default/snmpd file as well as the
> /etc/snmp/snmpd.conf file.  It's in default that the service is
> configured to listen on only localhost.  Check to see if your distro
> does something similar (/etc/init.d/snmpd should give you a clue where
> to look based on what it sources).

What exactly should I be looking for?  Right now, all that I have in 
/etc/snmp/snmpd.conf is:

com2sec local     localhost           public
com2sec mynetwork 10.31.0.0/24          public
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org



More information about the Linux-users mailing list