Page 1 of 1

Report Time Period is not working properly.

Posted: Wed Oct 31, 2018 10:24 am
by sac1472
Hello, i want to skip availability report for some specific days. i have defined them, separate time period and that timeperiod as exclusion in 24*7 timeperiod. but i didn't see any difference using timeperiod. that means reports grabbing data for excluded timezone also.

I'm using latest nagiosxi 5.5.5

Timeperiod Defination are like----

define timeperiod {
timeperiod_name Availabilty_Report_timeperiod
alias 24x7 Exclude Patching Window
exclude Full_Site_DR_Test
name Availabilty_Report_timeperiod
tuesday 00:00-24:00
sunday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
monday 00:00-24:00
}

define timeperiod {
timeperiod_name Full_Site_DR_Test
alias Full-Site Disaster Recovery Test
name Full_Site_DR_Test
september 08 14:00-24:00
september 09 00:00-09:00
october 31 00:00-00:00
}

Re: Report Time Period is not working properly.

Posted: Wed Oct 31, 2018 4:48 pm
by ssax
In the Availability report are you clicking the Advanced link and selecting the timeperiod in the Report Time Period dropdown before running the report?

Re: Report Time Period is not working properly.

Posted: Thu Nov 01, 2018 2:43 am
by sac1472
Yes, of-course I'm selecting that option. still, it's unable to skip data for excluded timeperiod

Re: Report Time Period is not working properly.

Posted: Thu Nov 01, 2018 4:13 pm
by ssax
This is a bug in the Nagios Core availability report (which XI uses on the backend), I'm able to replicate it on my system, you can read here for more info, it is not slated to be fixed until Core 5 per the bug report:

https://github.com/NagiosEnterprises/na ... issues/318