Command line reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
PlumpyChunq
Posts: 7
Joined: Tue Sep 05, 2017 3:00 pm

Command line reporting

Post by PlumpyChunq »

Hello,
How do you run a "Notifications Report" via command line.
I'm assuming it starts with:
wget -v --user='USER' --password='PASSWORD' --no-check-certificate -O `date +"%Y%m%d_%H%M%S"`_report_name.csv "https://iadm01nxi01.apxmgt.net/nagios/cgi-bin/avail.cgi?....

Is there a doc somewhere that shows you how to run all the different reports via command line?
We unfortunately have XI servers all over the place and we need an easy way to run and collect all the reports and going through the GUI is pretty much a nightmare.
Thanks
--Jason
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Command line reporting

Post by npolovenko »

Hello, @PlumpyChunq. We don't have the list of commands to generate reports from the command line. Seems like this article walks through the steps:
http://www.mylinuxtips.info/linuxtipstu ... mand-line/
Otherwise, I'd use a chrome developers console to intercept commands that are being sent during the report generation and try to run them in the command line with wget.

Have you thought about scheduling important reports and have XI servers send them automatically to an email address? You could dedicate an email address specifically for all XI reports?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
PlumpyChunq
Posts: 7
Joined: Tue Sep 05, 2017 3:00 pm

Re: Command line reporting

Post by PlumpyChunq »

Thanks. I'll take a look at that link.
The problem is that we have many XI servers so going to each one to make a minor change is a real pain in the bum.
I wish you could completely manage all of the XI server from the "Nagios Fusion" product.
Thanks again!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Command line reporting

Post by npolovenko »

@PlumpyChunq, You're welcome. We actually allready have "Centralized reporting" on the Dev roadmap. You can take a look here for the updates.
https://www.nagios.com/roadmaps/
I will be closing this thread as resolved, but feel free to open a new one if anything comes up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked