Nagios XI reorts are not coming or very very slow
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI reorts are not coming or very very slow
Thanks for the Update .
Let me setup DEV environment and test the proposed Solution .
Let me come back in few days . Please keep it Open
Let me setup DEV environment and test the proposed Solution .
Let me come back in few days . Please keep it Open
Re: Nagios XI reorts are not coming or very very slow
Will do.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI reorts are not coming or very very slow
We deployed the core as per the process given (below) but it failed
It Failed with make installtgriep wrote:FYI, the following are the instructions to upgrade your system with applications and scripts that have not been rigorously tested.
Make a full backup of the Nagios XI server beforehand so you can go back if needed.
First you need to upgrade Nagios core to an development version with the speed enhancements. Run the following as root.
Next, you need to upgrade some PHP scripts for Nagios XI.Code: Select all
cd /tmp https://github.com/NagiosEnterprises/nagioscore/archive/cgi-avail-filtering.zip unzip cgi-avail-filtering.zip cd nagioscore-cgi-avail-filtering ./configure --with-command-group=nagcmd make nagios cgis make install
The 3 php scripts are attached to this post in a zip file.
Extract the PHP files and over write the copies on the Nagios XI server in the following locations.
Run the following as root to restart the processes.Code: Select all
/usr/local/nagiosxi/html/reports/sla.php /usr/local/nagiosxi/html/reports/availability.php /usr/local/nagiosxi/html/includes/utils-reports.inc.phpWait a few minutes for the processes to run and then run the reports and see if it helps.Code: Select all
service nagios restart service httpd restart
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done
for file in includes/*.*; \
do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done
/usr/bin/install -c -m 664 -o nagios -g nagios angularjs/angular-1.3.9/angular.min.js /usr/local/nagios/share/angularjs/angular-1.3.9
/usr/bin/install: cannot stat ‘angularjs/angular-1.3.9/angular.min.js’: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/nagioscore-cgi-avail-filtering/html'
make: *** [install] Error 2
Re: Nagios XI reorts are not coming or very very slow
Can you provide all of the output when you ran the make install so we can see the full log data?
If you go to the html/angular folder do you see the angular-1.3.9.zip file?
During the install, the zip file should be extracted and then the install should install it and if the zip file did not get extracted, it would generate that message.
If you go to the html/angular folder do you see the angular-1.3.9.zip file?
During the install, the zip file should be extracted and then the install should install it and if the zip file did not get extracted, it would generate that message.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI reorts are not coming or very very slow
Hi
I was able to solve the issue via unzipping the file . You need to inform the developers that packaging is broken at many places .
Let me check now whether the reports slowness issue is sorted out and come back .
Thanks
I was able to solve the issue via unzipping the file . You need to inform the developers that packaging is broken at many places .
Let me check now whether the reports slowness issue is sorted out and come back .
Thanks
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI reorts are not coming or very very slow
we deployed the suggested patch , But there is no improvement in fetching reports
Can you please suggest the way ahead .
Can you please suggest the way ahead .
Re: Nagios XI reorts are not coming or very very slow
Running reports are very I/O intensive. To get the reports to run faster, see about moving the server to a faster disk drive subsystem.
The profile I looked at shows the server is running LifeKeeper. See if there is any performance enhancements that can be done to it.
Try increasing the PHP limits to a higher value.
to
Save the change and restart Apache
The profile I looked at shows the server is running LifeKeeper. See if there is any performance enhancements that can be done to it.
Try increasing the PHP limits to a higher value.
Code: Select all
Edit the /etc/php.ini file and change the following from
max_execution_time = 120
max_input_time = 120
max_input_vars = 10000
memory_limit = 1024M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICTCode: Select all
max_execution_time = 1200
max_input_time = 1200
max_input_vars = 100000
memory_limit = 2048M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICECode: Select all
systemctl restart httpdBe sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI reorts are not coming or very very slow
I/O Should not be issue we have SSD on AWS Platform
Done the changes but not able to get 24 hour report for all host .
Please see what can be be done . It has become a major issue now .
Please support
Done the changes but not able to get 24 hour report for all host .
Please see what can be be done . It has become a major issue now .
Please support
Re: Nagios XI reorts are not coming or very very slow
So far, you have gotten all of the patches and fixes that help out the performance of the report. We need to dig further.
Open a root shell on the server and run the top command.
Go to the Reports menu and look at which application is using the highest utilization and note the percent wait time.
Let it run for a bit, and note the Wait again and post it here.
Go to page 7 of this document and disable the reports from auto running on load.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Open a root shell on the server and run the top command.
Go to the Reports menu and look at which application is using the highest utilization and note the percent wait time.
Let it run for a bit, and note the Wait again and post it here.
Go to page 7 of this document and disable the reports from auto running on load.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI reorts are not coming or very very slow
After Running a 24 Hours Availability report for all host the Top Output is
Auto display of Report is disabled .
Please let us know how to proceed further .
Thanks
Please let us know how to proceed further .
Thanks
You do not have the required permissions to view the files attached to this post.