[Xymon] Custom plugin Interval/Crondate turning purple quickly

Galen Johnson Galen.Johnson at sas.com
Tue Nov 14 15:26:33 CET 2017


When you send your status from your test did you include a delay?  Something like status+7d?  Otherwise, the test will default to 5m and go purple after whatever delay the server is configured to do after it hasn't received an update in that time (pretty sure it defaults to 30m).  You'll also want to add "INTERVAL 7d" to your task config.


=G=


________________________________
From: Xymon <xymon-bounces at xymon.com> on behalf of Richard Jones <rich at corporationpop.co.uk>
Sent: Tuesday, November 14, 2017 5:42 AM
To: xymon at xymon.com
Subject: [Xymon] Custom plugin Interval/Crondate turning purple quickly


EXTERNAL

I have a custom plugin that is set to run every Tuesday at 10am on the server itself, that all runs fine and as expected, however it seems that shortly after the task has reported back to Xymon (20/30 mins) the task turns purple. I was expecting the status to stay green (or red etc) until the next run time. Any ideas why this is happening?

Running Xymon 4.3.28 and the server side tasks.cfg looks like this:

[sometask]
        ENVFILE /usr/local/xymon/server/etc/xymonserver.cfg
        CMD /usr/local/xymon/server/ext/sometask.sh
        LOGFILE $XYMONSERVERLOGS/sometask.log
        CRONDATE 0 10 * * 2

This did happen last week when I originally implemented the task, but I figured it was due to manually running xymoncmd... though that doesn't seem to be the case.

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171114/12811904/attachment.html>


More information about the Xymon mailing list