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
Scheduled Reports blank pdf
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Scheduled Reports blank pdf
If you still keep the nagios xi install directory, run the following commands:
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.
Code: Select all
cd /tmp/nagiosxi/subcomponents/wkhtml/
./install
Let me know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 17
- Joined: Mon Oct 29, 2012 8:54 am
Re: Scheduled Reports blank pdf
Well I did what you suggested.My reports are still blank 
httpd log tail update
Still only getting 1 page pdf attached
rebooted server too btw to make sure all services had a restart

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
rebooted server too btw to make sure all services had a restart
-
- Posts: 17
- Joined: Mon Oct 29, 2012 8:54 am
Re: Scheduled Reports blank pdf
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Scheduled Reports blank pdf
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?
Can you post a screenshot of the dashboard?
-
- Posts: 17
- Joined: Mon Oct 29, 2012 8:54 am
Re: Scheduled Reports blank pdf
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
Is there a way to be notified or track the graph Explorer to report bug/issue?
Cheers
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Scheduled Reports blank pdf
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.