Xymon Mailing List Archive search

Page, subpage directives

3 messages in this thread

list Michael Lowery · Fri, 15 Jul 2005 08:38:25 -0500 ·
Is it possible to put a directive such as NKTIME or DOWNTIME or
REPORTTIME as a page or subpage directive to act globally for everything
underneath it?

Thanks,
Michael
list Henrik Størner · Fri, 15 Jul 2005 14:36:38 +0000 (UTC) ·
quoted from Michael Lowery
In <user-3805e1b2e37f@xymon.invalid> "Lowery, Michael" <user-89d72f0c2e3d@xymon.invalid> writes:
Is it possible to put a directive such as NKTIME or DOWNTIME or
REPORTTIME as a page or subpage directive to act globally for everything
underneath it?
You can do it with the ".default." host. Like this:

   page somepage This is a page
   # Define defaults for all hosts that follow this, until the next .default. host
   0.0.0.0   .default.  # DOWNTIME=0:0200:0600 NKTIME=W:0900:1700

   10.0.0.1  host1.foo.com  # ssh
   10.0.0.2  host2.foo.com  # ftp

   0.0.0.0   .default.

This was added in Hobbit 4.0.2.


Regards,
Henrik
list Michael Lowery · Fri, 15 Jul 2005 09:38:52 -0500 ·
Great!  Saves a lot of typing...  :-)

Thank you for your help!!

Michael 
quoted from Henrik Størner
-----Original Message-----
From: Henrik Storner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Friday, July 15, 2005 9:37 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Page, subpage directives

In <user-3805e1b2e37f@xymon.invalid>
"Lowery, Michael" <user-89d72f0c2e3d@xymon.invalid> writes:
Is it possible to put a directive such as NKTIME or DOWNTIME or
REPORTTIME as a page or subpage directive to act globally for
everything
underneath it?
You can do it with the ".default." host. Like this:

   page somepage This is a page
   # Define defaults for all hosts that follow this, until the next
.default. host
   0.0.0.0   .default.  # DOWNTIME=0:0200:0600 NKTIME=W:0900:1700

   10.0.0.1  host1.foo.com  # ssh
   10.0.0.2  host2.foo.com  # ftp

   0.0.0.0   .default.

This was added in Hobbit 4.0.2.


Regards,
Henrik