On Mon, 17 Dec 2001, Drew J. Como wrote:

> #
> # group definitions (hostnames or IP addresses)
> #
> hostgroup servergrp raven
> #
> watch servergrp
>     service ping
>         description ping servergrp

[...]

> Hmmm...  I see a watch, why doesn't mon??

you should upgrade to mon-0.99.2, at least. i changed the config
parsing to do what people expect instead of relying on them to read the
documentation to get the right syntax. by bad for not doing that from
the word "go".

from the man page:

   Hostgroup Entries
       Hostgroup entries begin with the  keyword  hostgroup,  and
       are  followed by a hostgroup tag and one or more hostnames
       or IP addresses, separated by  whitespace.  The  hostgroup
       tag  must  be  composed of alphanumeric characters, a dash
       ("-"), a period ("."), or an underscore  ("_").  Non-blank
       lines  following  the first hostgroup line are interpreted
       as more hostnames.  The hostgroup definition ends  with  a
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       blank line. For example:
       ^^^^^^^^^^^


Reply via email to