schedule downtime issue - jstoddart
schedule downtime issue - jstoddart
We are seeing the same on our Nagios XI 5.2.5, is there any progress on this?
Moderator Note: This topic was split from: https://support.nagios.com/forum/viewto ... 30#p175941
Moderator Note: This topic was split from: https://support.nagios.com/forum/viewto ... 30#p175941
Re: schedule downtime issue - jstoddart
Ok, now we're getting somewhere: "Start or end time not valid"
jstoddart, can you replicate that same trace and see if you are seeing the same thing?
What is the output of these commands:
jstoddart, can you replicate that same trace and see if you are seeing the same thing?
What is the output of these commands:
Code: Select all
date
localeRe: schedule downtime issue - jstoddart
Tried the trace and just get "Start time or end time Invalid" when I try now and no trace file, have reverted the changes and still the same
Re: schedule downtime issue - jstoddart
Can you please run the date and locale commands and post their output?
Former Nagios employee
Re: schedule downtime issue - jstoddart
CentOS release 6.3 (Final)
[NagiosX1:main.linux64 ~]# date
Fri Mar 18 07:39:15 GMT 2016
[NagiosX1:main.linux64 ~]# 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=
[NagiosX1:main.linux64 ~]#
[NagiosX1:main.linux64 ~]# date
Fri Mar 18 07:39:15 GMT 2016
[NagiosX1:main.linux64 ~]# 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=
[NagiosX1:main.linux64 ~]#
Re: schedule downtime issue - jstoddart
Please edit the file again and add this additional code after the code you added for the first trace:
Then schedule downtime again and attach a sanitized copy of your /tmp/downtime_args.txt.
Thank you
Code: Select all
ob_start();
var_dump($args);
$cresult = ob_get_clean();
$cfile = '/tmp/downtime_args.txt';
file_put_contents($cfile, $cresult);Thank you
Re: schedule downtime issue - jstoddart
Just tried that but no file being produced in /tmp, will investigate further
Re: schedule downtime issue - jstoddart
Are there any errors in /var/log/httpd/error_log about that log file? You might need to create it manually and give it appropriate permissions:
Code: Select all
touch /tmp/downtime_args.txt
chmod 777 /tmp/downtime_args.txtFormer Nagios employee
Re: schedule downtime issue - jstoddart
Apologies for delay on getting back to this, we have just upgraded to 5.2.7 and this seems to all be Ok now.
Thanks
Jamie
Thanks
Jamie
Re: schedule downtime issue - jstoddart
Great to hear. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee