Remove average availability from Thruk Reporting

20 views
Skip to first unread message

Bruno Algarvio

unread,
Oct 23, 2023, 10:05:31 AM10/23/23
to Thruk
Hi,

Is it possible to remove the Average Availability from the Thruk Reports? If so, how can I do it?


Thanks in advance!


Best Regards,
Bruno
AverageAvailability.png

Sven Nierlein

unread,
Oct 23, 2023, 10:20:25 AM10/23/23
to th...@googlegroups.com, Bruno Algarvio
Hi,

this is possible but not so easy. Basically you can override every Thruk Template in your custom templates folder. So you just
need to find the template file containing that pattern, remove it and save it into the custom folder (with the same sub folder path).
Downside is, you need to manually check for upstream changes on each update then.

You are probably looking for:
reports2/templates/reports/comp/sla_total_table.tt

So create
etc/thruk/templates/reports/comp/sla_total_table.tt
and adjust it to your needs. Be aware this affects all reports.

Cheers,
Sven
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/846d560a-7f79-44ff-9d20-a3030ab591cfn%40googlegroups.com <https://groups.google.com/d/msgid/thruk/846d560a-7f79-44ff-9d20-a3030ab591cfn%40googlegroups.com?utm_medium=email&utm_source=footer>.

OpenPGP_signature.asc

Bruno Algarvio

unread,
Nov 2, 2023, 4:34:04 AM11/2/23
to Thruk
Hi Sven,

Thanks for the feedback. Indeed it was not easy, ended up going on other direction

If possible for you, I have one more question about the reports... Is it possible to change the Report email subject to match the report name that I set? At the moment the email subject is "Thruk Report", could we change this to match the Report name for example? and if so, I can set up this?

Thanks in advance.

Best,
Bruno

Sven Nierlein

unread,
Nov 2, 2023, 12:40:13 PM11/2/23
to th...@googlegroups.com, Bruno Algarvio
That's how it should be. This was an issue and will be fixed in the upcoming release.

Regards,
Sven

On 02.11.23 09:34, Bruno Algarvio wrote:
> Hi Sven,
>
> Thanks for the feedback. Indeed it was not easy, ended up going on other direction
>
> If possible for you, I have one more question about the reports... Is it possible to change the Report email subject to match the report name that I set? At the moment the email subject is "Thruk Report", could we change this to match the Report name for example? and if so, I can set up this?
>
> Thanks in advance.
>
> Best,
> Bruno
>
> A segunda-feira, 23 de outubro de 2023 à(s) 15:20:25 UTC+1, Sven Nierlein escreveu:
>
> Hi,
>
> this is possible but not so easy. Basically you can override every Thruk Template in your custom templates folder. So you just
> need to find the template file containing that pattern, remove it and save it into the custom folder (with the same sub folder path).
> Downside is, you need to manually check for upstream changes on each update then.
>
> You are probably looking for:
> reports2/templates/reports/comp/sla_total_table.tt <http://sla_total_table.tt>
>
> So create
> etc/thruk/templates/reports/comp/sla_total_table.tt <http://sla_total_table.tt>
> and adjust it to your needs. Be aware this affects all reports.
>
> Cheers,
> Sven
>
>
>
> On 10/23/23 16:05, Bruno Algarvio wrote:
> > Hi,
> >
> > Is it possible to remove the Average Availability from the Thruk Reports? If so, how can I do it?
> >
> >
> > Thanks in advance!
> >
> >
> > Best Regards,
> > Bruno
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Thruk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/846d560a-7f79-44ff-9d20-a3030ab591cfn%40googlegroups.com <https://groups.google.com/d/msgid/thruk/846d560a-7f79-44ff-9d20-a3030ab591cfn%40googlegroups.com> <https://groups.google.com/d/msgid/thruk/846d560a-7f79-44ff-9d20-a3030ab591cfn%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/thruk/846d560a-7f79-44ff-9d20-a3030ab591cfn%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/thruk/62805436-d398-40b5-9a3b-8381fcb3ee13n%40googlegroups.com <https://groups.google.com/d/msgid/thruk/62805436-d398-40b5-9a3b-8381fcb3ee13n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages