Cannot open directory from tasks.cfg
list Tracy di Marco White
I've just installed xymon on NetBSD from pkgsrc. 2011-10-14 16:11:20 xymonlaunch starting 2011-10-14 16:11:20 Loading tasklist configuration from /usr/pkg/etc/xymon/tasks.cfg 2011-10-14 16:11:20 Cannot open directory I assume the error is because tasks.cfg contains this: # Include add-on modules. directory /usr/pkg/share/xymon/xymonhome/etc/tasks.d Which doesn't exist. Is there documentation on using / setting up tasks.d? -Tracy
list Jeremy Laidman
On Wed, Oct 19, 2011 at 9:21 AM, Tracy Di Marco White
▸
<user-4d3c8321d54f@xymon.invalid> wrote:I assume the error is because tasks.cfg contains this: # Include add-on modules. directory /usr/pkg/share/xymon/xymonhome/etc/tasks.d Which doesn't exist.
This directory should be created by "make install" or by the package definition (eg spec file, for RPM-based systems). I'm guessing that the "tasks.cfg" file was updated with the "include" but the installer for BSD was not updated accordingly. Actually, I think "make install" won't create this subdir either.
Is there documentation on using / setting up tasks.d?
"install.html" is included in the source, and should be in the installed package. You should be able to view it from the menu. Or here: http://xymon.org/xymon/help/install.html Cheers Jeremy
list Tracy di Marco White
▸
On Oct 18, 2011, at 8:19 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:
On Wed, Oct 19, 2011 at 9:21 AM, Tracy Di Marco White <user-4d3c8321d54f@xymon.invalid> wrote:I assume the error is because tasks.cfg contains this: # Include add-on modules. directory /usr/pkg/share/xymon/xymonhome/etc/tasks.d Which doesn't exist.This directory should be created by "make install" or by the package definition (eg spec file, for RPM-based systems). I'm guessing that the "tasks.cfg" file was updated with the "include" but the installer for BSD was not updated accordingly. Actually, I think "make install" won't create this subdir either.
Having pkgsrc create it is not a problem.
▸
Is there documentation on using / setting up tasks.d?"install.html" is included in the source, and should be in the installed package. You should be able to view it from the menu. Or here: http://xymon.org/xymon/help/install.html
I don't see anything there about tasks.d. I am somewhat familiar with hobbit, having run it for a while, but I'm trying to see what has changed and how to use new things in xymon. I'm starting by replacing my network test server. I just would like to know more about what tasks.d is for and how to use it. The same is likely true for other new features I just haven't gotten to yet. Thanks, Tracy
list Martin Flemming
Hi, Tracy ! I've use the tasks.d/ for the usual task.cfg (ex-hobbitlaunch.cfg) with the additional directory-directive http://www.xymon.com/xymon/help/manpages/man5/hosts.cfg.5.html directory directoryname This tag is used to include all files in the named directory. Files are included in alphabetical order. If there are sub- directories, these are recursively included also. The following files are ignored: Files that begin with a dot, files that end with a tilde, RCS files that end with ",v", RPM package manager files ending in ".rpmsave" or ".rpmnew", DPKG package manager files ending in ".dpkg-new" or ".dpkg-orig", and all special files (devices, sockets, pipes etc). This works for all (?) xymon-config-files .... So you only needs to add yopur additional server-ext-tests in this directory and they will be automaticly executed .... The advance is that you haven't a big/very big task.cfg-file and it's cleary arranged cheers, martin
▸
On Wed, 19 Oct 2011, Tracy Di Marco White wrote:
On Oct 18, 2011, at 8:19 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:On Wed, Oct 19, 2011 at 9:21 AM, Tracy Di Marco White <user-4d3c8321d54f@xymon.invalid> wrote:I assume the error is because tasks.cfg contains this: # Include add-on modules. directory /usr/pkg/share/xymon/xymonhome/etc/tasks.d Which doesn't exist.This directory should be created by "make install" or by the package definition (eg spec file, for RPM-based systems). I'm guessing that the "tasks.cfg" file was updated with the "include" but the installer for BSD was not updated accordingly. Actually, I think "make install" won't create this subdir either.Having pkgsrc create it is not a problem.Is there documentation on using / setting up tasks.d?"install.html" is included in the source, and should be in the installed package. You should be able to view it from the menu. Or here: http://xymon.org/xymon/help/install.htmlI don't see anything there about tasks.d. I am somewhat familiar with hobbit, having run it for a while, but I'm trying to see what has changed and how to use new things in xymon. I'm starting by replacing my network test server. I just would like to know more about what tasks.d is for and how to use it. The same is likely true for other new features I just haven't gotten to yet. Thanks, Tracy
list Tracy di Marco White
Thanks Martin! On Wed, Oct 19, 2011 at 8:44 AM, Martin Flemming
▸
<user-f286aaa49a76@xymon.invalid> wrote:Hi, Tracy ! I've use the tasks.d/ for the usual task.cfg (ex-hobbitlaunch.cfg) with the additional directory-directive http://www.xymon.com/xymon/help/manpages/man5/hosts.cfg.5.html directory directoryname This tag is used to include all files in the named directory. Files are included in alphabetical order. If there are sub- directories, these are recursively included also. The following files are ignored: Files that begin with a dot, files that end with a tilde, RCS files that end with ",v", RPM package manager files ending in ".rpmsave" or ".rpmnew", DPKG package manager files ending in ".dpkg-new" or ".dpkg-orig", and all special files (devices, sockets, pipes etc). This works for all (?) xymon-config-files .... So you only needs to add yopur additional server-ext-tests in this directory and they will be automaticly executed .... The advance is that you haven't a big/very big task.cfg-file and it's cleary arranged cheers, martin On Wed, 19 Oct 2011, Tracy Di Marco White wrote:On Oct 18, 2011, at 8:19 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:On Wed, Oct 19, 2011 at 9:21 AM, Tracy Di Marco White <user-4d3c8321d54f@xymon.invalid> wrote:I assume the error is because tasks.cfg contains this: # Include add-on modules. directory /usr/pkg/share/xymon/xymonhome/etc/tasks.d Which doesn't exist.This directory should be created by "make install" or by the package definition (eg spec file, for RPM-based systems). I'm guessing that the "tasks.cfg" file was updated with the "include" but the installer for BSD was not updated accordingly. Actually, I think "make install" won't create this subdir either.Having pkgsrc create it is not a problem.Is there documentation on using / setting up tasks.d?"install.html" is included in the source, and should be in the installed package. You should be able to view it from the menu. Or here: http://xymon.org/xymon/help/install.htmlI don't see anything there about tasks.d. I am somewhat familiar with hobbit, having run it for a while, but I'm trying to see what has changed and how to use new things in xymon. I'm starting by replacing my network test server. I just would like to know more about what tasks.d is for and how to use it. The same is likely true for other new features I just haven't gotten to yet. Thanks, Tracy