[GH-ISSUE #583] Improve Zulip notifications #429

Closed
opened 2026-02-25 23:42:25 +03:00 by kerem · 5 comments
Owner

Originally created by @GhaziTriki on GitHub (Oct 30, 2021).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/583

Hello,

I would be good to improve Zulip notifications by adding the the ability to select the topic. As example we might have a checkbox "Automatic Topic" or if unchecked it will uncover the self-defined topic which is "alerts" in our case.

Originally created by @GhaziTriki on GitHub (Oct 30, 2021). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/583 Hello, I would be good to improve Zulip notifications by adding the the ability to select the topic. As example we might have a checkbox "Automatic Topic" or if unchecked it will uncover the self-defined topic which is "alerts" in our case.
kerem 2026-02-25 23:42:25 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@cuu508 commented on GitHub (Oct 7, 2022):

Thanks for the suggestion. The Zulip integration currently generates topics in the form:

  • [check name] is UP
  • [check name] is DOWN

I want to make sure I understand the suggestion.

With "Automatic Topic" checked, the integration would work the same as currently, and use topics in one of the two above forms.
With "Automatic Topic" unchecked, the user would see a field to override the topic to a custom value, say, "alerts".

Is that correct?

<!-- gh-comment-id:1271454838 --> @cuu508 commented on GitHub (Oct 7, 2022): Thanks for the suggestion. The Zulip integration currently generates topics in the form: * [check name] is UP * [check name] is DOWN I want to make sure I understand the suggestion. With "Automatic Topic" checked, the integration would work the same as currently, and use topics in one of the two above forms. With "Automatic Topic" unchecked, the user would see a field to override the topic to a custom value, say, "alerts". Is that correct?
Author
Owner

@GhaziTriki commented on GitHub (Oct 7, 2022):

Hi @cuu508,

Let me explain the perspective of this issue. Currently we have about 150 "HC" tied to our Jenkins Jobs. The problem is that for every "hc" job we have 2 topics, on for UP and one for DOWN.

To compare it with what we have done with Zabbix, all zabbix notifications goes to the "alerts" topic. So instead of having 2x number of jobs as topics, we would have a single one were it is easier visually follow issues and search for history of a single item since searching in a single topic is visually better.

To avoid complaints from users having 2 topics per HC job; UP and DOWN; it would be possible to configure using a single topic named by the HC job owner.

Here is what we have visually now

image

<!-- gh-comment-id:1271479607 --> @GhaziTriki commented on GitHub (Oct 7, 2022): Hi @cuu508, Let me explain the perspective of this issue. Currently we have about 150 "HC" tied to our Jenkins Jobs. The problem is that for every "hc" job we have 2 topics, on for UP and one for DOWN. To compare it with what we have done with Zabbix, all zabbix notifications goes to the "alerts" topic. So instead of having 2x number of jobs as topics, we would have a single one were it is easier visually follow issues and search for history of a single item since searching in a single topic is visually better. To avoid complaints from users having 2 topics per HC job; UP and DOWN; it would be possible to configure using a single topic named by the HC job owner. Here is what we have visually now ![image](https://user-images.githubusercontent.com/4991088/194544522-9b28af41-503c-4c38-9f02-35a57c487c0f.png)
Author
Owner

@cuu508 commented on GitHub (Oct 7, 2022):

Thanks for the details, @GhaziTriki!

Mockup for the "Add Integration" form:

image

I'm not very familiar with Zulip, so please excuse the stupid question: Am I correct in thinking Topics are only relevant in Streams, and not in Private Messages?

<!-- gh-comment-id:1271652833 --> @cuu508 commented on GitHub (Oct 7, 2022): Thanks for the details, @GhaziTriki! Mockup for the "Add Integration" form: ![image](https://user-images.githubusercontent.com/661859/194573483-01bf834f-5c8d-48c6-8a85-e2993620b614.png) I'm not very familiar with Zulip, so please excuse the stupid question: Am I correct in thinking Topics are only relevant in Streams, and not in Private Messages?
Author
Owner

@GhaziTriki commented on GitHub (Oct 9, 2022):

Hi @cuu508,

It looks perfect !! No question is stupid !

Indeed Topics are only relevant in Streams https://zulip.com/help/streams-and-topics but not in private messages https://zulip.com/help/private-messages

I am leaving a small doc here for people who wants to use the custom topic, they just need to move old messages to that new topic, empty topics will be automatically removed.

<!-- gh-comment-id:1272500362 --> @GhaziTriki commented on GitHub (Oct 9, 2022): Hi @cuu508, It looks perfect !! No question is stupid ! Indeed Topics are only relevant in Streams https://zulip.com/help/streams-and-topics but not in private messages https://zulip.com/help/private-messages I am leaving a small doc here for people who wants to use the custom topic, they just need to move old messages to that new topic, empty topics will be automatically removed.
Author
Owner

@cuu508 commented on GitHub (Oct 10, 2022):

@GhaziTriki I've now deployed this change to Healthchecks.io.

<!-- gh-comment-id:1272860823 --> @cuu508 commented on GitHub (Oct 10, 2022): @GhaziTriki I've now deployed this change to Healthchecks.io.
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#429
No description provided.