Nagios XI Report Using Command Line

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Nagios XI Report Using Command Line

Post by sandeepatil »

We are currently monitor more than 1000 Host with Nagios XI single instance, but facing during fetching report server utilization going high or hang state.

Want to know, can we able fetch report using command line.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Nagios XI Report Using Command Line

Post by tacolover101 »

running over the CLI won't help at all as SQL is still single thraded.

what kind of report are you trying to run? how large is it?

with only 1000 hosts, SQL should be performing fine so i tend to think there is some issue with your infrastructure, or you're running a ridiculously large report.
- what type of disks are you running?
- is this physical or virtual? public or private cloud?
- how much resources do you have allocated to the machine?
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Re: Nagios XI Report Using Command Line

Post by sandeepatil »

Every time sever going in hang, during report fetching of last 2 month. (Availability etc.)

Please find requested details :
- what type of disks are you running?
HDD
- is this physical or virtual? public or private cloud?
This virtual server. vmware
- how much resources do you have allocated to the machine?
Memory : 64 GB
CPU : Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz, 4 core.
HDD : 500GB
dwasswa

Re: Nagios XI Report Using Command Line

Post by dwasswa »

Hi @sandeepatil,


What version of Nagios XI are you currently running?

If it's not the latest, I advise that you upgrade to the latest.

Secondly, please run the Availability Report in Nagios XI and then run a Legacy Availability Report which basically runs off Nagios core and let me know if you get the same result.


Follow the steps below on how to run a Legacy Report:


On the Reports Menu, scroll down and click the Legacy Reports link:
Reports_Tab.PNG
Then:
Report_Step1.PNG
Lastly:
Report_Step2.PNG
You do not have the required permissions to view the files attached to this post.
sandeepatil
Posts: 211
Joined: Tue Dec 27, 2016 3:12 am

Re: Nagios XI Report Using Command Line

Post by sandeepatil »

Tried shared steps, but after clicking on Availability Report or any other option in Report section nagios GUI stuck no other click are working.
kyang

Re: Nagios XI Report Using Command Line

Post by kyang »

If the GUI is hanging when you are trying to load the "availability report" could you try increasing PHP variables?

https://support.nagios.com/kb/article/n ... s-611.html

Once they are increased, restart apache.

Code: Select all

service httpd restart
If that didn't work, could you run a report and when it hangs give us the apache error_logs and put the output in code wraps or a text file.

Code: Select all

tail -50 /var/log/httpd/error_log
Locked