We are having an issue when users try to schedule downtime the page fails to load or hangs their browser. The httpd error_log shows this:
[Thu Jun 02 15:20:48 2016] [error] [client 10.10.10.10] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 246, referer: https://nagiosxi.domain.com/nagiosxi/in ... wntime.php
[Thu Jun 02 15:20:51 2016] [error] [client 10.10.10.10] PHP Notice: Undefined offset: 1000 in /usr/local/nagiosxi/html/includes/components/helpsystem/helpsystem.inc.php on line 252
[Thu Jun 02 15:20:52 2016] [error] [client 10.10.10.10] PHP Notice: Undefined offset: 1000 in /usr/local/nagiosxi/html/includes/components/helpsystem/helpsystem.inc.php on line 252, referer: https://nagiosxi.domain.com/nagiosxi/index.php?
[Thu Jun 02 15:22:31 2016] [error] [client 10.10.10.10] PHP Notice: Undefined offset: 1000 in /usr/local/nagiosxi/html/includes/components/helpsystem/helpsystem.inc.php on line 252
[Thu Jun 02 15:27:55 2016] [error] [client 10.10.10.10] PHP Notice: Undefined offset: 1000 in /usr/local/nagiosxi/html/includes/components/helpsystem/helpsystem.inc.php on line 252, referer: https://nagiosxi.domain.com/nagiosxi/in ... e=overview
[Thu Jun 02 15:30:41 2016] [error] [client 10.10.10.10] PHP Notice: Undefined offset: 1000 in /usr/local/nagiosxi/html/includes/components/helpsystem/helpsystem.inc.php on line 252, referer: https://nagiosxi.domain.com/nagiosxi/
[Thu Jun 02 15:32:59 2016] [error] [client 10.10.10.10] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 245, referer: https://nagiosxi.domain.com/nagiosxi/in ... wntime.php
issue with scheduled downtime
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: issue with scheduled downtime
What version of XI are you using?
Your logs show https://nagiosxi.domain.com/nagiosxi/xxx
Clearly you've replaced the text.
Can you go to Admin > System Config > Manage System Config
What is in your "Program URL" and "External URL" fields?
What is the output of running this command on your XI host:
You may need to run this command first if that last command failed to execute the "host" program.
What is the output of:
Your logs show https://nagiosxi.domain.com/nagiosxi/xxx
Clearly you've replaced the text.
Can you go to Admin > System Config > Manage System Config
What is in your "Program URL" and "External URL" fields?
What is the output of running this command on your XI host:
Code: Select all
host nagiosxi.domain.comCode: Select all
yum install -y bind-utilsCode: Select all
cat /etc/hostsAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: issue with scheduled downtime
i did edit the file as we don't post our private ips or hosts names in public venues. The commands returned the proper host name of the server. The issue is the php errors, these are affecting both accessing items inside the interface as well as perfdata. It does not appear to be an issue with how the host name is setup.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: issue with scheduled downtime
It makes it hard to troubleshoot this any further if we cannot easily get the results from the tests we requested.
I think we should take this into a support ticket so we can get access to the personal information.
Please send an email to [email protected] referencing this forum thread and we'll take it from there. Reply to this thread when you have done this so we can confirm we received the email.
Can you please send us the results of the commands from the previous post.
Can you please send us your system profile with the email:
Click the Admin menu
System Config > System Profile
Click the Download Profile button and send us that file
I think we should take this into a support ticket so we can get access to the personal information.
Please send an email to [email protected] referencing this forum thread and we'll take it from there. Reply to this thread when you have done this so we can confirm we received the email.
Can you please send us the results of the commands from the previous post.
Can you please send us your system profile with the email:
Click the Admin menu
System Config > System Profile
Click the Download Profile button and send us that file
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.