Xymon Mailing List Archive search

e-mail alerts for a specific log? (Solaris 10)

7 messages in this thread

list Nick Pettefar · Fri, 25 May 2012 12:48:15 +0100 ·
Can anyone tell me how I can set up xymon so that specific
(application) logs on specific servers send e-mail alerts (to several
recipients)?  I tried searching through the archives but could not
find anything showing this.  Do I have to configure (somehow) a
different service?  The servers run Solaris 10.  I'm new to xymon.

Nick
list Chris Morris · Fri, 25 May 2012 12:58:47 +0100 ·
Are you running in central / local client mode?

If central, then on xymon server :-

1) create entries in server/etc/client-local.cfg for the files you want
to monitor per host

These will appear in the msgs column.

2) create entries in server/etc/analysis.cfg to create corresponding
filter conditions
3) define recipients in alerts.cfg

See the Configuring Monitoring page under the "Help" menu of the server
web page.


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Nick Pettefar
Sent: 25 May 2012 12:48
To: xymon at xymon.com
Subject: [Xymon] e-mail alerts for a specific log? (Solaris 10)
quoted from Nick Pettefar

Can anyone tell me how I can set up xymon so that specific
(application) logs on specific servers send e-mail alerts (to several
recipients)?  I tried searching through the archives but could not find
anything showing this.  Do I have to configure (somehow) a different
service?  The servers run Solaris 10.  I'm new to xymon.

Nick


**************************************************************************** 

The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). 

*****************************************************************************
list Neil Simmonds · Fri, 25 May 2012 14:40:45 +0100 ·
Nick,

I don't think you can directly direct different log alerts on the same
server to different recipients but this is something I'm looking at and
I've decided that the alert should run a script that will decide which
alert it is and send to the appropriate recipients. 
Obviously if all the log alerts from any one particular server want to
go to the same group of people then the standard Xymon functionality
will do that.

Regards,
Neil.
quoted from Chris Morris
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Nick Pettefar
Sent: 25 May 2012 12:48
To: xymon at xymon.com
Subject: [Xymon] e-mail alerts for a specific log? (Solaris 10)

Can anyone tell me how I can set up xymon so that specific
(application) logs on specific servers send e-mail alerts (to several
recipients)?  I tried searching through the archives but could not
find anything showing this.  Do I have to configure (somehow) a
different service?  The servers run Solaris 10.  I'm new to xymon.

Nick
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
list Nick Pettefar · Fri, 25 May 2012 15:17:23 +0100 ·
Hi Neil,

Yes, I definitely need these application logs going to the application
team and not the server team.  I am very surprised that this is not
able to be done as I am sure it is a common scenario?

Regards,

Nick Pettefar
quoted from Neil Simmonds


On 25 May 2012 14:40, Neil Simmonds <user-8188d25e65e4@xymon.invalid> wrote:
Nick,

I don't think you can directly direct different log alerts on the same
server to different recipients but this is something I'm looking at and
I've decided that the alert should run a script that will decide which
alert it is and send to the appropriate recipients.

Obviously if all the log alerts from any one particular server want to
go to the same group of people then the standard Xymon functionality
will do that.

Regards,
Neil.

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Nick Pettefar
Sent: 25 May 2012 12:48
To: xymon at xymon.com
Subject: [Xymon] e-mail alerts for a specific log? (Solaris 10)

Can anyone tell me how I can set up xymon so that specific
(application) logs on specific servers send e-mail alerts (to several
recipients)? I tried searching through the archives but could not
find anything showing this. Do I have to configure (somehow) a
different service? The servers run Solaris 10. I'm new to xymon.

Nick
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

list Neil Simmonds · Fri, 25 May 2012 15:33:47 +0100 ·
Nick, 

Digging into it a bit further, you could use the GROUP=groupname
parameter in analysis.cfg.

i.e. 
LOG %application "%Restore failed for Server*" COLOR=red
GROUP=serveradmins

If you set a groupname on each LOG alert in analysis.cfg then you can
use that in alerts.cfg to direct the alert.

So alerts.cfg could be something like this,

GROUP=serveradmins SERVICE=msgs
	MAIL user-fe9c80510608@xymon.invalid

Or 

HOST=servername GROUP=appladmins SERVICE=msgs
	MAIL user-391bbe01f5e4@xymon.invalid 

That way alerts would only be sent to the relevant group.
-----Original Message-----
From: user-a27717663448@xymon.invalid [mailto:user-a27717663448@xymon.invalid] On Behalf Of Nick
Pettefar
Sent: 25 May 2012 15:17
To: Neil Simmonds; xymon
Subject: Re: [Xymon] e-mail alerts for a specific log? (Solaris 10)
quoted from Nick Pettefar

Hi Neil,

Yes, I definitely need these application logs going to the application
team and not the server team.  I am very surprised that this is not
able to be done as I am sure it is a common scenario?

Regards,

Nick Pettefar


On 25 May 2012 14:40, Neil Simmonds
<user-8188d25e65e4@xymon.invalid>
wrote:
Nick,

I don't think you can directly direct different log alerts on the
same
server to different recipients but this is something I'm looking at
and
I've decided that the alert should run a script that will decide
which
alert it is and send to the appropriate recipients.

Obviously if all the log alerts from any one particular server want
to
go to the same group of people then the standard Xymon functionality
will do that.

Regards,
Neil.

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Nick Pettefar
Sent: 25 May 2012 12:48
To: xymon at xymon.com
Subject: [Xymon] e-mail alerts for a specific log? (Solaris 10)

Can anyone tell me how I can set up xymon so that specific
(application) logs on specific servers send e-mail alerts (to
several
recipients)? I tried searching through the archives but could not
find anything showing this. Do I have to configure (somehow) a
different service? The servers run Solaris 10. I'm new to xymon.

Nick
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

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
list Nick Pettefar · Mon, 28 May 2012 10:56:56 +0100 ·
Hi, thanks for that.

Which logs or other files could I view to debug this please?
quoted from Neil Simmonds

Regards,

Nick Pettefar


On 25 May 2012 15:33, Neil Simmonds <user-8188d25e65e4@xymon.invalid> wrote:
Nick,

Digging into it a bit further, you could use the GROUP=groupname
parameter in analysis.cfg.

i.e.
LOG %application "%Restore failed for Server*" COLOR=red
GROUP=serveradmins

If you set a groupname on each LOG alert in analysis.cfg then you can
use that in alerts.cfg to direct the alert.

So alerts.cfg could be something like this,

GROUP=serveradmins SERVICE=msgs
MAIL user-fe9c80510608@xymon.invalid

Or

HOST=servername GROUP=appladmins SERVICE=msgs
MAIL user-391bbe01f5e4@xymon.invalid

That way alerts would only be sent to the relevant group.

-----Original Message-----
From: user-a27717663448@xymon.invalid [mailto:user-a27717663448@xymon.invalid] On Behalf Of Nick
Pettefar
Sent: 25 May 2012 15:17
To: Neil Simmonds; xymon
Subject: Re: [Xymon] e-mail alerts for a specific log? (Solaris 10)

Hi Neil,

Yes, I definitely need these application logs going to the application
team and not the server team. I am very surprised that this is not
able to be done as I am sure it is a common scenario?

Regards,

Nick Pettefar


On 25 May 2012 14:40, Neil Simmonds
<user-8188d25e65e4@xymon.invalid>
wrote:
Nick,

I don't think you can directly direct different log alerts on the
same
server to different recipients but this is something I'm looking at
and
I've decided that the alert should run a script that will decide
which
alert it is and send to the appropriate recipients.

Obviously if all the log alerts from any one particular server want
to
go to the same group of people then the standard Xymon functionality
will do that.

Regards,
Neil.

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Nick Pettefar
Sent: 25 May 2012 12:48
To: xymon at xymon.com
Subject: [Xymon] e-mail alerts for a specific log? (Solaris 10)

Can anyone tell me how I can set up xymon so that specific
(application) logs on specific servers send e-mail alerts (to
several
recipients)? I tried searching through the archives but could not
find anything showing this. Do I have to configure (somehow) a
different service? The servers run Solaris 10. I'm new to xymon.

Nick
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

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

list Jeremy Laidman · Tue, 29 May 2012 16:35:03 +1000 ·
quoted from Nick Pettefar
On Mon, May 28, 2012 at 7:56 PM, Nick Pettefar <user-2027539dd102@xymon.invalid> wrote:
Hi, thanks for that.

Which logs or other files could I view to debug this please?
The "GROUP=" setting is passed onto the "alerts" module.  So you might be
able to test out your config sufficiently using "xymond_alert --test".  See
"man xymond_alert" for details.

You can also check out the alert.log file.  You can also enable debug mode
by appending "--debug" onto the command-line in the [alert] section of
tasks.cfg.

Cheers
Jeremy