Xymon Mailing List Archive search

Custom script shows purple

list Iain M Conochie
Fri, 30 Apr 2010 11:13:18 +0100
Message-Id: <user-bcbd0077958b@xymon.invalid>

Richard Finegold wrote:
Iain, are you sending status+6m for your 5 minute scripts?
  
Nope. They default to time out after 20 minutes.

So a 5 minute script times out in quadruple the time it is supposed to run in.

You will need to add a greater time than the runtime to ensure no purple messages.

As I do not know if this will correctly parse decimals then i felt a default of script run time +1 would be adequate

Iain
On Wed, Apr 28, 2010 at 04:23, Iain M Conochie <user-c784e16a5170@xymon.invalid> wrote:
  
<snip>
You really need to put in status+5h instead of status for a 4 hour script.
This tells the hobbit server not to expire the message for 5 hours.

regards
Iain