[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] service restart
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] service restart
- From: Kii NODA <kii.noda (at) gmail.com>
- Date: Tue, 16 Feb 2010 15:18:37 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=PyvtIIDWgg1eFpHo0K/fUVKW8NdDpaAJ4MBvOoDbNxw=; b=iYth/irPKQ8XN8eotltVxdhCX07yL8YhbJlYf9kA16gY8aR4dq/RzMN9ELahVjfsMj 1hqPeAFxKhz0Eq9XaU6NH/TbY8hDyKLas4KK6EELY9YGFZhZVpgEfO3KlEgVECmZLEaW g65PHwGZa/1fyNAzt8s2pCD33QvmcXKVwZARo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=C7dDh4831Ox9sd4AcXm2pInsQpcR7Fg5obcd773SufNzWtdjX9Bsv2gSoq4v2hnUEr 6x9/df97QSeA6QD0Xs7lPPdYE84ajcLn6SJhErhfj+K/zbE2sCOe4nbBVZLC+M7ibwJ6 BCDcIHFPJHg6LKHG27Zw+i3Q+BLXFP7E6GdoM=
- References: <971b43ce1002150344y231c4df3v2cc23b25cd26cdb7 (at) mail.gmail.com> <32006809.21266235122151.JavaMail.root (at) zimbra> <971b43ce1002150416r26a5aed6n86f08e01f0e01f02 (at) mail.gmail.com>
Hi,
Here's a short excerpt from Matthew Moldvan's email addressed to myself from
a few days ago. This should be of help to you. Basically, try passing on the
alert by hand and see if you don't have any STOP or IGNORE statements for
the host or alert that match before your alerting rule.
--- cut here ---
A few very useful ways I recently found to test the regular expressions with
xymon are the pcretest and hobbitd_client command.
-bash-3.2$ pcretest
PCRE version 6.6 06-Feb-2006
re> /^asd$/
data> asdf
No match
data> asd
0: asd
[root (at) zenls01h ~]# su - xymon
-bash-3.2$ ./server/bin/bbcmd hobbitd_client --test
2010-02-06 19:39:42 Using default environment file
/usr/lib64/xymon/server/etc/hobbitserver.cfg
Hostname (.=end, ?=dump, !=reload) []:
From there you can try out the host name that's not matching up as well as
the test.
--- and here ---
On Mon, Feb 15, 2010 at 2:16 PM, Sabeer MZ <sabeer.mz (at) gmail.com> wrote:
>
> Dear all,
>
> I have given alert for service "named", unfortunately i m not getting any
> email alerts. How to troubleshoot this issue ?
>
> HOST=abc.xyz.com
> MAIL <mail-address> SERVICE=named
>
>
>
>
> On Mon, Feb 15, 2010 at 5:28 PM, Olivier AUDRY <olivier (at) audry.fr> wrote:
>
>> hello
>>
>> you can execute a script on alert. So you can write a script to execute
>> the httpd restart.
>>
>> oau
>>
>> ----- Mail Original -----
>> De: "Sabeer MZ" <sabeer.mz (at) gmail.com>
>> À: hobbit (at) hswn.dk
>> Envoyé: Lundi 15 Février 2010 12h44:38 GMT +01:00 Amsterdam / Berlin /
>> Berne / Rome / Stockholm / Vienne
>> Objet: [hobbit] service restart
>>
>>
>> Dear all,
>>
>> is it possible to start an failed service for example.- httpd using
>> hobbit-alerts.cfg ?
>>
>> --
>> Thanks
>> Sabeer MZ | szubair (at) icalibrator.com
>> TVM +91 9446057491
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>>
>
>
> --
> Thanks
> Sabeer MZ | szubair (at) icalibrator.com
> TVM +91 9446057491
>
--
kN