Page 1 of 1

Consultation: automatic performance graph report generation

Posted: Thu May 02, 2019 10:13 am
by vipial1
Hi,

is there any way to automatically create a report with performance graph for all services of a given hosts periodically (every month)?

Regards.

Re: Consultation: automatic performance graph report generat

Posted: Thu May 02, 2019 12:40 pm
by npolovenko
Hello, @vipial1, You could add all service graphs to a dashboard and then schedule the dashboard as a monthly report. Please see the screenshots below.
Untitled.png
Untitled2.png

Re: Consultation: automatic performance graph report generat

Posted: Wed May 15, 2019 5:17 am
by vipial1
Hi,

thanks for your answer, it is really useful.

I have tested your solution (create a dashboard and then send it by email) and the problem that I have now is that the pdf attached by nagios is empty (just contain an error):
PDF_error.PNG
here the config:
Schedule.PNG

Re: Consultation: automatic performance graph report generat

Posted: Wed May 15, 2019 2:47 pm
by npolovenko
@vipial1, Please generate another pdf report and upload it in this thread. Also, run the following command from the command line while you're trying to generate a report:
tail -f /var/log/httpd/*error*
And while this command is running, it should show some errors in the console. Please copy - paste them here.

Re: Consultation: automatic performance graph report generat

Posted: Fri Jun 28, 2019 10:27 am
by vipial1
Hi,

here the error:
==> /var/log/httpd/error_log <==
Loading pages (1/6)
Error: Authentication Required
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Exit with code 1 due to network error: AuthenticationRequiredError
And the "resulting report":
Monthtly report.pdf

Re: Consultation: automatic performance graph report generat

Posted: Fri Jun 28, 2019 10:55 am
by cdienger
What version of X(cat /usr/local/nagiosxi/var/xiversion)I is this, what version of Apache(/usr/sbin/httpd -v), and what OS(cat /etc/redhat-release) is it installed on?

I believe I've seen this before and it was due to httpd configuration. Please PM me a copy of the /etc/httpd/conf/ and /etc/httpd/conf.d/ directories.

Re: Consultation: automatic performance graph report generat

Posted: Fri Aug 09, 2019 3:37 pm
by cdienger
The configs provided appear to be good. Can you open a ticket for this and attach a profile to it? Profiles can be generated under Admin > System Config > System Profile > Download Profile. Open the ticket at https://support.nagios.com/tickets