Page 1 of 1

Executive Summary Report PDF blank

Posted: Mon Feb 18, 2013 10:20 am
by siriideepak
Hi,

I am having an issue regarding executive summary PDF. When i used to click executive summary under available reports it shows the report on the screen but when i used to click the PDF icon the report appears to be blank and i also updated the nagios xi to latest version Nagios XI 2012R1.6. Kindly update on this.Thanks!!

Regards,
Deepak.P

Re: Executive Summary Report PDF blank

Posted: Mon Feb 18, 2013 10:31 am
by slansing
If you still have your original Nagios XI install directory run the following:

Code: Select all

cd /tmp/nagiosxi/subcomponents/wkhtml/
./install
If not, you can download the latest version and extract it from the /tmp directory and still run the command. Let us know if this helps!

Re: Executive Summary Report PDF blank

Posted: Mon Feb 18, 2013 10:03 pm
by siriideepak
Hi,

As you said i run the following command it returns the error kindly advice on this.

[root@monitoring nagiosxi]# cd /tmp/nagiosxi/subcomponents/wkhtml/
[root@monitoring wkhtml]# ll
total 4
-rwxr-xr-x 1 root root 979 Feb 6 21:01 install
[root@monitoring wkhtml]# ./install
Traceback (most recent call last):
File "./install", line 17, in ?
installpath = os.environ['INSTALL_PATH']
File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 'INSTALL_PATH'
[root@monitoring wkhtml]#

Regards,
Deepak.P

Re: Executive Summary Report PDF blank

Posted: Tue Feb 19, 2013 10:35 am
by lmiltchev
Open the install file in a text editor:

Code: Select all

vi /tmp/nagiosxi/subcomponents/wkhtml/install
and change line 17 from this:

Code: Select all

installpath = os.environ['INSTALL_PATH']
to this:

Code: Select all

installpath = '/tmp/nagiosxi'
Save the file and try to run the install again:

Code: Select all

cd /tmp/nagiosxi/subcomponents/wkhtml/
./install

Re: Executive Summary Report PDF blank

Posted: Tue Feb 19, 2013 10:52 pm
by siriideepak
Hi,

Thanks for the prompt reply now its working fine. Kudos to you.

Regards,
Deepak.P