issue with scheduled downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

issue with scheduled downtime

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: issue with scheduled downtime

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

Re: issue with scheduled downtime

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: issue with scheduled downtime

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked