Xymon Mailing List Archive search

Proving that tasks.d/ directory is working

3 messages in this thread

list Martin Ward · Fri, 19 Oct 2012 15:42:40 +0000 ·
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: +XX (X)XX XXXX XXXX /  www.colt.net<http://www.colt.net/>;
Colt Technology Services, Unit XX, 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
Attachments (1)
list Tom Moore · Fri, 19 Oct 2012 21:08:53 +0000 ·
Do you have this in your tasks.cfg file?

directory /opt/xymon/server/etc/tasks.d
quoted from Martin Ward


From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Ward, Martin
Sent: Friday, October 19, 2012 11:43 AM
To: 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: +XX (X)XX XXXX XXXX /  www.colt.net<http://www.colt.net/>;
Colt Technology Services, Unit XX, 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
list Martin Ward · Sat, 20 Oct 2012 10:50:27 +0000 ·
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
quoted from Tom Moore

|\/|


From: Tom Moore [mailto:user-09591bca676f@xymon.invalid]
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: +XX (X)XX XXXX XXXX /  www.colt.net<http://www.colt.net/>;
Colt Technology Services, Unit XX, 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