Reports not working
Reports not working
No matter where i go on the "Reports" tab nagios just hangs there loading the page, i can then no longer access nagios, however if i open another browser session I am able to continue using nagios (that is, until i click the reports tab again)...
On "Admin" > "XI System Component Status" they are all green including the "Report Engine"...
This is not something that just happened.. been like this for quite some time...
On "Admin" > "XI System Component Status" they are all green including the "Report Engine"...
This is not something that just happened.. been like this for quite some time...
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Reports not working
Do you recall when, or on what version this started to happen? Any changes that were done?
Re: Reports not working
unfortunately can't tell you exactly when it was as it was a low priority issue for as at the time, i'l guessing 2-3 updates ago which we do relatively timely with your releases...
Any ideas how to fix it/start debugging it at all?
Any ideas how to fix it/start debugging it at all?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Re: Reports not working
Do you have the correct URL in the "Program URL" and/or "External URL" textboxes (Admin->Manage System Config)?
Click on the Reports, and when the page "hangs", run the following command in the CLI and show us the output in code wraps:
Click on the Reports, and when the page "hangs", run the following command in the CLI and show us the output in code wraps:
Code: Select all
tail -100 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Reports not working
Only errors i see there are related to my other issue i have here: http://support.nagios.com/forum/viewtop ... =6&t=25796
Code: Select all
[Wed Feb 26 21:07:02 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:02 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:02 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:02 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:23 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:23 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:23 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:23 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:23 2014] [error] [client ::1] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260
[Wed Feb 26 21:07:23 2014] [error] [client ::1]
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Re: Reports not working
Code: Select all
[Wed Feb 26 21:14:31 2014] [error] [client XXXXx] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260, referer: https://XXXXX/nagiosxi/dashboards/dashboard.php?id=7a56neNagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Re: Reports not working
What do you have in the "Program URL" and/or "External URL"? Are you using SSL?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Reports not working
Program URL (where XXX is an IP address): https://XXX.XXX.XXX.XXX/nagiosxi/lmiltchev wrote:What do you have in the "Program URL" and/or "External URL"? Are you using SSL?
External URL: empty
Using SSL: Yes
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Re: Reports not working
Run the following commands, and show us the output (hide sensitive info):
Also, go to the CCM->Config Manager Admin->Config Manager Settings, and make sure you have "https" selected from the "Server protocol" drop-down menu.
Code: Select all
grep -i use_https /usr/local/nagiosxi/html/config.inc.php
grep -i ssl /etc/httpd/conf/httpd.conf
grep -i ssl /etc/httpd/conf.d/nagiosxi.confBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Reports not working
Code: Select all
# grep -i use_https /usr/local/nagiosxi/html/config.inc.php
$cfg['use_https']=true; // determines whether cron jobs and other scripts will force the use of HTTPS instead of HTTPCode: Select all
# grep -i ssl /etc/httpd/conf/httpd.conf
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
Code: Select all
# grep -i ssl /etc/httpd/conf.d/nagiosxi.conf
SSLRequireSSLThe errors are still showing (of course since nothing was changed) such as:
Code: Select all
[Tue Mar 04 13:12:00 2014] [error] [client XXXX] PHP Strict Standards: Only variables should be assigned by reference in /usr/local/nagiosxi/html/includes/db.inc.php on line 260, referer: https://XXXX/nagiosxi/reports/
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk