[Xymon] Proving that tasks.d/ directory is working

Ward, Martin Martin.Ward at colt.net
Sat Oct 20 12:50:27 CEST 2012


Sorry, I should have mentioned that; yes I do have the directory entry in the tasks.cfg file and it is the correct directory name, no typos.

mward at xym0:/opt/xymon/server/etc>grep -i directory tasks.cfg
directory /opt/xymon/server/etc/tasks.d
mward at xym0:/opt/xymon/server/etc>ls /opt/xymon/server/etc/tasks.d
anycastdist.cfg       dotid.cfg             rad_check.cfg
apt_processes.cfg     ldap_replication.cfg  sorbs.cfg
clariion.cfg          ntp-drift.cfg         vantiostats.cfg

|\/|


From: Tom Moore [mailto:Tom.Moore at sas.com]
Sent: 19 October 2012 22:09
To: Ward, Martin; xymon at xymon.com
Subject: RE: Proving that tasks.d/ directory is working

Do you have this in your tasks.cfg file?

directory /opt/xymon/server/etc/tasks.d




From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of Ward, Martin
Sent: Friday, October 19, 2012 11:43 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] Proving that tasks.d/ directory is working

Hi all,

I have a few tasks that I have designed to run on the Xymon server. I have created files in the tasks.d/ subdirectory based on the configs in the tasks.cfg file but they don't seem to be running.

One example entry from a file in tasks.d is:

# "replicate_ldap" runs the in-house LDAP replication checks.

[ldap_replication]
        ENVFILE /opt/xymon/server/etc/xymonserver.cfg
        CMD /opt/xymon/server/ext/ldap_check_replication
        LOGFILE $BBSERVERLOGS/ldap_replication.log
        INTERVAL 5m

It's a simple configuration and the files exist but the log file has not been updated in weeks.

I cannot find any log information about the tasks.cfg file or its inclusions, it doesn't seem to be mentioned anywhere in the Xymon log files, can someone give me a clue as to how I can debug this?

|\/|

[Description: Colt @ 20 email sig]<http://youtu.be/jmmcILTf88I>
Martin Ward
Manager, Technical Services
Service Operations

DDI:+44 (0) 20 7863 5218 / Fax: +44 (0)20 7863 9999 /  www.colt.net<http://www.colt.net/>
Colt Technology Services, Unit 12, Powergate Business Park, Volt Avenue, Park Royal, London, NW10 6PW, UK.

Help reduce your carbon footprint | Think before you print. Registered in England and Wales, registered number 02452736, VAT number GB 645 4205 50

[Colt Disclaimer] This email is from an entity of the Colt group of companies. Colt Group S.A., K2 Building, Forte 1, 2a rue Albert Borschette, L-1246 Luxembourg, R.C.S. B115679. Corporate and contact information for our entities can be found at http://colt.net/uk/en/Colt-Group-of-Companies/index.htm. Internet communications are not secure and Colt does not accept responsibility for the accurate transmission of this message. Content of this email or its attachments is not legally or contractually binding unless expressly previously agreed in writing by Colt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121020/ed056ddc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 32165 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121020/ed056ddc/attachment.jpg>


More information about the Xymon mailing list