Default name of PDF export

Hi all,

Would it be possible to change the default name of an (PDF) export of a service?
The filename of each PDF-export is “report.pdf”. This is terrible.
I woul like this:

hostname_servicename_datetime.*

Regards
Stephan

Hi @StephanBuerger

Right here :

Hi @ricardoftribeiro
thank you.

Do you know how I can use variables/macros for the filename?

Best Regards,
Stephan

Not sure if that works there, but you can try something like:
$HOSTNAME$_$SERVICEDESC$_$SHORTDATETIME$.pdf

But time part uses : seperator, so no no for file name.
Service description might have illegal filename characters too.

EDIT:
I got the variables from notifications
When you edit a notification rule, you can add a list of all variables.
image

But the variables can not always / everywhere be used. I’m clueless where or where not.

Really don’t know if that works - I don’t think so.

On the reports sent by email you have this for example :

Maybe this could somehow help you.

Hi all,

thank you for your tips.
But it appears that the export can’t work with variables.
Kind Regards
Stephan

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.