Page, subpage directives
list Michael Lowery
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
▸
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
Great! Saves a lot of typing... :-) Thank you for your help!! Michael
▸
-----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