Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events