Start snmpd solaris9 (uname -m: sun4u) with 5 exec scripts a few with `sleep 6` in them, each returns 0.

I can produce the following over and over again......


<Behaviour_startup>
In mte_run_trigger() just after the call to snmp_add_null_var() next_oid is 1


 extResponse.1, extOutput.1 is successfully retrieved.

next loop In mte_run_trigger() just after the call to snmp_add_null_var() next_oid is 0

 SNMPv2-MIB::sysDescr.0 is returned. (this is wrong)
</Behaviour_startup>

<chmod_Interupt>

If I `chmod a-x scripts` causing them to fail,

extResponse.1 -> extResponse.5 are all successfully retrieved. with extOutput "permission denied"

Fix scripts with `chmod a+x scripts`,

* From this point on, extResponse.1 -> extResponse.5 are all successfully retrieved for ever.*

</chmod_Interupt>

<Trap_sent>

Set script3 to return 1
extResponse.3 is retrieved in sequence successfully
Trap sent and received.

Set script5 to return 1
extResponse.5 is retrieved in sequence successfully
Trap sent and received.

At this point <Behaviour_startup> begins again and will
continue till snmpd restart or <chmod_Interupt>

</Trap_sent>



--
Allan McIntosh

Software Designer


Atreus Systems, Inc.

613-233-1741 ext: 217 (Office)

613-233-8204 (Fax)

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

www.atreus-systems.com <http://www.atreus-systems.com/>




------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to