Xymon Mailing List Archive search

ext script does not run on client restart

list Iain M Conochie
Wed, 8 Mar 2017 10:43:38 +0000 (GMT)
Message-Id: <user-c69d38333ed9@xymon.invalid>

On Sun, 5 Mar 2017, Root, Paul T wrote:
Did you look in your $XYMONCLIENTHOME/logs/hobbit-patch.sh log file? Probably should rename that .log.
Nothing in there at all, as the task is never run :(
Also, you could just do a $XYMONCLIENTHOME/bin/xymoncmd $XYMONCLIENT/HOME/ext/hobbit-patch.sh to get it to run.
Ah - now this may be a good idea. Let me try and get back to you!

Thanks Paul

Iain

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Iain M Conochie
Sent: Saturday, March 04, 2017 3:09 PM
To: xymon at xymon.com
Subject: [Xymon] ext script does not run on client restart

Hi

  I have an ext script to check for the status of available patches on
my hosts. Once I have updated the patches, I restart the xymon-client so
that the test will go green again. Occasionally the ext script will not
run on restart. Is there a way I can debug what the xymon client is
choosing to run? How does xymon track the interval after a restart? My
clientlaunch fragment looks like:

[patches]
        ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
        CMD $XYMONCLIENTHOME/ext/hobbit-patch.sh
        LOGFILE $XYMONCLIENTHOME/logs/hobbit-patch.sh
        INTERVAL 6h

Client version:

ii  xymon-client                   4.3.17-6+deb8u1          amd64
client for the Xymon network monitor


Thanks for any advice!

Iain

This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.