Replies: 4 comments 5 replies
-
for example, maybe not appropriate, I want to use linux file and user models probe = file probe to probes group is relation, notify to notifies group is relation, and probe to notify or probe group to notify are n:m relation indeed. using relationship from @haoel are good for implements and for offline data analysis while using my idea are easy to understand and use, but not good for analysis |
Beta Was this translation helpful? Give feedback.
-
tried working out an example configuration with some of the ideas proposed, here is what it looks like so far, http:
- name: ElasticSearch
url: http://elasticsearch.server:9200
notify:
- emergency_channels
- emergency_channels!telegram (exclude telegram from the group)
- emergency_channels>discord (Only discord notify from emergency_channels group)
- discord (default_channels discord only)
- recovery_channels!&SLA (do not call this channel when we submit our daily SLA report)
- name: Prometheus
url: http://prometheus:9090/graph
# omit notify: uses default notify channels like before
notify:
recovery_channels:
- elastic restart notify endpoint
emergency_channels:
discord:
- name: "#alerts channel"
- name: "#support channel"
telegram:
default_channels: # From this point we operate with the same logic as before, unless somehow excluded by the admin all these notifies will be triggered.
slack:
- name: "MegaEase#Alert"
discord:
- name: "MegaEase#Alert"
telegram:
- name: "MegaEase Alert Group" Some things that come to mind as i was working on this
Let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
I quite like the channel solution, this solution is intuitive in how we send the probers data to notifiers. But we can have several different ways to configure it. Solution A - Group the notifiers to channelThis is the proposal from @proditis (refer link) http:
- name: probe_a
channels: [ chan_a, chan_b]
notify:
chan_a:
- discord: ....
- slack: ...
chan_b:
- telegram: ... Solution B - Define the ID of the channels for both probers and notificationshttp:
- name: probe A
channels : [ Chann_A, Chann_B]
shell:
- name: probe B
channels: [ Chann_C ]
notify:
- discord: Dev
channels: [Chann_A, Chann_C]
- email: Gmail
channels: [Chann_B] Solution C: Dedicated configuration for the channelhttp:
...
shell:
...
notify:
...
channels:
- name: channel_one
probers: [A, B, C]
notify: [X, Y]
- name: channel_two
probers: [AA, BB, CC]
notify: [Z] Solution ComparsionThe following comparison might not be objectives, please feel free to raise your concerns.
@proditis @nullsimon please feel free to share any of your ideas. |
Beta Was this translation helpful? Give feedback.
-
PR #108 is ongoing... |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
This thread is with regards to the a new feature we were discussing at PR #78
The idea is for us to expand the current
probe
andnotify
commands in such a way that would allow us to create custom notification relationships between probes and notify endpoints.Some examples of the different structures that came during the initial discussions include (in order they arrived so that the progress can be identified):
From @proditis Add support to define desired notification on probes
From @nullsimon support custom probe with different notifies, notifies group or notifies list are both great
From @haoel to cover all of the scenarios, the best model is the n:m relationship between probe and notification, but this would introduce the complexities of configuration - we need an extra configuration to describe the relationship.
So now we have to decide the Hows and Whats for the future of this feature 👍
Feel free to contribute your ideas and concerns here so that they will be considered and addressed 😃
Beta Was this translation helpful? Give feedback.
All reactions