Prtg error creating pdf report


















This is the only way to generate meaningful and relevant SLA reports. Every system failure leads to sales losses and customer complaints. Whether you are monitoring your website, IT infrastructure, services or applications, high availability is essential. In this context, the term "five nines" is often used — the targeted The stored data is then visualized in predefined reports.

In addition, you have the option of creating individual reports with the reporting system of your choice. In this webinar with the help of a live demo , we will show you how to set up and use the plugin. We will then answer your individual questions on the topic. Click here to register. Admin's Toolbox. Good, now we have your attention: Would you like to get our very un-annoying, mostly un-salesy, informative weekly newsletter? These capabilities however will serve you well as your reports grow more complex or you choose to use Jinja for your web apps.

The other nice feature of Jinja is that it includes multiple builtin filters which will allow us to format some of our data in a way that is difficult to do within Pandas. They are essentially placeholders for variables that we will provide when we render the document. In the example above, I am assuming that the template is in the current directory but you could put the full path to a template location. The other key component is the creation of env.

This variable is how we pass content to our template. The final step is to render the HTML with the variables included in the output. This will create a string that we will eventually pass to our PDF creation engine. The PDF creation portion is relatively simple as well. We need to do some imports and pass a string to the PDF generator. The mechanism we have to use to style is CSS.

Every time I start playing with it I feel like I spend more time monkeying with the presentation than I did getting the data summarized. I am open to ideas on how to make this look nicer but in the end, I decided to go the route of using a portion of blueprint CSS to have very simple styling that would work with the rendering engines.

What I like about this css is:. There is still a lot more you can do with it but this shows how to make it at least serviceable for a start.

As an aside, I think it would be pretty cool if someone that knew CSS way better than me developed an open sourced, simple CSS sheet we could use for report generation like this. In order to generate a more useful report, we are going to combine the summary statistics shown above as well as break out the report to include a separate PDF page per manager.

The include allows us to bring in a snippet of HTML and use it repeteadly in different portions of the code. In this case the summary contains some simple national level stats we want to include on each report so that the managers can compare their performance to the national average.

Each of these is a python list that includes the average quantity and price for CPU and Software sales. You may also notice that we use a pipe to round each value to 1 decimal place. There is also a for loop that allows us to display the details for each manager in our report.

Basic for-loops are a mainstay of almost any template so they should make sense to most of you. When you set up or run a report, also keep in mind the remarks for reports. Basic Report Settings. Report Name. Enter a meaningful name for the report. PRTG uses the name in reports lists and as the title of generated reports.

Enter one or more tags. Confirm each tag with the Spacebar key, a comma, or the Enter key. You can use tags to group objects and use tag-filtered views later on. Tags are not case-sensitive. Tags are automatically inherited. For performance reasons, it can take some minutes until you can filter for new tags that you added.

Report Template. Select a template for the report from the dropdown list. The template defines the overall look of your report and in which detail the report shows monitoring data. PRTG includes several preconfigured report templates. You can choose templates from the following categories:.

PRTG automatically averages monitoring data within an interval. Security Context. Define the security context that the report uses for access to monitoring data. Select a user account from the dropdown list to define which objects are visible in the report. The report only contains objects that the selected user has the rights to view. By default, the security context is the user account that creates the report.

Basically, the security context defines the minimum access rights to objects like libraries, reports, or maps, that a user account has. If the security context of an object is PRTG System Administrator , for example, every user sees all objects in a library, in a report, or on a map, no matter what the particular user access rights are. Time Zone. Select a time zone from the dropdown list. PRTG uses this time zone for all date-specific settings in the report.

Page Format. Page Orientation. Define the page orientation for the data in PDF reports:. Included Sensors. Cluster Node. This setting is only visible if you run PRTG in a failover cluster. Select the cluster node from which the report takes monitoring data from the dropdown list. The available options are specific to your configuration.

By default, the master node is set. Select All cluster nodes to create a report that includes data from all of your cluster nodes. A report for all cluster nodes only includes data for the primary channels. Be careful with big reports for all cluster nodes because the report generation might significantly slow down your monitoring.

If you select a failover node, report and data files do not show data from the local probe or from a remote probe and might be empty or show 0 values. You can generate. If you select the option All cluster nodes , the report does not create data files.

Sensors by Tag. Select the sensors that you want to include in the report by tag. The report covers all sensors that have at least one of the tags. You can also leave the field empty.

The report automatically includes all channels of sensors that you add by tag, unless you run a cluster and select All cluster nodes in the Cluster Node setting above.

If you want to manually select the sensors to include in the report, save your settings and go to the Select Sensors Manually tab.

Filter Included Sensors by Tag. Filter the included sensors further. Use this option, for example, if you manually add entire probes, groups, or devices to the report and do not want to include all sensors that have these objects as their parent objects. PRTG then only includes the sensors in the report that have at least one of the tags that you enter here. Report Schedule.

Define the time at which you want to automatically run the report:. Specific Hour. This setting is only visible if you select Every day at a specific hour above. From the list, select the hour at which you want to run the report. Specify Day. This setting is only visible if you select Every specific day of the week above. From the list, select a day of the week or a day of the month for which you want to run the report.

If you select Last , the report always runs on the last day of the month, regardless of how many days the month has. If you select a date that does not exist in every month, for example, 30th , PRTG automatically runs the report on the last day of the month.

Specific Date. This setting is only visible if you select Every specific date above. Enter a valid date in the format DD. The report runs on this date every year. Report Handling. This setting is only visible if you select one of the schedule options above. Define what you want to do with a finished report:. PRTG only generates. To create. Some special characters, for example, 4-byte unicode characters, might not be displayed correctly in PDF reports.

As a workaround, we recommend that you generate an HTML report and save it as a. Target Email Address. This setting is only visible if you select one of the email options above. Enter one or more valid email addresses to which PRTG sends the report. Use commas to separate email addresses. PRTG sends an email to all recipients. All recipients appear in the To field of the email. You can change the configuration for outgoing emails in the Notification Delivery settings. Email to User Group. From the list, select a user group to which you send an email with the report.

All members of this group receive the email. You can edit user groups in the User Groups settings. If you define both individual email addresses and select a user group, PRTG sends the report to the individual email addresses as well as to the members of the selected user group.

File Compression. Define if PRTG compresses the attached report files before it sends them:. Report Period. Report Period Type. Define the type of period for which you want to create the report:. This setting works in combination with the Period setting below. For example, Previous period means yesterday if you select the Day option.

Define the period that the report covers:. Day Period.



0コメント

  • 1000 / 1000