schedule downtime issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: schedule downtime issue

Post by ssax »

Looks proper to me, I'll send you a PM with a file to try, then let us know the results.
sitaonair
Posts: 55
Joined: Wed Jan 06, 2016 3:36 am

Re: schedule downtime issue

Post by sitaonair »

Hi,
I've installed the file you gave me on PM.

Here is the apache error log.

Code: Select all

[Tue Mar 29 10:09:00 2016] [error] [client 10.121.11.246] PHP Fatal error:  Call to undefined function get_nagioscore_config_option() in /usr/local/nagiosxi/html/includes/components/nagioscore/coreuiproxy.inc.php on line 44, referer: http://onair-tel-ops-nagxi-01/nagiosxi/includes/components/xicore/downtime.php
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: schedule downtime issue

Post by ssax »

Sorry, I've PM'ed you another file, please test it out and see if it fixes the problem for you.
sitaonair
Posts: 55
Joined: Wed Jan 06, 2016 3:36 am

Re: schedule downtime issue

Post by sitaonair »

Hi,

Looks like there's still an issue with the dates. You can find the result in the attached zip file.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: schedule downtime issue

Post by ssax »

In Firefox, go to Home > Scheduled Downtime
- Type in your comment
- Select your Start Time and End Time
- Now hit the F12 key to open up the inspector
- Click the Network tab in the inspector
- Now click the Schedule button and you should see a bunch of queries populate the inspector panel
- The one we care about is the POST downtime.php?cmd=submit one, if you don't see it click the ALL tab at the bottom left of the inspector
- Click on the POST downtime.php?cmd=submit one and it will open up a panel on the right
- Click the Params tab on the right and scroll down and send me a screenshot of all the data in that box (you may have to scroll).


Thank you
sitaonair
Posts: 55
Joined: Wed Jan 06, 2016 3:36 am

Re: schedule downtime issue

Post by sitaonair »

Hi,

Here is the capture of parameters
parameters.PNG
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: schedule downtime issue

Post by ssax »

Those are identical to mine, I'm unsure of why that would fail.

Nagios XI 5.2.6 has been released with scheduled downtime fixes, please upgrade and test it again and report back whether the issue has been resolved.

Thank you
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: schedule downtime issue

Post by tmcdonald »

For reference, an upgrade fixed the other guy's issue: https://support.nagios.com/forum/viewto ... =6&t=37582
Former Nagios employee
sitaonair
Posts: 55
Joined: Wed Jan 06, 2016 3:36 am

Re: schedule downtime issue

Post by sitaonair »

Hi,

We finally installed the 5.2.9 release and it fixed the problem. You can close the issue.
Thanks again, and sorry for the delay.

Thomas
Locked