On Mon, 13 Sep 2004 12:06:04 -0400 Allan wrote:
AM> I appear to be having trouble with mteTriggerTable timeouts on solaris.

I really think the problem is somewhere else. Specifically, in the execution of
the scripts. The scripts should be run, and then waitpid called to wait for the
script to execute. If the script takes 30 seconds, then the agent should stop
dead in its tracks for 30 seconds. This pretty much renders the mte callback
session mute, since it doesn't get a chance to check for a timeout when the
callback is happening.

I think we have determined, by checking your debug output, that for some reason
the waitpid call is not waiting. This is the issue that needs to be tracked
down. I suggest adding some debug calls in the execute code to output when
scripts are called, along with their pids, and what parameters are used with
wiapid, and what the results are.

Timeouts won't become an issue until the exec stuffs gets updated to work
with delegated request processing.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to