[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] PLEASE HELP: PAGE not sending alerts
- To: hobbit (at) hswn.dk
- Subject: RE: [hobbit] PLEASE HELP: PAGE not sending alerts
- From: "Williams, Jeffrey" <jeffrey.williams (at) newport.com>
- Date: Fri, 23 Jun 2006 11:49:42 -0700
Unless I am missing something, and I could be, these are the full paths.
usirv is directly under /
usirv/usirvpivotal is the full path under /
Neither of these work but anything under PAGE=/ works and if I list the
hosts under HOST= it works.
I could list all of the alerts by HOST=, but that is a big pain.
I read the post about hobbitd --test not following paths but I know from the
maillog that these are not going out.
I have even tried PAGE=%.*/usirvpiotal and that doesn't work.
_____
From: Larry Barber [mailto:lebarber (at) gmail.com]
Sent: Friday, June 23, 2006 11:28 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] PLEASE HELP: PAGE not sending alerts
You need to use the full "path" of the page name, as described here
<http://www.hswn.dk/hobbiton/2005/05/msg00199.html> .
Thanks,
Larry Barber
On 6/23/06, Williams, Jeffrey <jeffrey.williams (at) newport.com
<mailto:jeffrey.williams (at) newport.com> > wrote:
Hobbit 4.1.2p1 on Fedora4
I have tried everything and can't get this to work.
The PAGE=/ works but non of the PAGE tags for anything below that do.
Bb-hosts
title Newport Corporation
page usirv USIRV
title USIRV
subpage usirvpivotal Pivotal Servers
title USIRV - Pivotal Servers
10.25.1.35 <http://10.25.1.35> usirv-piv01 # sql rdp
DESCR:server:"Pivotal main"
10.25.1.14 <http://10.25.1.14> usirv-piv02 # rdp
DESCR:server:"Pivotal Irvine satellite"
10.25.1.9 <http://10.25.1.9> usirv-piv03 # sql rdp
DESCR:server:"Pivotal HTTP sync, web store"
10.25.1.59 <http://10.25.1.59> usirv-pivdev01 # sql rdp
DESCR:server:"Pivotal development"
Hobbit-alert.cfg
PAGE=/
MAIL $jw REPEAT=24h RECOVERED NOTICE
MAIL $dh RECOVERED COLOR=red
PAGE=usirv
MAIL $td RECOVERED
PAGE=usirv/usirvpivotal
MAIL $st RECOVERED
[root (at) usirv-bb01 hobbit]# /usr/lib/hobbit/server/bin/bbcmd hobbitd_alert
--test usirv-piv01 conn
2006-06-21 12:02:24 Using default environment file
/usr/lib/hobbit/server/etc/hobbitserver.cfg
00013345 2006-06-21 12:02:24 send_alert usirv-piv01:conn state Paging
00013345 2006-06-21 12:02:24 Matching host:service:page 'usirv-piv01:conn:'
against rule line 144
00013345 2006-06-21 12:02:24 *** Match with 'PAGE=/' ***
00013345 2006-06-21 12:02:24 Matching host:service:page 'usirv-piv01:conn:'
against rule line 145
00013345 2006-06-21 12:02:24 *** Match with 'MAIL $jw REPEAT=24h RECOVERED
NOTICE' ***
00013345 2006-06-21 12:02:24 Mail alert with command 'mail -s "Hobbit
[12345] usirv-piv01:conn CRITICAL (RED)"
jeffrey.williams (at) newport.com <mailto:jeffrey.williams (at) newport.com> '
00013345 2006-06-21 12:02:24 Matching host:service:page 'usirv-piv01:conn:'
against rule line 146
00013345 2006-06-21 12:02:24 *** Match with 'MAIL $dh RECOVERED COLOR=red'
***
00013345 2006-06-21 12:02:24 Mail alert with command 'mail -s "Hobbit
[12345] usirv-piv01:conn CRITICAL (RED)"
daniel.hedstrom (at) newport.com <mailto:daniel.hedstrom (at) newport.com> '
00013345 2006-06-21 12:02:24 Matching host:service:page 'usirv-piv01:conn:'
against rule line 147
00013345 2006-06-21 12:02:24 Failed 'PAGE=usirv' (pagename not in include
list)
00013345 2006-06-21 12:02:24 Matching host:service:page 'usirv-piv01:conn:'
against rule line 149
00013345 2006-06-21 12:02:24 Failed 'PAGE=usirv/usirvpivotal' (pagename not
in include list)
I have searched the docs and the archive for this mailing list without
success.
Any help would be appreciated. Even a suggestion on logs or a debug mode
would help.
Thanks...