snmpd woes
Net Llama!
netllama
Thu Jun 21 18:38:45 PDT 2007
On Thu, 21 Jun 2007, Bill Campbell wrote:
> On Thu, Jun 21, 2007, Net Llama! 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.
>
> It's been about three years since I looked at this, but looking
> at the /etc/snmp/snmpd.conf file on the system I was monitoring,
> it required one com2sec line with the IP address of the machine
> running mrtg, similar to the 192.168... line below.
>
> # sec.name source community
> com2sec local localhost public
> com2sec theworld 192.168.111.35 public
I've got that:
com2sec local localhost public
com2sec mynetwork 10.31.0.0/24 public
>
> Then a section mapping theworld:
>
> ####
> # Second, map the security names into group names:
>
> # sec.model sec.name
> group MyRWGroup any local
> group MyROGroup any theworld
Got that too:
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
LlamaLand http://netllama.linux-sxs.org
More information about the Linux-users
mailing list