Availability report broken badly
Availability report broken badly
Guys,
I have found a big bug with the availability reports, its not taking into account the time period for which the report is being generated for, I have looked at the reports in the core it seems to work properly and show everything as it should be. XI seems to be generating all reports for the last 24 hrs, can you look at this urgently please.
Cheers
Arnab
I have found a big bug with the availability reports, its not taking into account the time period for which the report is being generated for, I have looked at the reports in the core it seems to work properly and show everything as it should be. XI seems to be generating all reports for the last 24 hrs, can you look at this urgently please.
Cheers
Arnab
Re: Availability report broken badly
Can somebody verify this please and get back to me....panicking
Re: Availability report broken badly
Yeah, we had another user report this about a week ago, and this issue was exactly as you described. It appeared to be specific to hostgroup and servicesgroup availiability reports, and they were all being run for the last 24 hours in the new reports. This is fixed in SVN for the 1.9 release. If you're noticing discrepancies in other places let us know and we'll try and get them tackled as well.
Re: Availability report broken badly
In my case , its happening for all HG or SG , so in that way its very consistent 
Re: Availability report broken badly
Hi Mike,
Many Thanks for responding , any ETA on the fix.
CHeers
Arnab
Many Thanks for responding , any ETA on the fix.
CHeers
Arnab
Re: Availability report broken badly
It will be included for 1.9, which I'm guessing we'll push out in the next 30 days, but we don't have a precise ETA on that yet. (It's already fixed in SVN). If you need the fix sooner I can send the patch over.
Re: Availability report broken badly
If you could provide the patch that will be brilliant .
Cheers
Arnab
Cheers
Arnab
Re: Availability report broken badly
Make backups of these files before copying, and then unzip and copy these files to the following locations.
Let us know how it goes
Code: Select all
cp availability.php /usr/local/nagiosxi/html/reports/
cp utils-reports.inc.php /usr/local/nagiosxi/html/includesYou do not have the required permissions to view the files attached to this post.
Re: Availability report broken badly
Hi Mike,
That broke more things, it now doesnt show the name of the services nor the pie charts, can you please help.
Cheers
Arnab
That broke more things, it now doesnt show the name of the services nor the pie charts, can you please help.
Cheers
Arnab
Re: Availability report broken badly
I replaced availability.php from the patched version, and restored old utilsx file, things are back to pre broken state i.e. garbled pie charts and correct report data...
Cheers
Arnab
Cheers
Arnab