Xymon Mailing List Archive search

help with alert config - hobbitd_alert crash

2 messages in this thread

list Eric E *hs Schwimmer · Fri, 29 Apr 2005 14:27:04 -0400 ·
Hrm, just caused hobbitd_alert to core.  Here's the config options I was trying to use:
SERIVCE=conn COLOR=red TIME=W:0750:1710
  EXPAGES=SCN/hscs_servers,special,outside/telemed
  MAIL user-0169f26794ea@xymon.invalid REPEAT=1 FORMAT=SMS

Here's the stack track:
[hobbit at diamond hobbitsrv]$ gdb bin/hobbitd_alert tmp/core.11163
...
Core was generated by `hobbitd_alert'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x007b97a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0  0x007b97a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x007fa7d5 in raise () from /lib/tls/libc.so.6
#2  0x007fc149 in abort () from /lib/tls/libc.so.6
#3  0x0805123a in sigsegv_handler (signum=11) at sig.c:57
#4  <signal handler called>
#5  0x0804b0d6 in setup_criteria (currule=0xfefcc8d8, currcp=0xfefcc8dc)
    at do_alert.c:171
#6  0x0804bdfe in load_alertconfig (configfn=0x2 "", defcolors=2,
    defaultinterval=1800) at do_alert.c:460
#7  0x0804a152 in main (argc=134554704, argv=0x805532a) at hobbitd_alert.c:591

-----Original Message-----
From:	Schwimmer, Eric E *HS
Sent:	Fri 4/29/2005 1:55 PM
To:	user-ae9b8668bcde@xymon.invalid
Cc:	
Subject:	[hobbit] help with alert config

Hi all,

I'm trying to set up my alerts and I cant quite get them working, a simple example of my config is as follows:

<snip>
SERIVCE=conn COLOR=red TIME=W:0750:1710
EXPAGE=%.*/(hscs_servers|special|telemed)
MAIL user-4b9e3c6ae778@xymon.invalid REPEAT=1 FORMAT=SMS
</snip>

The problem, I believe, is in the EXPAGE line.  When I remove said line,
I get the conn pages, as expected, albeit all of the ones I was trying to
remove with the EXPAGE line.  When I include the EXPAGE line, I get pages
for everything EXCEPT conn pages.  Can anybody give me a clue as to how I
should format the EXPAGE tag?

Many thanks,
-Eric
list Henrik Størner · Fri, 29 Apr 2005 23:50:41 +0200 ·
quoted from Eric E *hs Schwimmer
On Fri, Apr 29, 2005 at 02:27:04PM -0400, Schwimmer, Eric E *HS wrote:
Hrm, just caused hobbitd_alert to core.  Here's the config options I was trying to use:
SERIVCE=conn COLOR=red TIME=W:0750:1710
  EXPAGES=SCN/hscs_servers,special,outside/telemed
  MAIL user-0169f26794ea@xymon.invalid REPEAT=1 FORMAT=SMS
If this is a direct cut'n'paste from your config file, try fixing the
"SERIVCE" mis-spelling.

Agreed, it should't dump core for that ...


Henrik