Hi Support,
I have issues while generating the PDF report through Nagios, i tried reinstalling the wkhtml once i went through the other post in support forum. But still it didnt worked. Below is complete error which i am getting the error_log.
Error: Failed loading page http://192.168.5.180/nagiosxi//reports/ ... cale=en_EN (sometimes it will work just to ignore this error with --load-error-handling ignore)
[Thu Jan 02 13:15:28 2014] [error] [client 192.168.10.48] PHP Notice: Undefined variable: fullbody in /usr/local/nagiosxi/html/reports/availability.php on line 1801, referer: http://10.0.206.29/nagiosxi/reports/ava ... vicegroup=
PHP Notice: Undefined variable: fullbody
Re: PHP Notice: Undefined variable: fullbody
There was a bug with locales in previous versions. Update XI to 2012r2.7 and the issue should be resolved.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: PHP Notice: Undefined variable: fullbody
Thanks for the note... let us try that and get back to you.abrist wrote:There was a bug with locales in previous versions. Update XI to 2012r2.7 and the issue should be resolved.
Re: PHP Notice: Undefined variable: fullbody
np. Let us know if you have further issues.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: PHP Notice: Undefined variable: fullbody
I did a upgrade in out Nagios dev environment. After upgrade still the problem persist, I am attaching the screen shot for your reference.
Error_log after upgrade:
Error: Failed loading page http://192.168.5.180/nagiosxi//reports/ ... cale=en_US (sometimes it will work just to ignore this error with --load-error-handling ignore)
[Thu Jan 02 15:18:19 2014] [error] [client 192.168.10.48] PHP Notice: Undefined variable: fullbody in /usr/local/nagiosxi/html/reports/execsummary.php on line 435, referer: http://10.0.206.29/nagiosxi/reports/exe ... vicegroup=
Error_log after upgrade:
Error: Failed loading page http://192.168.5.180/nagiosxi//reports/ ... cale=en_US (sometimes it will work just to ignore this error with --load-error-handling ignore)
[Thu Jan 02 15:18:19 2014] [error] [client 192.168.10.48] PHP Notice: Undefined variable: fullbody in /usr/local/nagiosxi/html/reports/execsummary.php on line 435, referer: http://10.0.206.29/nagiosxi/reports/exe ... vicegroup=
You do not have the required permissions to view the files attached to this post.
Re: PHP Notice: Undefined variable: fullbody
1) Is that error written to the log on viewing of the report, or on generation of the pdf?
2) Are you attempting a scheduled report, or just trying to save the pdf from the browser?
2) Are you attempting a scheduled report, or just trying to save the pdf from the browser?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: PHP Notice: Undefined variable: fullbody
The error is recorded in error_log file of apache, there is no error seen on nagios console. I am just trying to download the report in pdf format, I am not scheduling any report.
Re: PHP Notice: Undefined variable: fullbody
What do you have in the "Program URL" and "External URL" fields under "System Settings" (Admin->Manage System Config)? Can this URL resolve on the Nagios XI server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PHP Notice: Undefined variable: fullbody
Thanks the problem was the Program URL, this has resolved our issue in Nagios development environment. We will try to implement same for production.