Re: Understanding snmpwalk
Leo Lin <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Actually I have 2 tables, and on both it behaves differently. Let's say on Table1, snmpwalk displays all the contents of the table without problems, once the last field is displayed, snmpd hangs in there without response, and then it shuts down. On Table2, snmpwalk command will not display any contents, snmpd hangs in there without response, and then it shuts down. On both tables, if I perform snmpgetnext, it works fine. If I snmpwalk to each column on both tables, it works fine too. I'm going to try to revert table 1 using the netsnmp helper handler instead, to check if this happens with the helper as well. Then, I will DEBUGMSGTL to check where it hangs... Leo; --- On Tue, 10/19/10, Dave Shield <[email protected]> wrote: From: Dave Shield <[email protected]> Subject: Re: Understanding snmpwalk To: "Leo Lin" <[email protected]> Cc: "Net-snmp-users" <[email protected]> Date: Tuesday, October 19, 2010, 12:23 AM On 19 October 2010 01:44, Leo Lin <[email protected]> wrote: > if I issue snmpwalk like so > $snmpwalk -v1 -cprivate localhost MyTable > the agent displays the contents of the table, but it hangs for a while, and later I get > Timeout: No response from localhost > then the snmpd shutsdown. > > Is this normal? No. Do you see the whole of the table before the agent hangs? Or does it stop somewhere in the middle? If you restart the agent, and then issue a single "snmpgetnext" request on the last entry in the table - what happens? Do you get anything back, or does the agent hang again? If you get something back, then what? If it hangs, what is the next registered object in the agent? Dave ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ 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