scheduled report chart missing 2 days of a 30 day report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nag6200
Posts: 7
Joined: Wed Mar 14, 2018 3:17 pm

scheduled report chart missing 2 days of a 30 day report

Post by nag6200 »

Hello,

We're on Nagios XI 5.8.1 RHEL 7 linux server.

Profile attached.
profile.zip
On the first day of the month we have a scheduled report run at 11am. This report sends a PDF of a dashboard out as an email. The PDF is supposed to show the last 30 days of data on a chart. The dashboard shows the last 30 days properly including a chunk of space we just added:
complete_chart.JPG
When a report of the dashboard is scheduled, the PDF in the email does not have the last 1.5 days or so. Trying to understand how to get the PDF to have the most recent 1.5 days included. Manually sending a one time report also truncates the last 1.5 days. Here's the truncated data:
1625237816-Doug_test_chart_missing_data.pdf
Thanks for your help,
Doug
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: scheduled report chart missing 2 days of a 30 day report

Post by vtrac »

Hi,
How are you doing?
Looks like the report was created on Jun 30, 2021, but the report you ran for this forum ticket was on July 2nd, 2021.
Which is why it is missing the last 2 days (July 1 & 2nd).

I also asked my teammate to take a look and here's what he said as well:
tomgriep 11:29 AM
@Vinh Trac When he ran the report in the screen capture, he probably ran it on July 2nd which shows 30 days back from that date but the report was ran on the 30th which does not show the data from July 1st and 2nd.
That's where the difference is coming from.

Best Regards,
Vinh
nag6200
Posts: 7
Joined: Wed Mar 14, 2018 3:17 pm

Re: scheduled report chart missing 2 days of a 30 day report

Post by nag6200 »

Hi Vinh,

Actually both of those images/reports are from the same time (plus or minus a few minutes). The second one, named 1625237816-Doug_test_chart_missing_data.pdf, does not have a vertical grid line on the right nor does it have a "hamburger" set of three lines on the lower right and the graph is truncated missing several days of data.

I did a bit more testing. Exporting the dashboard directly from the dashboard page using the hamburger in the lower right to "download a PDF document" works fine and nothing is truncated. The issue shows up when using a scheduled report. The issue shows up when a scheduled report is delivered either on the schedule or if the "send now" button is used.

I went back to the dashboard and made the dashboard narrower. This allowed all of the data to make it in the scheduled report thereby
resolving the missing data issue. If I make the dashboard wider approximately a fourth of the data is truncated from the scheduled report. There might be an issue with the "scale to page" functionality of the scheduled report PDF conversion.

My issue was resolved by making the dashboard narrower and please close this at your convenience.

Thanks for your help I appreciate it!
Doug
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: scheduled report chart missing 2 days of a 30 day report

Post by vtrac »

Great!! ..... very good catch by changing the scale which made the dashboard narrower ... :-)

Closing thread!!