Xymon Mailing List Archive search

Email alerts question

6 messages in this thread

list Q · Fri, 07 Sep 2007 07:52:38 -0700 ·
Hello all,

  I am trying to tie my ticketing system into our monitoring process. I am currently having to do this through email. Ideally I would have any alert that self recovers close the open ticket  it created. My problem is as follows:
When hobbit sends an alert it has an id number in brackets. When hobbit sends a recovery message no alert id is included, so I have no way to reference a recovery with the original alert. Is there any way to have a recovery message include the original alert id? Or some other way of having a simple link between the original message and the recovery email?

Q
list Rich Smrcina · Fri, 07 Sep 2007 09:57:02 -0500 ·
Does the id appear in the message text?
quoted from Q

Q wrote:
Hello all,

 I am trying to tie my ticketing system into our monitoring process. I am currently having to do this through email. Ideally I would have any alert that self recovers close the open ticket  it created. My problem is as follows:
When hobbit sends an alert it has an id number in brackets. When hobbit sends a recovery message no alert id is included, so I have no way to reference a recovery with the original alert. Is there any way to have a recovery message include the original alert id? Or some other way of having a simple link between the original message and the recovery email?

Q

-- 

Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2008 - Chattanooga - April 18-22, 2008
list Q · Fri, 07 Sep 2007 08:26:38 -0700 ·
Unfourtantly, it does not.

Q
quoted from Rich Smrcina
Rich Smrcina wrote:
Does the id appear in the message text?

Q wrote:
Hello all,

 I am trying to tie my ticketing system into our monitoring process. I am currently having to do this through email. Ideally I would have any alert that self recovers close the open ticket  it created. My problem is as follows:
When hobbit sends an alert it has an id number in brackets. When hobbit sends a recovery message no alert id is included, so I have no way to reference a recovery with the original alert. Is there any way to have a recovery message include the original alert id? Or some other way of having a simple link between the original message and the recovery email?

Q

list T.J. Yang · Fri, 07 Sep 2007 11:28:33 -0500 ·
From: Q <user-b7b7e0997a34@xymon.invalid>
Reply-To: user-ae9b8668bcde@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Email alerts question
Date: Fri, 07 Sep 2007 08:26:38 -0700

Unfourtantly, it does not.
Hint, Hobbit source code is available,right ?
I am interested but not to a point to modify the source code.
tj
quoted from Q
Q
Rich Smrcina wrote:
Does the id appear in the message text?

Q wrote:
Hello all,

 I am trying to tie my ticketing system into our monitoring process. I am currently having to do this through email. Ideally I would have any alert that self recovers close the open ticket  it created. My problem is as follows:
When hobbit sends an alert it has an id number in brackets. When hobbit sends a recovery message no alert id is included, so I have no way to reference a recovery with the original alert. Is there any way to have a recovery message include the original alert id? Or some other way of having a simple link between the original message and the recovery email?

Q

Get a FREE small business Web site and more from Microsoft� Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/
list Charles Jones · Fri, 07 Sep 2007 09:37:27 -0700 ·
I accomplished something similar (integrating Big Brother with Request Tracker) where Hobbit would send (a copy of) alert messages to my ticketing system, and it would automatically open a ticket. If a recovery message arrived, the ticketing system would mark the ticket as auto-resolved and close it.  If a sysadmin wanted to "grab" a ticket, they could and hold it open or put comments etc. This also allowed management to use the ticketing systems built-in reporting functionality to see how many hobbit alerts there were, how many recovered on their own, etc.  I posted the plugin script I made for RT to the list, if you use the search function you should be able to find it if you are interested.

P.S. The script did indeed use the alert ID to reference the origional alert when a recovery message was received...at the time I was using BB which included the id in recovery messages as well, which seems to have changed in Hobbit.

-Charles
quoted from T.J. Yang
Hello all,

 I am trying to tie my ticketing system into our monitoring process. I am currently having to do this through email. Ideally I would have any alert that self recovers close the open ticket  it created. My problem is as follows:
When hobbit sends an alert it has an id number in brackets. When hobbit sends a recovery message no alert id is included, so I have no way to reference a recovery with the original alert. Is there any way to have a recovery message include the original alert id? Or some other way of having a simple link between the original message and the recovery email?

Q

list Q · Fri, 07 Sep 2007 09:47:15 -0700 ·
I did indeed read that post which gave me a great start to the project. I am just getting stuck on the recovery id.

Q
quoted from Charles Jones
Charles Jones wrote:
I accomplished something similar (integrating Big Brother with Request Tracker) where Hobbit would send (a copy of) alert messages to my ticketing system, and it would automatically open a ticket. If a recovery message arrived, the ticketing system would mark the ticket as auto-resolved and close it.  If a sysadmin wanted to "grab" a ticket, they could and hold it open or put comments etc. This also allowed management to use the ticketing systems built-in reporting functionality to see how many hobbit alerts there were, how many recovered on their own, etc.  I posted the plugin script I made for RT to the list, if you use the search function you should be able to find it if you are interested.

P.S. The script did indeed use the alert ID to reference the origional alert when a recovery message was received...at the time I was using BB which included the id in recovery messages as well, which seems to have changed in Hobbit.

-Charles
Hello all,

 I am trying to tie my ticketing system into our monitoring process. I am currently having to do this through email. Ideally I would have any alert that self recovers close the open ticket  it created. My problem is as follows:
When hobbit sends an alert it has an id number in brackets. When hobbit sends a recovery message no alert id is included, so I have no way to reference a recovery with the original alert. Is there any way to have a recovery message include the original alert id? Or some other way of having a simple link between the original message and the recovery email?

Q