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
Are you running in central / local client mode?
If central, then on xymon server :-
- create entries in server/etc/client-local.cfg for the files you want to monitor per host
These will appear in the msgs column.
- create entries in server/etc/analysis.cfg to create corresponding filter conditions
- 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)
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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).
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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 <Neil.Simmonds at express-gifts.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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 whoever at wherever.com
Or
HOST=servername GROUP=appladmins SERVICE=msgs MAIL whoeverelse at wherever.com
That way alerts would only be sent to the relevant group.
-----Original Message----- From: pettefar at gmail.com [mailto:pettefar at gmail.com] 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 <Neil.Simmonds at express-gifts.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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
Hi, thanks for that.
Which logs or other files could I view to debug this please?
Regards,
Nick Pettefar
On 25 May 2012 15:33, Neil Simmonds <Neil.Simmonds at express-gifts.co.uk> 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 whoever at wherever.com
Or
HOST=servername GROUP=appladmins SERVICE=msgs MAIL whoeverelse at wherever.com
That way alerts would only be sent to the relevant group.
-----Original Message----- From: pettefar at gmail.com [mailto:pettefar at gmail.com] 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 <Neil.Simmonds at express-gifts.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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
On Mon, May 28, 2012 at 7:56 PM, Nick Pettefar <Nick at pettefar.com> 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
participants (4)
-
Chris.Morris@rwe.com
-
jlaidman@rebel-it.com.au
-
Neil.Simmonds@express-gifts.co.uk
-
Nick@Pettefar.com