-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance Notification with Channels. #226
Comments
@Choi-Jinhong |
I would like to change the yaml file as below. vatz_protocol_info:
protocol_identifier: "VATZ"
port: 9090
notification_info:
host_name: "put your host name here"
dispatch_channels:
- channel: "discord"
secret: "Your secert"
- channel: "pagerduty"
secret: "Your secret"
health_checker_schedule:
- "0 1 * * *"
plugins_infos:
default_verify_interval: 15
default_execute_interval: 30
default_plugin_name: "vatz-plugin"
plugins:
- plugin_name: "sample1"
plugin_address: "localhost"
plugin_port: 9091
executable_methods:
- method_name: "sampleMethod1"
- plugin_name: "sample2"
plugin_address: "localhost"
verify_interval: 7
execute_interval: 9
plugin_port: 10002
executable_methods:
- method_name: "sampleMethod2" |
better than my sample😎 btw Please, add host_name as well. |
How about |
@Choi-Jinhong |
Sorry. I misunderstand. Could I change it as below? vatz_protocol_info:
protocol_identifier: "VATZ"
port: 9090
notification_info:
host_name: "Your machine name"
dispatch_channels:
- channel_type: "discord"
secret: "Your secert"
- channel_type: "pagerduty"
secret: "Your secret"
health_checker_schedule:
- "0 1 * * *"
plugins_infos:
default_verify_interval: 15
default_execute_interval: 30
default_plugin_name: "vatz-plugin"
plugins:
- plugin_name: "sample1"
plugin_address: "localhost"
plugin_port: 9091
executable_methods:
- method_name: "sampleMethod1"
- plugin_name: "sample2"
plugin_address: "localhost"
verify_interval: 7
execute_interval: 9
plugin_port: 10002
executable_methods:
- method_name: "sampleMethod2" |
I prefer |
Then I think we can just proceed with channel :D |
TODOs
@xellos00 Could I ask you questions?
|
I am going to resolve issue for PR #235, It would contain sample code for telegram, You can start from that point. |
@xellos00 If |
@Choi-Jinhong |
I think I got confused with the way that send messages. |
@Choi-Jinhong |
@gnongs |
@xellos00 |
I think you need to have following TODOs
|
Checklist
Is your feature request related to a problem? Please describe.
I'm always frustrated we didn't deal with our notification through channels
Describe the solution you'd like| Ex
Let's set up a notification channels as below
Describe alternatives you've considered
Additional context or comment
The text was updated successfully, but these errors were encountered: