Opened 10 months ago
#1243 new enhancement
Links in LimitsOld.pm default emails
| Reported by: | Ryan_Moore | Owned by: | nobody |
|---|---|---|---|
| Priority: | lowest | Milestone: | Munin 2.0.0 |
| Component: | master | Version: | 2.0.1 |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
I added the following to the "default" section of LimitsOld?.pm to generate links directly to the sections that are alerting. It would be helpful to have this as part of the upstream, but I'm not sure what extra info might be required to make this possible.
I know at a minimum we have the server URL hard-coded, I didn't see any munin.conf configs that would let us specify "URL prefix" or even "hostname" versus host address / bind ip / etc.
Also, some things like graph_category seem to be inconsistent, coming out as "CATEGORY" in the email but as "category" for the actual HREF links.
\n\
https://munin.example.com/${var:group}/${var:host}/index.html#${var:graph_category}\n\
https://munin.example.com/${var:group}/${var:host}/${var:plugin}.html\n\
https://munin.example.com/problems.html
Note: See
TracTickets for help on using
tickets.
