The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Stash running low on resources can send emails to admin?

RAJESHP
July 14, 2014

currently a red band appears on Stash when running low on resources. I was wondering if it is possible to send a Hip chat notification or then a email to admins to notify before a bunch of developers send a email after looking at the UI message.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 15, 2014

Hi Rajesh,

There's no built-in mechanism for emitting notifications when Stash reaches resource limits, but it would be pretty straight forward to implement as an add-on if you have someone on your team with some java experience. Stash will emit a TicketRejectedEvent whenever an operation is aborted due to high server load. All you'd need to do is listen for the event and emit a HipChat or Email notification.

There's an open source Stash HipChat add-on on Bitbucket that I haven't personally tried, but it looks like a good start (or you can look at the HipChat notifier hook bundled with Stash if you have a commercial Stash license, which entitles you to source access). The Stash developer site has some other helpful resources too.

cheers,

Tim

TAGS
AUG Leaders

Atlassian Community Events