AlertManger tacitly supported from v0.12 enterprise micro-channel to send the alarm information, specific steps can be found in alertmanger-with-wechat.
Recently many of my friends in the group to ask: "How to customize the micro-channel alarm messages?", The following took off in terms of concrete steps.
- Add custom templates
to add a wechat.tmpl file alertmanager directory, add the warning information on demand.
a: if the packet a plurality of alarm information, can be output through the circulation mode:
The effect is as:
B: if the packet only want to display a message, you can use public information:
the effect is as:
- Modify the configuration file
open alertmanger.yml file, add a custom template configuration:
templates:
- 'wechat.tmpl'
save configuration can be reloaded.
Jenkins and K8s actual share
Time: July 4 21: 00-22: 00
Outline
a, Jenkins management
1, Jenkins install
2, plug-in management
3, user rights management
4, mail notification
5, DNS + Nginx proxy
6, WebHook configuration
7, Jenkins API
Two, Jenkins Pipeline Pipeline
features, syntax, flow control
Three, CICD + K8S Best Practices
Guests: pig
visual China operation and maintenance engineers, operation and maintenance of Linux six years of work experience, has extensive service system construction, maintenance, operation and maintenance of automation of combat experience, good CICD and container management, like research and technology sharing.
Involved: Adding assistant micro-channel 17,812,796,384 acquisition share links