Page 1 of 2

Print Report and not data is displayed.

Posted: Tue Sep 03, 2019 9:40 pm
by iusedocker
Hi support

im print report Availability nodata is display
will be only those that retieve historical data

if pullling the report bust with the current, there will be information displayed.

Re: Print Report and not data is displayed.

Posted: Wed Sep 04, 2019 10:12 am
by benjaminsmith
Hi @iusedocker,

Just to clarify the issue, is the following correct?

a. Availability Report is working for historical data.
b. Availability Report is not working for current data.

1. Please run the following commands and upload the file to check the permissions on your log files.

Code: Select all

ls -alh /usr/local/nagios/var/ > /tmp/support.txt
ls -alh /usr/local/nagios/var/archives/ >> /tmp/support.txt
2. Run the following tail command and then try run the availability report that's not working and post the full output to the thread.

Code: Select all

tail -f /var/log/httpd/*error_log
3. Please send us a fresh system profile.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message and then reply to this post to bring it up in the queue.

Re: Print Report and not data is displayed.

Posted: Wed Sep 04, 2019 10:10 pm
by iusedocker
hi support

Details as in the attachment

Re: Print Report and not data is displayed.

Posted: Thu Sep 05, 2019 1:25 pm
by benjaminsmith
Hello @iusedocker,

There are two ways to run the Availability Report in Nagios XI. I'd like to confirm if the legacy reports are affected as well.

From the reports page, go to Legacy Reports > Availability and run this report for both current and historical data. Are you getting data population for both reports? If not, please let me know and post a screenshot of the reports.

Thanks.

Re: Print Report and not data is displayed.

Posted: Mon Sep 09, 2019 11:22 pm
by iusedocker
Hi support

printer Preview complite
report fom pdf no show data

specifically custom Period only

Re: Print Report and not data is displayed.

Posted: Tue Sep 10, 2019 6:44 am
by scottwilkerson
On the report where the graph doesn't work what is displayed above the graph in the timeperiods next to the line
Report covers from:

Re: Print Report and not data is displayed.

Posted: Wed Sep 11, 2019 2:40 am
by iusedocker
hi support

report Preview works normally, but if savd as a pdf it will not works.

==> /var/log/httpd/error_log <==
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done

==> /var/log/httpd/ssl_error_log <==
[Sun Sep 08 03:41:01.519735 2019] [ssl:warn] [pid 1514] AH01909: RSA certificate configured for fe80::b73b:d3e1:3659:f5b2:443 does NOT include an ID which matches the server name
[Tue Sep 10 11:09:01.319362 2019] [:error] [pid 29391] [client ::1:45982] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1
[Tue Sep 10 11:09:01.359729 2019] [:error] [pid 29843] [client ::1:45980] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1
[Tue Sep 10 11:09:01.399281 2019] [:error] [pid 29708] [client ::1:45978] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1
[Tue Sep 10 11:09:01.478288 2019] [:error] [pid 6453] [client ::1:45972] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1
[Tue Sep 10 11:09:01.505984 2019] [:error] [pid 22830] [client ::1:45976] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1
[Tue Sep 10 11:09:01.530298 2019] [:error] [pid 29391] [client ::1:45982] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1
[Tue Sep 10 11:09:01.551318 2019] [:error] [pid 23701] [client ::1:45974] PHP Warning: file_put_contents(/usr/local/nagios/var/graphapi.log): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 55, referer: https://localhost/nagiosxi/reports/avai ... r_compat=1

Re: Print Report and not data is displayed.

Posted: Wed Sep 11, 2019 6:27 am
by scottwilkerson
scottwilkerson wrote:On the report where the graph doesn't work what is displayed above the graph in the timeperiods next to the line
Report covers from:
Also, can you show the output of the following?

Code: Select all

ls -al /usr/local/nagios/var/graphapi.log
ls -dl /usr/local/nagios/var

Re: Print Report and not data is displayed.

Posted: Wed Sep 25, 2019 4:48 am
by iusedocker
hi support

run
ls -al /usr/local/nagios/var/graphapi.log
ls -dl /usr/local/nagios/var


not works

[root@mon var]# ls -al /usr/local/nagios/var/graphapi.log
ls: cannot access /usr/local/nagios/var/graphapi.log: No such file or directory

Re: Print Report and not data is displayed.

Posted: Wed Sep 25, 2019 6:56 am
by scottwilkerson
Can you run the other command too and show the output?

Code: Select all

ls -dl /usr/local/nagios/var