Re: Cricket crashing on network timeout

Ed Ravin <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
> I am using cricket 1.0.5 on Ubuntu edgy. It works really well but when I
> have a network event which causes the SNMP to timeout, the polling dies,
> which means the other appliances don?t get graphed until I notice and delete
> the lock file, which really sucks when trying to debug why your network is
> dead :P

Please clarify what you mean by "the polling dies" - does the collector
process get stuck but stay running, or has it quit completely?

Did you find the output of the cron job that crashed?  What was in it?

> exactly the same problem with Ubuntu dapper, hence why I upgraded to edgy to
> see if an upgrade in the SNMP libs would fix the problem.

Note that by default, Cricket doesn't use Net-SNMP libraries - you may
be barking up the wrong tree there.

Can you reproduce the problem, say, by trying to poll a device that
doesn't exist, or poll an existing device with the wrong community name?

> Also, interesting to note, that if I run cricket by hand in a shell, it
> works fine. 

If that's the case, and you can reproduce the problem from your cron job,
something is wrong with the permissions, environment (like the command path
or library path), or user ID (are your successful tests as the same user
that runs the job in cron?).

	-- Ed

-------------------------------------------------------------------------
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
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.