Re: Ask a question about snmpwalk: Timeout (Sub-id not found: (top) -> sysDescr)
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGaqmFndRvaLPfDv1ifLXN6gws6m5yH+zV9+gT94kwXxww@mail.gmail.com> |
On 25 October 2011 16:16, joden <[email protected]> wrote: > when I set up the net-snmp on centOS 64bit server,to locahost,can get the > date.eg: > snmpwalk -v 3 -l authNoPriv -a MD5 -u 'username' -A 'pass' '127.0.0.1' 'sysDescr' > SNMPv2-MIB::sysDescr.0 = STRING: Linux lolsigh 2.6.18-194.el5xen #1 ..... : > but > when to remove server,eg: > snmpwalk -v 3 -l authNoPriv -a MD5 -u 'user' -A 'pass' '10.62.52.15' 'sysDescr' > get the dubug infoe: > snmpwalk: Timeout (Sub-id not found: (top) -> sysDescr) Does 10.62.52.15 refer to the same system as the (working) localhost? If not, then the first thing to check would be the access control settings on the two systems. If they both refer to the same box, then two possibilities spring to mind: The first is that the two commands you list seem to be using different usernames (the working one has "username", while the timeout version has "user"). So again, look at the access control settings. If the access settings are correct (or the username is actually the same), then have a look to see if the firewall settings might be blocking SNMP requests. Try temporarily turning off the firewall ("service iptables stop") and see if the snmpwalk then starts working. Dave ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ 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