Page 1 of 1

issue with scheduled downtime

Posted: Thu Jun 02, 2016 5:45 pm
by doneil326
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

Re: issue with scheduled downtime

Posted: Thu Jun 02, 2016 6:52 pm
by Box293
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:

Code: Select all

host nagiosxi.domain.com
You may need to run this command first if that last command failed to execute the "host" program.

Code: Select all

yum install -y bind-utils
What is the output of:

Code: Select all

cat /etc/hosts

Re: issue with scheduled downtime

Posted: Thu Jun 02, 2016 7:17 pm
by doneil326
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.

Re: issue with scheduled downtime

Posted: Thu Jun 02, 2016 7:23 pm
by Box293
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