[GH-ISSUE #270] Gotify #202

Closed
opened 2026-02-25 23:41:34 +03:00 by kerem · 8 comments
Owner

Originally created by @tobru on GitHub (Jul 28, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/270

It would be great to have Gotify integration out-of-the-box in Healthchecks.io.

Originally created by @tobru on GitHub (Jul 28, 2019). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/270 It would be great to have [Gotify](https://gotify.net/) integration out-of-the-box in Healthchecks.io.
kerem closed this issue 2026-02-25 23:41:34 +03:00
Author
Owner

@baudneo commented on GitHub (Mar 29, 2022):

Is Gotify still being considered for integration?

<!-- gh-comment-id:1081384721 --> @baudneo commented on GitHub (Mar 29, 2022): Is Gotify still being considered for integration?
Author
Owner

@setop commented on GitHub (May 25, 2022):

I have an integration with Gotify using webhook :

URL : https://gotify.provider.tld/message?token=THEAPPLICATIONTOKEN
Method : POST
Request Body (down) : title=healthcheck&message=$NAME+$STATUS&priority=8
Request Body (up) : title=healthcheck&message=$NAME+$STATUS&priority=7
Request Headers: Content-Type: application/x-www-form-urlencoded

The trick to make it work is the Content-Type: application/x-www-form-urlencoded header.
Also note I choose priority 8 for down and 7 for up, it changes the notification kind on Android (8 is more intrusive than 7).

<!-- gh-comment-id:1137391273 --> @setop commented on GitHub (May 25, 2022): I have an integration with Gotify using webhook : ``` URL : https://gotify.provider.tld/message?token=THEAPPLICATIONTOKEN Method : POST Request Body (down) : title=healthcheck&message=$NAME+$STATUS&priority=8 Request Body (up) : title=healthcheck&message=$NAME+$STATUS&priority=7 Request Headers: Content-Type: application/x-www-form-urlencoded ``` The trick to make it work is the `Content-Type: application/x-www-form-urlencoded` header. Also note I choose priority 8 for down and 7 for up, it changes the notification kind on Android (8 is more intrusive than 7).
Author
Owner

@cuu508 commented on GitHub (Jun 1, 2022):

Gotify accepts JSON payload too:

URL : https://gotify.provider.tld/message?token=THEAPPLICATIONTOKEN
Method : POST
Request Body (down) : {"message": "$NAME is DOWN"}
Request Body (up) : {"message": "$NAME is UP"}
Request Headers: Content-Type: application/json

I'll look into a native integration, it would enable nicer notifications with more content.

From a glance at Gotify docs, I'm not sure how to handle the priority values.

  • should Healthchecks include priority key in the notification payload?
  • should Healthchecks let the user configure the priority values for "down" and "up" events?
  • if yes, are there human-friendly descriptions of the different priority values (e.g. "1" - Silent, "10" - "Emergency")?
<!-- gh-comment-id:1143335651 --> @cuu508 commented on GitHub (Jun 1, 2022): Gotify accepts JSON payload too: ``` URL : https://gotify.provider.tld/message?token=THEAPPLICATIONTOKEN Method : POST Request Body (down) : {"message": "$NAME is DOWN"} Request Body (up) : {"message": "$NAME is UP"} Request Headers: Content-Type: application/json ``` I'll look into a native integration, it would enable nicer notifications with more content. From a glance at Gotify docs, I'm not sure how to handle the priority values. * should Healthchecks include `priority` key in the notification payload? * should Healthchecks let the user configure the priority values for "down" and "up" events? * if yes, are there human-friendly descriptions of the different priority values (e.g. "1" - Silent, "10" - "Emergency")?
Author
Owner

@cuu508 commented on GitHub (Jun 1, 2022):

The initial version of Gotify integration is ready, and available on https://healthchecks.io

<!-- gh-comment-id:1143660406 --> @cuu508 commented on GitHub (Jun 1, 2022): The initial version of Gotify integration is ready, and available on https://healthchecks.io
Author
Owner

@sagehou commented on GitHub (Jun 13, 2022):

The experience on https://healthchecks.io is good. Hope the function can be added to docker images.

<!-- gh-comment-id:1153609422 --> @sagehou commented on GitHub (Jun 13, 2022): The experience on https://healthchecks.io is good. Hope the function can be added to docker images.
Author
Owner

@cuu508 commented on GitHub (Jun 13, 2022):

@sagehou I released v2.2.1 today, updated Docker images are now available

<!-- gh-comment-id:1153902716 --> @cuu508 commented on GitHub (Jun 13, 2022): @sagehou I released v2.2.1 today, updated Docker images are now available
Author
Owner

@setop commented on GitHub (Jun 13, 2022):

I changed my config from webhook to native integration. Test is ok. Waiting for the next system failure to fully confirm :)
For sure the logo is nice :)

<!-- gh-comment-id:1154017376 --> @setop commented on GitHub (Jun 13, 2022): I changed my config from webhook to native integration. Test is ok. Waiting for the next system failure to fully confirm :) For sure the logo is nice :)
Author
Owner

@sagehou commented on GitHub (Jun 14, 2022):

@sagehou I released v2.2.1 today, updated Docker images are now available

Nice job 👍 .

<!-- gh-comment-id:1154784750 --> @sagehou commented on GitHub (Jun 14, 2022): > @sagehou I released v2.2.1 today, updated Docker images are now available Nice job 👍 .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#202
No description provided.