centralized reporting

This support forum board is for questions relating to Nagios Fusion.
Locked
kentzeng
Posts: 6
Joined: Fri May 24, 2019 1:05 am

centralized reporting

Post by kentzeng »

Hi,

We have 1 nagios fusion server and 4 nagios XI servers.
Currently we generated availability report from each of the nagios XI servers.

Don't know how to combine these 4 reports from each of nagios XI servers to a delicate availability report in nagios Fusion?

Thanks,
-Kent
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: centralized reporting

Post by benjaminsmith »

Hello Kent,

Currently, you cannot combine reports among separate XI servers. However, there is the option to send the report in another format such as CSV and the combine this data using another application.
avail-reports.png
Let us know if you have further questions.
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.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kentzeng
Posts: 6
Joined: Fri May 24, 2019 1:05 am

Re: centralized reporting

Post by kentzeng »

Hi benjaminsmith,

Thanks for the information.

But it doesn't make sense to create report on each of the nagiosXI servers and combine them manually.
** by the way, how to create a monthly cvs report for a single hostgroup by command? **

Is there any solution in the future release? Or if there is anything that nagios fusion has the capability to generate a centralized report?

Thanks,
-Kent
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: centralized reporting

Post by benjaminsmith »

Hello Kent,

We are planning to add more functionality to the reporting system in Nagios XI 6.

See: Nagios Product Roadmaps

It's possible to generate a report from the command line using the API. First you need to find out how the report is called (what parameters in the URL string) by using the browsers's developer tools. Then you can authenticate using the API and run a curl command on the URL to download the report.

The process is as follows:

Get Auth Token - http://X.X.X.X/nagiosxi/help/auth-token-reference.php

curl -k -L -XPOST 'http://X.X.X.X/nagiosxi/api/v1/authenticate?pretty=1' -d 'username=nagiosadmin&password=mypassword'

Go to the report you want to run under Reports:
- Hit F12 to bring up dev tools
- Click the Network Tab
- Click the Trash icon on top left of dev tools to clear it out (easier to read)
- Click Download and choose whatever type you want (note the type)
- Right-click the request and choose Copy > URL

Use that URL in this:
- Change XXXXXXXXXXX to the token
- Change FILE.type to the filename of the type that is expected

curl -k -L 'FULL_URL_WITH_PARAMS&token=XXXXXXXXXXX' > /tmp/FILE.type
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!
Locked