Categories
Announcements

Adding “Custom Text” to Slack & HipChat Notifications (Now Possible)

Getting notifications of downtime/uptime via Slack or HipChat is widely used.

Yet, until now, it was only possible to “target” rooms and not users.

There is now a “custom text” feature in the “Add/Edit Alert Contact” dialogs for HipChat and Slack where the text mentioned there will be sent with each notification.

As an example, we can now use custom text like:

  • @everyone for Slack to notify everyone
  • @SlackUserID for Slack to notify a specific user
  • @here in HipChat to notify all users in the room
  • @all in HipChat to notify everyone in the room
  • @HipChatUsername to notify a specific user

Hope this helps for a better experience :).

 

20 replies on “Adding “Custom Text” to Slack & HipChat Notifications (Now Possible)”

Added slack monitor to website. Seen notification that webhook was added to channel on slack. Forced website down – no message arrives on the slack channel. Nothing. Nada. Null. :-/

Maybe you should add some descirption or a link to this blog post to the “New slack alert contact” form, as it is not immediately clear what this field is for.

Also, is there a way to “test” alerts? This would also help with choosing the right content for the field and generally would be nice to be able to verify that some notification type works.

Is there a way to test a slack notification? I just want to make sure the message is formatted properly and alerting the “@channel”. How can I test the alert?

Thanks!

I’d also like the ability to send a test. Would also like, if possible, to be able to configure some notification intervals or something to that effect.

That said, thank you for this! 🙂

The best way to get test notifications will be:
– create a new monitor with URL: http://yahoo.com and attach an alert contact to it.
– wait for a minute
– update the URL to http://yahoo.com/notExists
– wait for a minute and the “down” notification must arrive
– update the URL back to http://yahoo.com and the “up” notification must arrive
– delete the monitor

Hello Umut,

Was this thread ever clarified? I’m trying to add a Slack webhook in UptimeRobot pointing to a Mattermost incoming webhook, but the “Create Alert Contact” action for this webhook just returns a “The web server reported a gateway time-out error.”

Sorry that I just saw it is the team edition. Can u contact us (support@uptimerobot.com) and we’d love to help by trying/testing it reciprocally and we can share the final setup here so that others can use it too?

I’m trying to integrate with Slack but I want a webhook to post to my custom app/bot within Slack and not using the default with UptimeRobot icon. Can I still do this using Slack and how do I exactly?

Leave a Reply

Your email address will not be published. Required fields are marked *