mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Email Transport: embed graphs by default (#14270)
* Email embed graphs * Allow attachment for non-html Add setting to webui Correct $auth setting * Cleanups, throw RrdGraphException instead of returning an error image. Generate the error image later, giving more control. Reduce code duplication a little * Style and lint fixes Change to flags * Add baseline for lint errors I don't know how to resolve * oopsie, changed the code after generating the baseline * Tiny cleanups. Make set DeviceCache primary, it is free. * Docs. * email_html note * Allow control of graph embed at the email transport level to override the global config. * Allow control of graph embed at the email transport level to override the global config. * Add INLINE_BASE64 to make it easier to create inline image tags
This commit is contained in:
@@ -381,8 +381,18 @@ LibreNMS database.
|
||||
|
||||
## Mail
|
||||
|
||||
The E-Mail transports uses the same email-configuration like the rest of LibreNMS.
|
||||
As a small reminder, here is it's configuration directives including defaults:
|
||||
The E-Mail transports uses the same email-configuration as the rest of LibreNMS.
|
||||
As a small reminder, here is its configuration directives including defaults:
|
||||
|
||||
Emails will attach all graphs included with the @signedGraphTag directive.
|
||||
If the email format is set to html, they will be embedded.
|
||||
To disable attaching images, set email_attach_graphs to false.
|
||||
|
||||
!!! setting "alerting/email"
|
||||
```bash
|
||||
lnms config:set email_html true
|
||||
lnms config:set email_attach_graphs false
|
||||
```
|
||||
|
||||
**Example:**
|
||||
|
||||
|
Reference in New Issue
Block a user