Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crazy-max/rocketchat-uptimerobot
Uptime Robot integration for Rocket.Chat
https://github.com/crazy-max/rocketchat-uptimerobot
rocketchat uptimerobot webhook
Last synced: 4 days ago
JSON representation
Uptime Robot integration for Rocket.Chat
- Host: GitHub
- URL: https://github.com/crazy-max/rocketchat-uptimerobot
- Owner: crazy-max
- License: mit
- Archived: true
- Created: 2017-11-29T00:36:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T23:55:58.000Z (over 3 years ago)
- Last Synced: 2024-08-01T19:32:05.649Z (3 months ago)
- Topics: rocketchat, uptimerobot, webhook
- Language: JavaScript
- Homepage:
- Size: 84 KB
- Stars: 34
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## :warning: Abandoned project
This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.
Thanks to everyone for their valuable feedback and contributions.
## About
Add [Uptime Robot](https://uptimerobot.com) notifications via a new WebHook in Rocket.Chat.
## Receive alerts
- Create a new **Incoming WebHook** in Administration > Integrations
- Select the channel where you will receive the alerts. You may wish to create a dedicated channel for your notifications.
- Select an account from which the alerts will be posted. You may wish to create a dedicated account just for notifications.
- Set the "Enable Scripts" option to `True`.
- Copy content of [uptimerobot-incoming.js](src/uptimerobot-incoming.js) in Script field.
- Save the integration. This will generate a webhook URL and secret for you.
- Go to [Uptime Robot -> MySettings](https://uptimerobot.com/dashboard.php#mySettings), add a **new Alert Contact** and select type **Web-Hook**
- Add the Rocket.Chat webhook URL generated in **URL to notify** field and add a **?** at the end of the URL.
- Paste the following in the **POST Value (JSON Format)** field :```json
{
"monitorID": "*monitorID*",
"monitorURL": "*monitorURL*",
"monitorFriendlyName": "*monitorFriendlyName*",
"alertType": "*alertType*",
"alertTypeFriendlyName": "*alertTypeFriendlyName*",
"alertDetails": "*alertDetails*",
"alertDuration": "*alertDuration*"
}
```- And check **Send as JSON (application/json)**
![Screenshot of messages generated by Uptime Robot integration script](res/screenshot.png)
*Note:* If status is UP, message color is green otherwise it is red.
## How can I help ?
All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon: You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) :clap: or by making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! :rocket:
Thanks again for your support, it is much appreciated! :pray:
## License
MIT. See `LICENSE` for more details.