[hobbit] Page, subpage directives

Henrik Storner henrik at hswn.dk
Fri Jul 15 16:36:38 CEST 2005


In <11A68CB62CC8384C847633FE841BFF60017E0D at atlitswing.atg.local> "Lowery, Michael" <mlowery at alliedtechgroup.com> 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




More information about the Xymon mailing list