[Xymon] GROUP issue
Raul GN
ragonlan at gmail.com
Tue Nov 29 11:38:47 CET 2011
I tried both ways and none worked. :-(
testing with xymond_alert work fine:
/usr/lib64/xymon/server/bin/xymond_alert --debug --test xymon1 disk
--group=UNIX_TEAM_PARTITION
30885 2011-11-29 11:36:12 Transport setup is:
30885 2011-11-29 11:36:12 xymondportnumber = 1984
30885 2011-11-29 11:36:12 xymonproxyhost = NONE
30885 2011-11-29 11:36:12 xymonproxyport = 0
30885 2011-11-29 11:36:12 Recipient listed as '127.0.0.1'
30885 2011-11-29 11:36:12 Standard protocol on port 1984
30885 2011-11-29 11:36:12 Will connect to address 127.0.0.1 port 1984
30885 2011-11-29 11:36:12 Connect status is 0
30885 2011-11-29 11:36:12 Sent 16 bytes
30885 2011-11-29 11:36:12 Read 16384 bytes
30885 2011-11-29 11:36:12 Read 32767 bytes
30885 2011-11-29 11:36:12 Read 24552 bytes
30885 2011-11-29 11:36:12 Closing connection
30885 2011-11-29 11:36:12 Opening file /usr/lib/xymon/server/etc/alerts.cfg
30885 2011-11-29 11:36:12 Opening file
/usr/lib/xymon/server/etc/holidays.cfg
30885 2011-11-29 11:36:12 send_alert xymon1:disk state 0
00030885 2011-11-29 11:36:12 send_alert xymon1:disk state Paging
00030885 2011-11-29 11:36:12 Matching host:service:dgroup:page
'xymon1:disk:NONE:monitorizacion' against rule line 120
00030885 2011-11-29 11:36:12 *** Match with 'GROUP=UNIX_TEAM_PARTITION' ***
30885 2011-11-29 11:36:12 Found a first matching rule
00030885 2011-11-29 11:36:12 Matching host:service:dgroup:page
'xymon1:disk:NONE:monitorizacion' against rule line 121
00030885 2011-11-29 11:36:12 *** Match with 'MAIL
ragonlan at gmail.comFORMAT=TEXT RECOVERED' ***
30885 2011-11-29 11:36:12 repeat xymon1|disk|mail|ragonlan at gmail.com at 0
30885 2011-11-29 11:36:12 Alert for xymon1:disk to ragonlan at gmail.com
00030885 2011-11-29 11:36:12 Mail alert with command '/var/mail/root "Xymon
[12345] xymon1:disk CRITICAL (RED)" ragonlan at gmail.com'
30885 2011-11-29 11:36:12 No more secondary matching rule
So xymond_client should have the problem but I don't know how to test it.
On Mon, Nov 28, 2011 at 2:49 PM, Neil Simmonds <
Neil.Simmonds at express-gifts.co.uk> wrote:
> It works fine for me but I have the GROUP parm on my HOST= line not on
> the individual tests.****
>
> ** **
>
> Neil Simmonds
> Operations Analyst
> Operations Support Group
> Express Gifts Ltd.
> neil.simmonds at express-gifts.co.uk ****
>
> Tel :- 01254 303092
> Fax :- 01254 303100 ****
> ------------------------------
>
> *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On
> Behalf Of *Raul GN
> *Sent:* 28 November 2011 12:53
> *To:* xymon at xymon.com
> *Subject:* [Xymon] GROUP issue****
>
> ** **
>
> Hi,
>
> I'm trying to configure GROUP alerts but I can't get it to work.
> alerts.cfg and analysis.cfg has this content:
> analysis.cfg:
>
> HOST=xymon1
> LOAD 10.0 13.0 GROUP=UNIX_TEAM_PARTITION
> DISK / 20 24 GROUP=UNIX_TEAM_PARTITION
>
> DEFAULT
> # These are the built-in defaults.
> UP 1h
> LOAD 5.0 10.0
> DISK * 90 95
> MEMPHYS 100 101
> MEMSWAP 50 80
> MEMACT 90 97
>
> alerts.cfg:
> GROUP=UNIX_TEAM_PARTITION
> MAIL ragonlan at gmail.com FORMAT=TEXT RECOVERED
>
> 'info' test shows "no alerts defined" and indeed no mail is sent even if
> disk test is raising a panic alert.
>
> best regards, ****
>
> Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE,
> CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151.
> Express Gifts Limited is authorised and regulated by the Financial
> Services Authority
> -------------
> NOTE: This email and any information contained within or attached in a
> separate file is confidential and intended solely for the Individual to
> whom it is addressed. The information or data included is solely for the
> purpose indicated or previously agreed. Any information or data included
> with this e-mail remains the property of Findel PLC and the recipient will
> refrain from utilising the information for any purpose other than that
> indicated and upon request will destroy the information and remove it from
> their records. Any views or opinions presented are solely those of the
> author and do not necessarily represent those of Findel PLC. If you are not
> the intended recipient, be advised that you have received this email in
> error and that any use, dissemination, forwarding, printing, or copying of
> this email is strictly prohibited. No warranties or assurances are made in
> relation to the safety and content of this e-mail and any attachments. No
> liability is accepted for any consequences arising from it. Findel Plc
> reserves the right to monitor all e-mail communications through its
> internal and external networks. If you have received this email in error
> please notify our IT helpdesk on +44(0) 1254 303030
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111129/36d9ace8/attachment.html>
More information about the Xymon
mailing list