Page 1 of 1

Service perf graphs not showing for hostgroup availibility

Posted: Tue Jul 08, 2014 7:29 am
by WillemDH
Hello,

As I need to deliver availibility reports every quarter, I've finally had some time to test the new availibility reports with excluded downtime I needed. So my first availibility report needs to be run on a hostgroup with our 10 most important websites on it. I checked the checkbox "Display service performance graphs", but the service performance graphs are not showing when I run the report. I'll upload a screenshot. There seems to be an empty performance graph with only Datasource as title.

in the httpd error log, I can see the following errors:

Code: Select all

 tail -f /var/log/httpd/error_log
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 139, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 135, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 137, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 139, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 135, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 137, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:37 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 139, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:38 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 135, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:38 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 137, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
[Tue Jul 08 14:26:38 2014] [error] [client 10.10.10.2] PHP Notice:  Undefined index:  in /usr/local/nagiosxi/html/includes/components/perfdata/graphApi.php on line 139, referer: http://nagios/nagiosxi/reports/availability.php?host=&service=&reportperiod=lastquarter&startdate=&enddate=&host=&hostgroup=all_ind_web_apps_external&servicegroup=&reporttimesubmitbutton=Update&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&manual_run=1
Grtz

Willem

Re: Service perf graphs not showing for hostgroup availibili

Posted: Tue Jul 08, 2014 10:23 am
by lmiltchev
Are you using any custom graph templates? Can you see graphs if you limit to a single host, another hostgroup, or use a different different browser?

Re: Service perf graphs not showing for hostgroup availibili

Posted: Tue Jul 08, 2014 3:25 pm
by WillemDH
I'm not using any custom graph templates. i'll test tomorrow if it works for one host.

Re: Service perf graphs not showing for hostgroup availibili

Posted: Wed Jul 09, 2014 2:41 pm
by abrist
Any word on the test?

Re: Service perf graphs not showing for hostgroup availibili

Posted: Thu Jul 10, 2014 4:47 am
by WillemDH
Andy,

Just tried with one host, but same problem, the perf data is now shown. See screenshot:

Willem

Re: Service perf graphs not showing for hostgroup availibili

Posted: Thu Jul 10, 2014 12:54 pm
by lmiltchev
It's a bug... and I thought we fixed them all... :) I filed an internal bug report (TASK ID 3512).
BTW, the graphs should show up if you switch to using hicharts (Admin->Manage System Config->select the "Use Highcharts for Perfdata Graphs" check-box, and click on "Update Settings".

Re: Service perf graphs not showing for hostgroup availibili

Posted: Thu Jul 24, 2014 1:48 pm
by steve.chambers
Oddly enough I was having issues with SOME charts not displaying anything. CPU and Memory would show nothing but Disk space displayed fine.

If I toggled "Use Highcharts for Perfdata Graphs:" off I got a graph but turning it back on behavior returned to no graphs on CPU and memory.

Installed version is 2014R1.3

Re: Service perf graphs not showing for hostgroup availibili

Posted: Thu Jul 24, 2014 2:22 pm
by abrist
Can you open a ticket by sending an email to [email protected]? We will most likely want to set up a remote to collect as much information about this issue as possible to expedite a bug fix. Thanks!

Re: Service perf graphs not showing for hostgroup availibili

Posted: Thu Jul 31, 2014 2:12 pm
by WillemDH
Just had a support session with Spenser.
Apparently the availibility report was behaving differently since the upgrade to 1.3. Some graphs were shown, other were empty where before they were no graphs at all.

He will file an internal bug report as apparently the availibility report tries to display graphs even if there is no perfdata for the service.