Page 1 of 1
Downtime duration incorrect
Posted: Thu Dec 20, 2018 12:35 pm
by snapon_admin
I'm not sure if this is just a visual bug or if the duration is actually incorrect here but we scheduled downtime for a 24 hour period, but the duration shows as 9h 6m 7s. That duration stays the same no matter how long the down time is, unless it's scheduled for less than that obviously.
downtime duration borked.png
Re: Downtime duration incorrect
Posted: Thu Dec 20, 2018 3:35 pm
by benjaminsmith
Hello
@snapon_admin,
This issue your experiencing is similar to this post:
https://support.nagios.com/forum/viewto ... 16&t=50075
Can you run the following command and show us the output to check the integer type for the duration field in the database::
Code: Select all
https://support.nagios.com/forum/viewtopic.php?f=16&t=50075
Thanks.
Re: Downtime duration incorrect
Posted: Fri Dec 21, 2018 12:15 pm
by snapon_admin
that was exactly the issue, thanks! Go ahead and lock this up.
Re: Downtime duration incorrect
Posted: Fri Dec 21, 2018 12:33 pm
by benjaminsmith
Go ahead and lock this up.
Closing. Thank you for using the Nagios Support Forum.