Stash running low on resources can send emails to admin?

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

171 views 20 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you