Print Report and not data is displayed.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
iusedocker
Posts: 6
Joined: Wed May 16, 2018 1:06 am

Print Report and not data is displayed.

Post 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.
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Print Report and not data is displayed.

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iusedocker
Posts: 6
Joined: Wed May 16, 2018 1:06 am

Re: Print Report and not data is displayed.

Post by iusedocker »

hi support

Details as in the attachment
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Print Report and not data is displayed.

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iusedocker
Posts: 6
Joined: Wed May 16, 2018 1:06 am

Re: Print Report and not data is displayed.

Post by iusedocker »

Hi support

printer Preview complite
report fom pdf no show data

specifically custom Period only
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Print Report and not data is displayed.

Post 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:
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
iusedocker
Posts: 6
Joined: Wed May 16, 2018 1:06 am

Re: Print Report and not data is displayed.

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Print Report and not data is displayed.

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
iusedocker
Posts: 6
Joined: Wed May 16, 2018 1:06 am

Re: Print Report and not data is displayed.

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Print Report and not data is displayed.

Post by scottwilkerson »

Can you run the other command too and show the output?

Code: Select all

ls -dl /usr/local/nagios/var
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked