Xymon Mailing List Archive search

enhancement request

6 messages in this thread

list David Gore · Mon, 31 Jul 2006 11:52:59 +0000 ·
http://hobbit.mcilink.com/hobbit-seccgi/bb-ack.sh

In regards to the web-based acknowledge page, change Duration (minutes) to accept times like, 40m (40 minutes), 1d (1day), 1w (1 week)?  Or provide drop-down like enable/disable web page?  Is the second acknowledge form without a host and test, a bug?

It looks like this:

Host      Test       Duration  Cause  Ack      Ack Multiple
myHost  mytest   entry        entry      button  check box
     -            -       entry        entry        -         button                   <---- second form

- = blank space

~David
list Stef Coene · Fri, 20 Nov 2015 09:57:32 +0100 ·
Hi,

Is it possible to automatically include subdirectories? 
So for every config file "<file>.cfg", do an include of the files in "<file>.d"


Stef
list Japheth Cleaver · Fri, 20 Nov 2015 01:17:08 -0800 ·
quoted from Stef Coene
On Fri, November 20, 2015 12:57 am, Stef Coene wrote:
Hi,

Is it possible to automatically include subdirectories?
So for every config file "<file>.cfg", do an include of the files in
"<file>.d"


Stef

Hi,

I actually just committed a change for that earlier this evening :) It'll
be in 4.4.

In the meantime, you can simply add a "directory <file>.d/" manually for
now and it'll work. For analysis.cfg/d, remember to do your include prior
to the 'DEFAULT' section at the very bottom of the file.


HTH
-jc
list John R Doa Thurston · Fri, 20 Nov 2015 17:26:36 +0000 ·
From: Xymon [xymon-bounces at xymon.com] on behalf of Stef Coene [user-dbffe946c0f4@xymon.invalid]
quoted from Japheth Cleaver
Is it possible to automatically include subdirectories?
So for every config file "<file>.cfg", do an include of the files in "<file>.d"


This is just so you don't have to put a "directory tasks.d" line in your tasks.cfg?
list Jeremy Laidman · Sat, 21 Nov 2015 12:29:24 +1100 ·
On 21 Nov 2015 04:26, "Thurston, John R (DOA)" <user-ce4d79d99bab@xymon.invalid>
quoted from John R Doa Thurston
wrote:
This is just so you don't have to put a "directory tasks.d" line in your
tasks.cfg?
And if so, will the "directory" option still work?

And if I specify the same directory twice, will the contents be included
twice?

J
list Japheth Cleaver · Fri, 20 Nov 2015 17:35:04 -0800 ·
quoted from Jeremy Laidman

On Fri, November 20, 2015 5:29 pm, Jeremy Laidman wrote:
On 21 Nov 2015 04:26, "Thurston, John R (DOA)" <user-ce4d79d99bab@xymon.invalid>
wrote:
This is just so you don't have to put a "directory tasks.d" line in your
tasks.cfg?
And if so, will the "directory" option still work?

And if I specify the same directory twice, will the contents be included
twice?
I should clarify here that the change in 4.4
(https://sourceforge.net/p/xymon/code/7755/) is just to have that line
present by default in the distributed files and -- probably at the
packager/distro level -- create the associated directories.

The change wouldn't automatically come into place or auto search. It's
just a convenience line in the default configs.

-jc