Page 1 of 1

Scheduled downtime duration field

Posted: Thu Jun 23, 2016 9:44 am
by CBoekhuis
Hi,

a collegue noticed than when he plans a scheduled downtime for his department he gets a strange value for de duration field on the overview page :

Scheduled Downtime,Tab Services value ="9h 6m 7s"

This value is also showen for older downtime schedules.

I'm able to reproduce the problem as follow when scheduling a downtime through :

HostGroupSUmmary , ViewHostgroupCommand , Schedule downtime for all services in this hostgroup , Fill in Comment and leaving al other fields default (2 hours) + commit
we see a Duration colomn with the 2 hours. Which looks fine for me.

When we change olso the end date to e.g. 2 days later we get a duration field "9h 6m 7s" in all duration fields of al services in downtime. Also older schedules are showing the same value.

Env:
NagiosXI 5.2.9
Centos 6.7 (Final)

Regards
Christian

Re: Scheduled downtime duration field

Posted: Thu Jun 23, 2016 11:30 am
by rkennedy
It looks to just be a display issue, as Core is honoring the correct values. Can confirm this is a bug, and I have filed a bug report for this #8907. Thanks for letting us know!

Below are screenshots for reference of what I saw -
xi-schedule-downtime.PNG
core-scheduled-downtime.PNG

Re: Scheduled downtime duration field

Posted: Thu Jun 23, 2016 2:51 pm
by CBoekhuis
Hi rkennedy,

ok. We'll see the fix in the 5.3.0.

Regards
Christian

Re: Scheduled downtime duration field

Posted: Thu Jun 23, 2016 4:32 pm
by bwallace
Thanks again for bringing this to our attention, we'll lock this thread now.