gbloice at gmail.com wrote: > 2008/10/2 concico <[EMAIL PROTECTED] ([EMAIL PROTECTED])> > > > I have a problem to monitor with snmp a pc with Ubuntu. > > I think that the problem is on Ubuntu and not on zenoss... > > > > My snmpd.conf file is: > > > > com2sec notConfigUser default public > > group notConfigGroup v1 notConfigUser > > group notConfigGroup v2c notConfigUser > > view systemview included .1 > > access notConfigGroup "" any noauth exact systemview none none > > syslocation Unknown (edit /etc/snmp/snmpd.conf) > > syscontact Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmp.local.conf) > > trapcommunity public > > trapsink default > > > > If a do: "netstat -an |grep -i udp" i have: > > udp 0 0 0.0.0.0:45191 (http://0.0.0.0:45191) 0.0.0.0:* > > udp 0 0 127.0.0.1:161 (http://127.0.0.1:161) 0.0.0.0:* > > udp 0 0 0.0.0.0:68 (http://0.0.0.0:68) 0.0.0.0:* > > udp 0 0 0.0.0.0:5353 (http://0.0.0.0:5353) 0.0.0.0:* > > > > If i do snmpwalk -v1 -cpublic localhost system > > > > I obtain a lot of info. > > > > ifconfig > > eth1 Link encap:Ethernet HWaddr 00:0c:29:52:8e:5c > > inet addr:10.10.10.168 (http://10.10.10.168) Bcast:10.10.10.255 > > (http://10.10.10.255) Mask:255.255.255.0 (http://255.255.255.0) > > inet6 addr: fe80::20c:29ff:fe52:8e5c/64 Scope:Link > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:8200 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:4438 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:1000 > > RX bytes:9135820 (8.7 MB) TX bytes:323422 (315.8 KB) > > Interrupt:16 Base address:0x1424 > > > > If i do snmpwalk -v1 -cpublic 10.10.10.168 (http://10.10.10.168) system > > i obtain > > > > Timeout: No Response from 10.10.10.168 (http://10.10.10.168) > > > > Where is the problem???? > > > > Help me please.... > > > > > > > > > Try checking /etc/default/snmpd. On my ubuntu system the default options > 'SNMPDOPTS' were set to limit snmpd to the local host, i.e. '127.0.0.1 > (http://127.0.0.1)'. I modified the file so that the last entry for the > options was 161 so that snmpd listend on udp port 161 on all IPv4 interfaces. > > -- > Regards, > > Graham Bloice
Thanks your advice i have solved my problem in this way: I have change the line: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' in SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 0.0.0.0' and now it seem to work fine.... Thanks -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=25854#25854 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
