Scheduled Reports blank pdf

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mikemontreal
Posts: 17
Joined: Mon Oct 29, 2012 8:54 am

Scheduled Reports blank pdf

Post by mikemontreal »

I setup a scheduled report to send me a dashboard with 4 graphs weekly, but every time the pdf turns out to be blank. I tried running two types of graphs, one with graph Explorer graphs and reg perf graphs and go the same result (blank pdf). When I run the sched report and tail the httpd logs i get this.

Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
[Fri Feb 01 13:35:11 2013] [error] [client x.x.x.x] PHP Notice: Undefined variable: cmd in /usr/local/nagiosxi/html/includes/components/scheduledreporting/schedulereport.php on line 202, referer: http://x.x.x.x/nagiosxi/includes/components/scheduledreporting/schedulereport.php

btw I only get a 1 page blank pdf (above it says 6/6)
Note:
Nagios 2012R1.4
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled Reports blank pdf

Post by lmiltchev »

If you still keep the nagios xi install directory, run the following commands:

Code: Select all

cd /tmp/nagiosxi/subcomponents/wkhtml/
./install
If you don't keep it, you can download the latest tarball, untar it, and run the above listed commands.

Let me know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mikemontreal
Posts: 17
Joined: Mon Oct 29, 2012 8:54 am

Re: Scheduled Reports blank pdf

Post by mikemontreal »

Well I did what you suggested.My reports are still blank :(

httpd log tail update

Code: Select all

Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
[Fri Feb 01 10:34:51 2013] [error] [client x.x.x.x] PHP Notice:  Undefined variable: cmd in /usr/local/nagiosxi/html/includes/components/scheduledreporting/schedulereport.php on line 202, referer: http://x.x.x.x/nagiosxi/includes/components/scheduledreporting/schedulereport.php?send=1&id=2uhatc&nsp=419d5df881d7f4a90cae0c5d521b15ac
Still only getting 1 page pdf attached

rebooted server too btw to make sure all services had a restart
mikemontreal
Posts: 17
Joined: Mon Oct 29, 2012 8:54 am

Re: Scheduled Reports blank pdf

Post by mikemontreal »

BTW
What version of Nagios XI are you using? 2012R1.4
Linux Distribution and version? 32 or 64bit? 32
VMware Image or Manual Install of XI? VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? nope
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Scheduled Reports blank pdf

Post by scottwilkerson »

I have looked into this and I can confirm that there is a problem building graph explorer graphs, however I was able to create with a standard graph just fine.

Can you post a screenshot of the dashboard?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mikemontreal
Posts: 17
Joined: Mon Oct 29, 2012 8:54 am

Re: Scheduled Reports blank pdf

Post by mikemontreal »

You are right, graph Explorer don't work but the standard graphs work fine now.
Is there a way to be notified or track the graph Explorer to report bug/issue?

Cheers
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Scheduled Reports blank pdf

Post by mguthrie »

graph explorer graphs won't work with the "schedule page" feature of XI. The graph explorer graphs are vectors that are drawn client-side, so unfortunately they can't be pulled into a scheduled report. As mentioned, the RRD generated graphs can, so you'll need to use those if you're sending a dashboard as a report.