Snmpwalk not working from remote machines
Mauro Grauso
maurograuso at gmail.com
Wed Apr 23 18:58:31 UTC 2008
edit
/etc/defaults/snmpd
change the line:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
with the following:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'
then issue:
sudo /etc/init.d/snmpd reload
and you're set.
cheers,
mauro
On Wed, Apr 23, 2008 at 1:05 PM, Indika Rupasinghe <rupasinghe at gmail.com> wrote:
> I m a having problem with SNMP monitoring with ubuntu.
> I can do "snmpwalk" using ip 127.0.0.1 or "localhost".
> But when I tried with ip 192.168.0.xx which is ip of interface connected to
> my local network, it says no respond from server.
> I m not using any iptables in my machine. Follwing is my snmpd.conf file
> and it works on redhat very fine.
>
>
> -------------------------------------------------------------------------------------------------------------------
> # sec.name source community
> com2sec notConfigUser default public
>
> # groupName securityModel securityName
> group notConfigGroup v1 notConfigUser
> group notConfigGroup v2c notConfigUser
>
> # Make at least snmpwalk -v 1 localhost -c public system fast again.
> # name incl/excl subtree mask(optional)
> view systemview included .1
>
> # group context sec.model sec.level prefix read write
> notif
> access notConfigGroup "" any noauth exact systemview none
> none
>
> syslocation Unknown (edit /etc/snmp/snmpd.conf)
> syscontact Root <root at localhost> (configure /etc/snmp/snmp.local.conf)
>
> trapcommunity public
> trapsink default
>
> ---------------------------------------------------------------------------------------------------------------------
>
> Thanx
> Indika
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
More information about the ubuntu-users
mailing list