mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added support for using Transport name in templates (#9411)
This commit is contained in:
@@ -61,7 +61,8 @@ Placeholders are special variables that if used within the template will be repl
|
||||
- Rule: `$alert->rule`
|
||||
- Rule-Name: `$alert->name`
|
||||
- Timestamp: `$alert->timestamp`
|
||||
- Transport name: `$alert->transport`
|
||||
- Transport type: `$alert->transport`
|
||||
- Transport name: `$alert->transport_name`
|
||||
- Contacts, must be iterated in a foreach, `$key` holds email and `$value` holds name: `$alert->contacts`
|
||||
|
||||
Placeholders can be used within the subjects for templates as well although $faults is most likely going to be worthless.
|
||||
|
Reference in New Issue
Block a user