Hi,
When i run one of the new availability reports in nagios xi (2011 R1.8), against a service group, I get a listing of all servers that are monitored and not just those that are members of services in the service_group. When I run a legacy availablity report, it seems to work as normal/expected.
so the report contains hostdata containing all hosts being monitored and servicedata which has data for the service_group requested.
looking at the error_log I see:
[Mon Jan 16 18:59:59 2012] [error] [client 10.66.111.108] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 88, referer: http://<server>/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastmonth&startdate=&enddate=&reporttimesubmitbutton=Go&host=&hostgroup=&servicegroup=rsk_report
[Mon Jan 16 19:00:03 2012] [error] [client 10.66.111.108] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 88, referer: http://<server>/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastmonth&startdate=&enddate=&reporttimesubmitbutton=Go&host=&hostgroup=&servicegroup=rsk_report
[Mon Jan 16 19:00:03 2012] [error] [client 10.66.111.108] PHP Notice: Use of undefined constant LEGEND_VER - assumed 'LEGEND_VER' in /usr/local/nagiosxi/html/reports/availability.php on line 143, referer: http://<server>/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastmonth&startdate=&enddate=&reporttimesubmitbutton=Go&host=&hostgroup=&servicegroup=rsk_report
[Mon Jan 16 19:00:04 2012] [error] [client 10.66.111.108] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 88, referer: http://<server>/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastmonth&startdate=&enddate=&reporttimesubmitbutton=Go&host=&hostgroup=&servicegroup=rsk_report
[Mon Jan 16 19:00:04 2012] [error] [client 10.66.111.108] PHP Notice: Use of undefined constant LEGEND_VER - assumed 'LEGEND_VER' in /usr/local/nagiosxi/html/reports/availability.php on line 143, referer: http://<server>/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastmonth&startdate=&enddate=&reporttimesubmitbutton=Go&host=&hostgroup=&servicegroup=rsk_report
Any ideas? I'd rather not upgrade to the latest version of XI yet as I've only just upgraded to this one.
If the report is running using hostgroup only, it seems to work fine. I just want to be able to send a report about certain services running on certain groups of machines, and not send irrelevant information to people.
KInd Regards
Mario
Availability Report Bug with 2011 R1.8?
Re: Availability Report Bug with 2011 R1.8?
mariof,
Can you post a couple of screenshots - one with the availability report for this particular service group, and one with the legacy report?
Can you post a couple of screenshots - one with the availability report for this particular service group, and one with the legacy report?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Availability Report Bug with 2011 R1.8?
Just to follow up...
I was able to recreate this issue in Nagios XI 2011R1.9 as well. It appears to be a bug. I posted it on our bug tracker. We will be fixing it as soon as we can, depending on the task priorities on our TODO list. You can read about it here:
http://tracker.nagios.com/view.php?id=218
I was able to recreate this issue in Nagios XI 2011R1.9 as well. It appears to be a bug. I posted it on our bug tracker. We will be fixing it as soon as we can, depending on the task priorities on our TODO list. You can read about it here:
http://tracker.nagios.com/view.php?id=218
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Availability Report Bug with 2011 R1.8?
Hi,
I upgraded my test system to R1.9, and it seems to me as the bug is different. For a start I can now pick hostgroup and servicegroup together, but when I do so, the hostdata comes back incorrectly.
so for 1.8:
I see hosts that shouldn't belong to the service group, but I can't pick both a hostgroup and a service group together And in the same report I eventually see the service data(correctly): for 1.9:
I see almost the correct information, and I can create a report on both hostgroup and servicegroup: The hostdata shows the correct number of hosts, just not their names.
I upgraded my test system to R1.9, and it seems to me as the bug is different. For a start I can now pick hostgroup and servicegroup together, but when I do so, the hostdata comes back incorrectly.
so for 1.8:
I see hosts that shouldn't belong to the service group, but I can't pick both a hostgroup and a service group together And in the same report I eventually see the service data(correctly): for 1.9:
I see almost the correct information, and I can create a report on both hostgroup and servicegroup: The hostdata shows the correct number of hosts, just not their names.
You do not have the required permissions to view the files attached to this post.
Re: Availability Report Bug with 2011 R1.8?
The legacy report, while not as useful (as I can't schedule it), does show the correct information:
You do not have the required permissions to view the files attached to this post.
Re: Availability Report Bug with 2011 R1.8?
When you say "almost", can you clarify as to what appears to be incorrect in 1.9?I see almost the correct information, and I can create a report on both hostgroup and servicegroup:
Confirmed, this bug is fixed in SVN for the next release.The hostdata shows the correct number of hosts, just not their names.
Re: Availability Report Bug with 2011 R1.8?
Hi mguthrie,
the "almost" refers to the fact that the host names are not mentioned (0.0.0.0. is displayed instead), but the correct number of hosts are displayed.
When is the next release scheduled?
the "almost" refers to the fact that the host names are not mentioned (0.0.0.0. is displayed instead), but the correct number of hosts are displayed.
When is the next release scheduled?
Re: Availability Report Bug with 2011 R1.8?
We don't have a hard ETA as of yet, but we're hoping to get it pushed out sometime in the next two weeks. We could probably get you a patched version of the report sooner if you need it.
Re: Availability Report Bug with 2011 R1.8?
Hi,
No I can wait if its a matter of a couple of weeks.
Thanks
Mario
No I can wait if its a matter of a couple of weeks.
Thanks
Mario