Re: SNMPD 5.1.1 crash

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 31/07/06, Doru Botez <[email protected]> wrote:
> After further investigation I know that the problem is related to the
> initial handler for the table in the private MIB.
> The problem is that in real life the agent is not crashing all the time,
> it depends on the situation described by the table i.e. a map of network
> devices whose number can vary a lot.

Hmmm....  That might be a problem.
It's very difficult to debug an intermittent problem - particularly if
you can't necessarily force a failure on demand.


> To answer the questions you asked:
>         - the table seemed that it started to fail after adding new
> nodes but now I know that it was failing before.
>         - if I walk through a single column the agent crashes as well.

The first task is probably to pinpoint exactly where the crash is
occuring.  Normally I'd suggest running the agent under a debugger,
but that may not be feasible in an embedded environment.  You may need
to fall back on the old-fashioned technique of adding a liberal
sprinkling of debugging print statements, to track the flow of control
through your module handler.
  If you can track down exactly where the agent is failing (and what
the code here looks like), we might be able to offer some further
advice.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.