Skip to content
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

Can I assign an alert template to an email and another alert template to sms. #5438

Closed
4 tasks
donovan-esterhuizen opened this issue Jan 14, 2017 · 2 comments
Closed
4 tasks

Comments

@donovan-esterhuizen
Copy link
Contributor

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

Please confirm each of the sections below by putting an x in the box like [x].

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.
  • Unless your issue is for a WebUI fix or feature then please provide ALL info asked for here.
  • Please provide as much detail as possible.

I have a question regarding alerts,

Can I assign an alert template to an email and another alert template to sms.

The reason for this is that I will be using HTML in them email alerts which will not be supported with sms

@laf
Copy link
Member

laf commented Jan 14, 2017

Just as an FYI, I know you asked this on irc but github isn't for help in setting things up, please continue to use IRC or community.librenms.org

You cant' do separate templates but you can use if / else to separate out the response based on which transport was used. This is covered in the docs http://docs.librenms.org/Extensions/Alerting/#templates

@laf laf closed this as completed Jan 14, 2017
@lock
Copy link

lock bot commented May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

@lock lock bot locked as resolved and limited conversation to collaborators May 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants