Service perf graphs not showing for hostgroup availibility

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Service perf graphs not showing for hostgroup availibility

Post 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
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service perf graphs not showing for hostgroup availibili

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Service perf graphs not showing for hostgroup availibili

Post by WillemDH »

I'm not using any custom graph templates. i'll test tomorrow if it works for one host.
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service perf graphs not showing for hostgroup availibili

Post by abrist »

Any word on the test?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Service perf graphs not showing for hostgroup availibili

Post by WillemDH »

Andy,

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

Willem
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service perf graphs not showing for hostgroup availibili

Post 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".
Be sure to check out our Knowledgebase for helpful articles and solutions!
steve.chambers
Posts: 17
Joined: Wed Aug 14, 2013 10:43 am

Re: Service perf graphs not showing for hostgroup availibili

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service perf graphs not showing for hostgroup availibili

Post 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!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Service perf graphs not showing for hostgroup availibili

Post 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.
Nagios XI 5.8.1
https://outsideit.net
Locked