snmpd woes
Bill Campbell
linux-sxs
Thu Jun 21 17:35:42 PDT 2007
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
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
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
``Most people, sometime in their lives, stumble across truth. Most jump
up, brush themselves off, and hurry on about their business as if
nothing had happened.'' - Sir Winston Churchill
More information about the Linux-users
mailing list