[Xymon] Question regarding definition of groups....
Tom Moore
Tom.Moore at sas.com
Wed Jan 4 20:16:45 CET 2012
I don't believe so based on the 'man hobbit-alerts.cfg/alerts.cfg' page. I was only answering your question in terms of the DURATION option. I don't see where you can define aliases for your email addresses.
GROUP=groupname Rule matching an alert by the group name. Groupnames are assigned to a status via the GROUP setting in the analysis.cfg
file.
I don't believe that's what you want.
I've always just used the mail inline, i.e
HOST=%something.* COLOR=RED SERVICE=disk
MAIL dba at host.com,someoneelse at somewhere.com FORMAT=TEXT DURATION>120
From: McKinzie, Jody [mailto:jmckinzie at thezenith.com]
Sent: Wednesday, January 04, 2012 1:36 PM
To: xymon at xymon.com
Cc: Tom Moore
Subject: RE: [Xymon] Question regarding definition of groups....
------------------------------
Regards,
Jody R. McKinzie
Sr. UNIX Administrator
Zenith Insurance Company
Desk: (941) 906-5177
Cell: (941) 806-8205
Fax: (941) 906-7945
Email: jmckinzie at thezenith.com<mailto:jmckinzie at thezenith.com>
www.TheZenith.com<http://www.TheZenith.com>
From: McKinzie, Jody
Sent: Wednesday, January 04, 2012 1:36 PM
To: 'Tom Moore'; Xymon Mailing List
Subject: RE: [Xymon] Question regarding definition of groups....
Would this work?
MAIL GROUP=JRM FORMAT=TEXT COLOR=red SERVICE=disk DURATIOIN>120
------------------------------
Regards,
Jody R. McKinzie
Sr. UNIX Administrator
Zenith Insurance Company
Desk: (941) 906-5177
Cell: (941) 806-8205
Fax: (941) 906-7945
Email: jmckinzie at thezenith.com<mailto:jmckinzie at thezenith.com>
www.TheZenith.com<http://www.TheZenith.com>
From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of Tom Moore
Sent: Tuesday, January 03, 2012 4:20 PM
To: Xymon Mailing List
Subject: Re: [Xymon] Question regarding definition of groups....
MAIL DBA at domain.name<mailto:DBA at domain.name> FORMAT=TEXT COLOR=RED DURATION>120
Should alert the DBA team after it's been red for 120 mins.
From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of McKinzie, Jody
Sent: Tuesday, January 03, 2012 4:17 PM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] FW: Question regarding definition of groups....
Okay,
I Added this to the hobbit-alerts.cfg
## GROUP Definitions
GROUP=UNIX_TEAM
MAIL Team at domain.name<mailto:Team at domain.name> FORMAT=TEXT
GROUP=DBA
MAIL DBA at domain.name<mailto:DBA at domain.name> FORMAT=TEXT
Added this for cat to hobbit-clients.cfg
HOST=cat
DISK /export/depot 100 101
DISK /mnt/testA GROUP=UNIX_TEAM
DISK /mnt/testB GROUP=DBA
Now, I want to alert the first group upon the alert going red, then alert the second team after two hours.
How do I accomplish this.
------------------------------
Regards,
Jody R. McKinzie
Sr. UNIX Administrator
Zenith Insurance Company
Desk: (941) 906-5177
Cell: (941) 806-8205
Fax: (941) 906-7945
Email: jmckinzie at thezenith.com<mailto:jmckinzie at thezenith.com>
www.TheZenith.com<http://www.TheZenith.com>
***********************************************************
NOTICE:
This e-mail, including attachments, contains information
that may be confidential, protected by the attorney/client
or other privileges, or exempt from disclosure under
applicable law. Further, this e-mail may contain
information that is proprietary and/or constitutes a trade
secret. This e-mail, including attachments, constitutes
non-public information intended to be conveyed only to the
designated recipient of this communication, please be
advised that any disclosure, dissemination, distribution,
copying, or other use of this communication or any attached
document is strictly prohibited. If you have received this
communication in error, please notify the sender
immediately by reply e-mail and promptly destroy all
electronic and printed copies of this communication and
attached documents.
***********************************************************
***********************************************************
NOTICE:
This e-mail, including attachments, contains information
that may be confidential, protected by the attorney/client
or other privileges, or exempt from disclosure under
applicable law. Further, this e-mail may contain
information that is proprietary and/or constitutes a trade
secret. This e-mail, including attachments, constitutes
non-public information intended to be conveyed only to the
designated recipient of this communication, please be
advised that any disclosure, dissemination, distribution,
copying, or other use of this communication or any attached
document is strictly prohibited. If you have received this
communication in error, please notify the sender
immediately by reply e-mail and promptly destroy all
electronic and printed copies of this communication and
attached documents.
***********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120104/89f0bc0f/attachment.html>
More information about the Xymon
mailing list