Page 4 of 5
Re: schedule downtime issue
Posted: Tue Feb 23, 2016 11:19 am
by sitaonair
Hi,
I've ask to my team to schedule the update. Will occur between the 02/29 and 03/04. I'll let you know if the problem is fixed.
Re: schedule downtime issue
Posted: Tue Feb 23, 2016 2:21 pm
by rkennedy
Sounds good, I'll leave this thread open and we will await your response.
Re: schedule downtime issue
Posted: Tue Mar 15, 2016 6:12 am
by sitaonair
Hi,
Update has to be delayed. It was done today.
The schedule downtime is still not working. I'll do the same tests with this version to capture data and send it to you.
Re: schedule downtime issue
Posted: Tue Mar 15, 2016 4:41 pm
by hsmith
Let us know what you come up with. Thanks!
Re: schedule downtime issue
Posted: Wed Mar 16, 2016 5:20 am
by sitaonair
Hi,
Here is the request trace. Still the same issue.
Code: Select all
<html>
<head>
<link rel="shortcut icon" href="http://onair-tel-ops-nagxi-01/nagiosxi/includes/components/nagioscore/ui/images/favicon.ico" type="image/ico">
<title>
External Command Interface
</title>
<script type='text/javascript' src='http://onair-tel-ops-nagxi-01/nagiosxi/includes/components/nagioscore/ui/js/coreui.js?1455902749'></script>
<script type='text/javascript' src='/nagiosxi/includes/js/jquery/jquery-1.11.2.min.js'></script>
<link rel='stylesheet' type='text/css' href='http://onair-tel-ops-nagxi-01/nagiosxi/includes/components/nagioscore/ui/css/common.css' />
<LINK REL='stylesheet' TYPE='text/css' HREF='http://onair-tel-ops-nagxi-01/nagiosxi/includes/components/nagioscore/ui/css/cmd.css'>
</head>
<body CLASS='cmd'>
<!-- Produced by Nagios (https://www.nagios.org). Copyright (c) 1999-2007 Ethan Galstad. -->
<table border=0 width=100%>
<tr>
<td align=left valign=top width=33%>
<TABLE CLASS='infoBox' BORDER=1 CELLSPACING=0 CELLPADDING=0>
<TR><TD CLASS='infoBox'>
<DIV CLASS='infoBoxTitle'>External Command Interface</DIV>
Last Updated: Wed Mar 16 10:18:39 UTC 2016<BR>
Nagios® Core⢠4.1.1 - <A HREF='https://www.nagios.org' TARGET='_new' CLASS='homepageURL'>www.nagios.org</A><BR>
Logged in as <i>tsenay</i><BR>
</TD></TR>
</TABLE>
</td>
<td align=center valign=top width=33%>
</td>
<td align=right valign=bottom width=33%>
</td>
</tr>
</table>
<P><DIV CLASS='errorMessage'>Start or end time not valid</DIV></P>
<P><DIV CLASS='errorDescription'>Go <A HREF='javascript:window.history.go(-1)'>back</A> and verify that you entered all required information correctly.<BR>
<A HREF='javascript:window.history.go(-2)'>Return from whence you came</A></DIV></P>
<!-- Produced by Nagios (https://www.nagios.org). Copyright (c) 1999-2007 Ethan Galstad. -->
</body>
</html>
Re: schedule downtime issue
Posted: Wed Mar 16, 2016 3:49 pm
by jstoddart
We are seeing the same on our Nagios XI 5.2.5, is there any progress on this?
Moderator Note:
I have split this into two topics, one for each user's problem:
@sitonair please continue in this thread as normal
@jstoddart please continue in the new thread here: https://support.nagios.com/forum/viewto ... 04#p176102
This is done to reduce confusion, and eliminate the need to troubleshoot two people in one thread.
Re: schedule downtime issue
Posted: Wed Mar 16, 2016 5:03 pm
by ssax
Ok, now we're getting somewhere: "Start or end time not valid"
sitaonair, when you select the downtime date/time box, what format is it showing in (YYYY-MM-DD HH:MM:SS, etc)?
What is the output of these commands:
Re: schedule downtime issue
Posted: Thu Mar 17, 2016 9:06 am
by sitaonair
here is the result :
Code: Select all
# date
Thu Mar 17 14:01:34 UTC 2016
# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
and about the dates, here are the values submitted by the form:
DEBUG: start_time:2016-03-16 10:18:22, end_time:2016-03-16 12:18:22
Re: schedule downtime issue
Posted: Thu Mar 17, 2016 5:11 pm
by ssax
Please edit the file again and add this additional code after the code you added for the first trace:
Code: Select all
ob_start();
var_dump($args);
$cresult = ob_get_clean();
$cfile = '/tmp/downtime_args.txt';
file_put_contents($cfile, $cresult);
Then schedule downtime again and attach a sanitized copy of your
/tmp/downtime_args.txt.
Thank you
Re: schedule downtime issue
Posted: Sat Mar 19, 2016 6:27 am
by sitaonair
here is the args dump.
Code: Select all
array(9) {
["cmd_typ"]=>
string(2) "56"
["cmd_mod"]=>
string(1) "2"
["host"]=>
string(24) "amss-onair-nxt-portal-03"
["com_data"]=>
string(13) "test downtime"
["trigger"]=>
string(1) "0"
["start_time"]=>
string(19) "2016-03-19 11:25:56"
["end_time"]=>
string(19) "2016-03-19 13:25:56"
["fixed"]=>
string(1) "1"
["service"]=>
string(12) "/ Disk Usage"
}