Bug in scheduled downtime on XI
Bug in scheduled downtime on XI
Hi,
It looks like there's a bug in the scheduled downtime feature of Nagios XI versions 5.4.12 and 5.4.13. We were able to reproduce this on 3 different XI instances.
Whenever we schedule a downtime more than 9h by default UI is displaying 9h 6m 7s however the backend is still suppressing for the given time interval.
Thanks.
It looks like there's a bug in the scheduled downtime feature of Nagios XI versions 5.4.12 and 5.4.13. We were able to reproduce this on 3 different XI instances.
Whenever we schedule a downtime more than 9h by default UI is displaying 9h 6m 7s however the backend is still suppressing for the given time interval.
Thanks.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Bug in scheduled downtime on XI
Hello, @mejokj. Can you include a screenshot of the scheduled downtime page where I can see the duration of 9h 6m 7s?
Is the problem that the UI is displaying 9h 6m 7s but in reality the downtime lasts only 9 hours?
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Bug in scheduled downtime on XI
I have attached the screenshot.
Try scheduling a downtime for more than 10 hours and the UI only shows 9h 6m 7s.
Try scheduling a downtime for more than 10 hours and the UI only shows 9h 6m 7s.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Bug in scheduled downtime on XI
Just tested and appears to be working correct on my server, Duration says 21h 23m 8s like it should
Out of curiosity can you go to Admin -> System Profile -> View System Profile
And confirm the dates match in the section that looks like this
Out of curiosity can you go to Admin -> System Profile -> View System Profile
And confirm the dates match in the section that looks like this
Code: Select all
Date/Time
PHP Timezone: America/Chicago
PHP Time: Thu, 07 Jun 2018 10:36:53 -0500
System Time: Thu, 07 Jun 2018 10:36:53 -0500Re: Bug in scheduled downtime on XI
Date/Time
PHP Timezone: Asia/Muscat
PHP Time: Fri, 08 Jun 2018 19:54:04 +0400
System Time: Fri, 08 Jun 2018 19:54:04 +0400
I have tested and confirmed this issue on three different XI instances, all upgraded from previous versions at various times.
PHP Timezone: Asia/Muscat
PHP Time: Fri, 08 Jun 2018 19:54:04 +0400
System Time: Fri, 08 Jun 2018 19:54:04 +0400
I have tested and confirmed this issue on three different XI instances, all upgraded from previous versions at various times.
-
kyang
Re: Bug in scheduled downtime on XI
Could you tell us which previous versions you upgraded from?
I wasn't able to reproduce this either. Mine works and specifies the correct downtime duration.
What version of PHP?
I wasn't able to reproduce this either. Mine works and specifies the correct downtime duration.
What version of PHP?
Code: Select all
php -vRe: Bug in scheduled downtime on XI
php -v
PHP 5.6.35 (cli) (built: Mar 29 2018 07:37:47)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
PHP 5.6.35 (cli) (built: Mar 29 2018 07:37:47)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
-
kyang
Re: Bug in scheduled downtime on XI
Could you show us another scheduled downtime,
But set it from the current day & time until next day.
Is it always the same result?
After doing that, could you send PM or post your XI profile for us.
XI Home Page --> Click "Admin" --> Under System Config click "System Profile" --> Click "Download Profile"
Then you can attach that zip file here or PM me or any support tech..
If you receive a profile build fail, then please follow the instructions listed in this KB article.
https://support.nagios.com/kb/article.p ... 4%E2%80%8B
Thanks.
But set it from the current day & time until next day.
Is it always the same result?
After doing that, could you send PM or post your XI profile for us.
XI Home Page --> Click "Admin" --> Under System Config click "System Profile" --> Click "Download Profile"
Then you can attach that zip file here or PM me or any support tech..
If you receive a profile build fail, then please follow the instructions listed in this KB article.
https://support.nagios.com/kb/article.p ... 4%E2%80%8B
Thanks.
Re: Bug in scheduled downtime on XI
We tried setting another downtime from today to tomorrow, but the result is same.
How can I share the system profile privately?
How can I share the system profile privately?
-
kyang
Re: Bug in scheduled downtime on XI
Yes,
You could send it as a private message. Located on the support forum --> click my name "kyang" or any other tech --> click Send Private Message
Attach your profile when you are ready.
You could send it as a private message. Located on the support forum --> click my name "kyang" or any other tech --> click Send Private Message
Attach your profile when you are ready.