Re: Re: Re: snmp errors
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 10 March 2010 06:45, Abigail Rebello <[email protected]> wrote: > I still can't get net-snmp to show up in running services for SLES 11. > It only shows in snmptrap as running.. in netstat -lu Sorry - that's not very clear. Is the agent (snmpd) running or not? If it isn't then you won't receive anything back from it. > On Opensuse 11.1 , it shows both snmp and snmptrap working fine.. > For the OPensuse system i get > {{{ > abby # abby:~ # snmpwalk -v1 -c public 172.16.10.88 system > Timeout: No Response from 172.16.10.88 > > abby:~ # snmpwalk -v2c -c public 172.16.10.88 system > Timeout: No Response from 172.16.10.88 > > abby:~ # snmpwalk -v2c -c public localhost system > SNMPv2-MIB::sysDescr.0 = STRING: Linux abby 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 I'm not sure whether this is the expected results or not. If you think that the agent ought to be listening/responding on 172.16.10.88, then try the suggestions outlined in the FAQ entry "Why doesn't the agent respond?" In particular, it's definitely worth checking your firewall configuration. This can often be configured to block access to the local network interface, but allow "localhost". > Output of one of the suse linux enterprise server 11.0 system > > linux-flav:~ # snmpwalk -v1 -c public 172.16.10.55 system > Timeout: No Response from 172.16.10.55 > > linux-flav:~ # snmpwalk -v1 -c public localhost system > Timeout: No Response from localhost All I can suggest here is that you start from the beginning. Shut down the SNMP service, and check that it is not running (using both "netstat" and "ps"). Then install a minimal snmpd.conf, containing just rocommunity public and restart the agent - preferably using the options "-f -Le -d" That will help reveal whether the agent is starting successfully, and whether it is receiving requests. Once you've got that working, then you can start worrying about a more complex configuration, and listening on selected interfaces, etc. But I'd definitely suggest starting with as simple a set up as possible. Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users