[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] PAGE= matching not working (Hobbit 4.0.2 Debian package)



On Fri, May 13, 2005 at 02:04:01PM +0200, Christian Perrier wrote:
> I'm in trouble getting PAGE= alert working.
> 
> >From my /etc/hobbit/bb-hosts file:
> 
> .../...
> subpage CP Serveurs C. Perrier
> 
> >From /etc/hobbit/hobbit-alerts.cfg:
> PAGE=CP TIME=W:0600:1800
>   MAIL perrier (at) alix.onera REPEAT=1440 RECOVERED

The "PAGE" directive actually matches on the full page-path.
Your "CP" page is a subpage, so it must have a path longer than
just "CP" - so "PAGE=something/CP" should work. Or if you dont
care about the name of the higher-level page, use "PAGE=%.*/CP"

Henrik