Xymon Mailing List Archive search

Hobbit-alerts.cfg configuration

2 messages in this thread

list Figaro Nicolas · Wed, 6 Jul 2005 16:19:34 +0200 ·
Hi, 
I'd like to set a global rule in hobbit-alerts.cfg, to receive an e-mail
for any non green event. (hobbit 4.0.4 on aix 5.2). 
So I tried to add those lines at the bottom of the config file : HOST=.* SERVICE=.*
        MAIL my_email at my_domain COLOR=yellow
        MAIL my_email at my_domain COLOR=red
        MAIL my_email at my_domain COLOR=purple

But I don't receive any mail, even if some tests aren't green. 
The page.log doesn't show anything either. 
I tried to add the --debug option in the hobbitlaunch.cfg, but page.log
only show this 2005-07-06 16:18:49 Setting up page channel (id=3)
2005-07-06 16:18:49 calling ftok('~hobbit/server',3)
2005-07-06 16:18:49 ftok() returns: 0x3000093
2005-07-06 16:18:49 shmget() returns: 0x60008

Any idea ? 
NF
list Henrik Størner · Wed, 6 Jul 2005 16:29:30 +0200 ·
quoted from Figaro Nicolas
On Wed, Jul 06, 2005 at 04:19:34PM +0200, FIGARO Nicolas wrote:
I'd like to set a global rule in hobbit-alerts.cfg, to receive an e-mail
for any non green event. (hobbit 4.0.4 on aix 5.2). 
So I tried to add those lines at the bottom of the config file : HOST=.* SERVICE=.*
        MAIL my_email at my_domain COLOR=yellow
        MAIL my_email at my_domain COLOR=red
        MAIL my_email at my_domain COLOR=purple
"HOST=.*" is wrong. Try "HOST=*" (simple wildcard) or
"HOST=%.*" (regexp wildcard).


Henrik