-
Notifications
You must be signed in to change notification settings - Fork 24
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
Custom notifier messages #239
Comments
From my understanding of the codebase; making sms.go etc configurable based on a template wouldn't be too hard. The difficulty would be in exposing that configuration to the user while maintaining a simple deployment (as it's all compiled and shipped as a container.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great to customize SMS, Email and HipChat notifications with custom templates. Looking particularly at SMS alerts, there are clear variables (Service name, namespace, cluster, state) around which you could build custom messages.
Current: Service [myservice] for [demo@cluster] is in "CRITICAL" state
With a template stored in the cluster named
SMS_TEMPLATE
or something:Searchlight monitoring has triggered: Your Service %service_name% in namespace %ns% on cluster %cluster% is in %state% state
resulting in:
Searchlight monitoring has triggered: Your Service "myservice" in namespace "demo" on cluster "cluster" is in CRITICAL state
Similarly, a HTML template could be used for emails
The text was updated successfully, but these errors were encountered: