Question regarding definition of groups....
list Jody McKinzie
Okay,
I Added this to the hobbit-alerts.cfg
## GROUP Definitions
GROUP=UNIX_TEAM
MAIL user-1099ee213a66@xymon.invalid FORMAT=TEXT
GROUP=DBA
MAIL user-74b011af5e62@xymon.invalid 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: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXX
Email: user-57e71316b8e0@xymon.invalid
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.
***********************************************************
list Tom Moore
MAIL user-74b011af5e62@xymon.invalid<mailto:user-74b011af5e62@xymon.invalid> 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] On Behalf Of McKinzie, Jody
Sent: Tuesday, January 03, 2012 4:17 PM
To: 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 user-1099ee213a66@xymon.invalid<mailto:user-1099ee213a66@xymon.invalid> FORMAT=TEXT
GROUP=DBA
MAIL user-74b011af5e62@xymon.invalid<mailto:user-74b011af5e62@xymon.invalid> 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: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXXEmail: user-57e71316b8e0@xymon.invalid<mailto:user-57e71316b8e0@xymon.invalid> 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.
***********************************************************
list Jody McKinzie
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: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXX
Email: user-57e71316b8e0@xymon.invalid
www.TheZenith.com
From: xymon-bounces at xymon.com [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 user-74b011af5e62@xymon.invalid 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] On Behalf
Of McKinzie, Jody
Sent: Tuesday, January 03, 2012 4:17 PM
To: 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 user-1099ee213a66@xymon.invalid FORMAT=TEXT
GROUP=DBA
MAIL user-74b011af5e62@xymon.invalid 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: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXX
Email: user-57e71316b8e0@xymon.invalid
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.
***********************************************************
list Jody McKinzie
Regards,
Jody R. McKinzie
Sr. UNIX Administrator
Zenith Insurance Company
Desk: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXX
Email: user-57e71316b8e0@xymon.invalid
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: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXX
Email: user-57e71316b8e0@xymon.invalid
www.TheZenith.com
From: xymon-bounces at xymon.com [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 user-74b011af5e62@xymon.invalid 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] On Behalf
Of McKinzie, Jody
Sent: Tuesday, January 03, 2012 4:17 PM
To: 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 user-1099ee213a66@xymon.invalid FORMAT=TEXT
GROUP=DBA
MAIL user-74b011af5e62@xymon.invalid 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: (XXX) XXX-XXXX
Cell: (XXX) XXX-XXXX
Fax: (XXX) XXX-XXXX
Email: user-57e71316b8e0@xymon.invalid
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.
***********************************************************
list Paul Root
It should. Use ~xymon/server/bin/xymond_alert -test $HOST disk -duration=7200 -color=red |grep -v Failed To test. Paul Root - Engineer III Managed Services Systems - CenturyLink
▸
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of McKinzie, Jody Sent: Wednesday, January 04, 2012 12: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: (XXX) XXX-XXXX Cell: (XXX) XXX-XXXX Fax: (XXX) XXX-XXXX Email: user-57e71316b8e0@xymon.invalid<mailto:user-57e71316b8e0@xymon.invalid> 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] 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 user-74b011af5e62@xymon.invalid<mailto:user-74b011af5e62@xymon.invalid> 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 user-1099ee213a66@xymon.invalid<mailto:user-1099ee213a66@xymon.invalid> FORMAT=TEXT GROUP=DBA MAIL user-74b011af5e62@xymon.invalid<mailto:user-74b011af5e62@xymon.invalid> 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: (XXX) XXX-XXXX Cell: (XXX) XXX-XXXX Fax: (XXX) XXX-XXXX Email: user-57e71316b8e0@xymon.invalid<mailto:user-57e71316b8e0@xymon.invalid> 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. ***********************************************************
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Tom Moore
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 user-4ba039241d81@xymon.invalid,user-201a91c7cc47@xymon.invalid FORMAT=TEXT DURATION>120
▸
From: McKinzie, Jody [mailto:user-57e71316b8e0@xymon.invalid] 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: (XXX) XXX-XXXX Cell: (XXX) XXX-XXXX Fax: (XXX) XXX-XXXX Email: user-57e71316b8e0@xymon.invalid<mailto:user-57e71316b8e0@xymon.invalid> 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: (XXX) XXX-XXXX Cell: (XXX) XXX-XXXX Fax: (XXX) XXX-XXXX Email: user-57e71316b8e0@xymon.invalid<mailto:user-57e71316b8e0@xymon.invalid> 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 user-74b011af5e62@xymon.invalid<mailto:user-74b011af5e62@xymon.invalid> 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 user-1099ee213a66@xymon.invalid<mailto:user-1099ee213a66@xymon.invalid> FORMAT=TEXT GROUP=DBA MAIL user-74b011af5e62@xymon.invalid<mailto:user-74b011af5e62@xymon.invalid> 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: (XXX) XXX-XXXX Cell: (XXX) XXX-XXXX Fax: (XXX) XXX-XXXX Email: user-57e71316b8e0@xymon.invalid<mailto:user-57e71316b8e0@xymon.invalid> 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. ***********************************************************