Availability Report Bug with 2011 R1.8?
Posted: Mon Jan 16, 2012 12:05 pm
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
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