Consultation: automatic performance graph report generation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vipial1
Posts: 7
Joined: Thu Apr 18, 2019 2:43 am

Consultation: automatic performance graph report generation

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Consultation: automatic performance graph report generat

Post 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
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vipial1
Posts: 7
Joined: Thu Apr 18, 2019 2:43 am

Re: Consultation: automatic performance graph report generat

Post 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
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Consultation: automatic performance graph report generat

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vipial1
Posts: 7
Joined: Thu Apr 18, 2019 2:43 am

Re: Consultation: automatic performance graph report generat

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Consultation: automatic performance graph report generat

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Consultation: automatic performance graph report generat

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