Blank Performance Graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Blank Performance Graphs

Post by CFT6Server »

Think I caught the event. Should be the first set.

Code: Select all

10.242.13.10 - - [12/May/2015:14:33:28 -0700] "GET /nagiosxi/includes/components/graphexplorer/visApi.php?height=260&witdh=600&type=timeline&host=Netscaler+UAT&service=vserver+Status+-+lb_vserver_webinterface&div=graphcontainer HTTP/1.1" 200 9228 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=services" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:31 -0700] "GET /nagiosxi/includes/components/graphexplorer/visApi.php?type=perfdata&host=s2fptpwxc1sw1c&service=X4+Bandwidth&div=perfgraph_hc_ejr49c&filter=&subtitle=0&view=1&link=https%3A%2F%2F10.242.13.75%2Fnagiosxi%2Fperfgraphs%2Findex.php%3Fsearch%3Ds2fptpwxc1sw1c%26host%3Ds2fptpwxc1sw1c&render_mode=&no_legend=0&height=272&width=815 HTTP/1.1" 200 42634 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:31 -0700] "GET /nagiosxi//includes/dashlets/gauges/getdata.php?host=s2fptpwxc1sw1c&service=X4%20Bandwidth&ds=out HTTP/1.1" 200 158 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:31 -0700] "GET /nagiosxi//includes/dashlets/gauges/getdata.php?host=s2fptpwxc1sw1c&service=X4%20Bandwidth&ds=in HTTP/1.1" 200 159 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:33 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_service_status_detailed_info_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22s2fptpwxc1sw1c%22%2C%22servicename%22%3A%22X4%2BBandwidth%22%2C%22service_id%22%3A%222600%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=84355fc3f3b76cd8b0d46e41d273585b HTTP/1.1" 200 1148 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:33 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_service_status_state_summary_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22s2fptpwxc1sw1c%22%2C%22servicename%22%3A%22X4%2BBandwidth%22%2C%22service_id%22%3A%222600%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=84355fc3f3b76cd8b0d46e41d273585b HTTP/1.1" 200 346 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:34 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_service_status_attributes_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22s2fptpwxc1sw1c%22%2C%22servicename%22%3A%22X4%2BBandwidth%22%2C%22service_id%22%3A%222600%22%2C%22display%22%3A%22all%22%7D%7D&nsp=84355fc3f3b76cd8b0d46e41d273585b HTTP/1.1" 200 2694 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:34 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_service_status_detailed_info_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22s2fptpwxc1sw1c%22%2C%22servicename%22%3A%22X4%2BBandwidth%22%2C%22service_id%22%3A%222600%22%2C%22display%22%3A%22advanced%22%7D%7D&nsp=84355fc3f3b76cd8b0d46e41d273585b HTTP/1.1" 200 1699 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:34 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_service_comments_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22s2fptpwxc1sw1c%22%2C%22servicename%22%3A%22X4%2BBandwidth%22%2C%22service_id%22%3A%222600%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=84355fc3f3b76cd8b0d46e41d273585b HTTP/1.1" 200 96 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.242.13.10 - - [12/May/2015:14:33:34 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_service_status_quick_actions_html%22%2C%22args%22%3A%7B%22hostname%22%3A%22s2fptpwxc1sw1c%22%2C%22servicename%22%3A%22X4%2BBandwidth%22%2C%22service_id%22%3A%222600%22%2C%22display%22%3A%22simple%22%7D%7D&nsp=84355fc3f3b76cd8b0d46e41d273585b HTTP/1.1" 200 983 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=s2fptpwxc1sw1c&service=X4+Bandwidth&dest=auto" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.60.224.38 - - [12/May/2015:14:33:35 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=cad393e1b81dde202bbeb228da4a607a HTTP/1.1" 200 - "https://10.242.13.75/nagiosxi/views/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
10.60.224.38 - - [12/May/2015:14:33:35 -0700] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_hoststatus_table%22%2C%22args%22%3A%7B%22host%22%3A%22%22%2C%22hostgroup%22%3A%22%22%2C%22servicegroup%22%3A%22%22%2C%22sortby%22%3A%22%22%2C%22sortorder%22%3A%22asc%22%2C%22records%22%3A%2215%22%2C%22page%22%3A%221%22%2C%22search%22%3A%22%22%2C%22hostattr%22%3A%220%22%2C%22serviceattr%22%3A%220%22%2C%22hoststatustypes%22%3A%220%22%2C%22servicestatustypes%22%3A%220%22%7D%7D&nsp=cad393e1b81dde202bbeb228da4a607a HTTP/1.1" 200 25647 "https://10.242.13.75/nagiosxi/includes/components/xicore/status.php?show=hosts" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Blank Performance Graphs

Post by tmcdonald »

Sorry, should have specified. The error log*

Though the access log is good too for correlation.
Former Nagios employee
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Blank Performance Graphs

Post by CFT6Server »

Error log is blank and doesn't show anything when I click on it. It just keeps spinning. Attached are the two places where I click for perf graphs.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Blank Performance Graphs

Post by lmiltchev »

Error log is blank and doesn't show anything when I click on it.
So, when you click on the "Performance Graph" tab and see the blank graph, then run:

Code: Select all

tail -50 /var/log/httpd/error_log
you don't see anything (or you don't see anything you think is relevant)?

What is the output of the following command?

Code: Select all

grep "display_errors =" /etc/php.ini
I believe the problem is caused by the fact that the RRDs and XMLs are not created for this service for some reason. I didn't see "vserver_Status_-_lb_vserver_wiv.rrd" or "vserver_Status_-_lb_vserver_wiv.xml" in the output you posted. You can see RRDs and XMLs for 5 other similarly named services:

vserver Status - lb_vserver_citrixUAT_bchydro_com_ng
vserver Status - lb_vserver_ldap_ABS
vserver Status - lb_vserver_ldap
vserver Status - lb_vserver_rsa
vserver Status - lb_vserver_webinterface

but not for:

vserver Status - lb_vserver_wiv
Be sure to check out our Knowledgebase for helpful articles and solutions!
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Blank Performance Graphs

Post by CFT6Server »

you don't see anything (or you don't see anything you think is relevant)?
The were no errors that was produced at all.

Here's the error log, which is from yesterday, again. Nothing when I click on the graph.

Code: Select all

# tail -50 /var/log/httpd/error_log
[Tue May 12 13:10:58 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:10:58 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:11:14 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:14 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:16 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:16 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:21 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:21 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:27 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:11:27 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:11:35 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:11:35 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:11:36 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:11:36 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:12:01 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:12:01 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:12:05 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined index: tfArg1 in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 116, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Tue May 12 13:12:05 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined index: tfArg2 in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 120, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Tue May 12 13:12:05 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined index: tfArg3 in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 124, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Tue May 12 13:12:11 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=modify&type=host&id=137&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhost%26page%3D1
[Tue May 12 13:12:11 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=modify&type=host&id=137&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhost%26page%3D1
[Tue May 12 13:13:28 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:13:28 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:13:34 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Tue May 12 13:13:34 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=host
[Tue May 12 13:14:34 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php?cmd=modify&type=host&id=32&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhost%26page%3D1
[Tue May 12 13:14:34 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php?cmd=modify&type=host&id=32&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhost%26page%3D1
[Tue May 12 13:18:12 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:18:12 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:18:16 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:18:16 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:18:20 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined index: template_name in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 53, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:21:10 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:21:10 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:21:15 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:21:15 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 13:21:22 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:21:22 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:21:24 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined index: template_name in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 53, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 13:21:46 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue May 12 13:21:46 2015] [error] [client ::1] PHP Notice:  Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 711
[Tue May 12 13:23:27 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:23:27 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 13:23:29 2015] [error] [client 10.242.13.10] PHP Notice:  Undefined index: template_name in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 53, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 17:14:06 2015] [error] [client 10.242.13.11] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 17:14:06 2015] [error] [client 10.242.13.11] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/xi-index.php
[Tue May 12 17:14:16 2015] [error] [client 10.242.13.11] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 17:14:16 2015] [error] [client 10.242.13.11] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue May 12 17:14:22 2015] [error] [client 10.242.13.11] PHP Notice:  Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 176, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
[Tue May 12 17:14:22 2015] [error] [client 10.242.13.11] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 196, referer: https://10.242.13.75/nagiosxi/includes/components/ccm/index.php
I believe the problem is caused by the fact that the RRDs and XMLs are not created for this service for some reason. I didn't see "vserver_Status_-_lb_vserver_wiv.rrd" or "vserver_Status_-_lb_vserver_wiv.xml" in the output you posted. You can see RRDs and XMLs for 5 other similarly named services:
The graphs does not show for ANY for these vserver status.

Code: Select all

]# pwd
/usr/local/nagios/share/perfdata/Netscaler_UAT

# ls -al
total 11744
drwxrwxr-x   2 nagios nagios    4096 May 13 11:27 .
drwxrwxr-x 389 nagios nagios   20480 May 11 12:08 ..
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:17 0_1_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2316 May 13 11:17 0_1_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:19 10_2_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2276 May 13 11:19 10_2_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:25 10_3_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2276 May 13 11:25 10_3_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:27 10_4_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2258 May 13 11:27 10_4_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:21 HA_Current_State.rrd
-rw-rw-r--   1 nagios nagios    1887 May 13 11:21 HA_Current_State.xml
-rwxrwxr-x   1 nagios nagios 1534768 May 13 11:23 _HOST_.rrd
-rw-rw-r--   1 nagios nagios    3049 May 13 11:23 _HOST_.xml
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:13 LA_1_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2296 May 13 11:13 LA_1_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:24 LA_2_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2296 May 13 11:24 LA_2_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios  768224 May 13 11:26 LO_1_Bandwidth.rrd
-rw-rw-r--   1 nagios nagios    2300 May 13 11:26 LO_1_Bandwidth.xml
-rwxrwxr-x   1 nagios nagios 1534768 May 13 11:19 Ping.rrd
-rw-rw-r--   1 nagios nagios    3179 May 13 11:19 Ping.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:13 SSL_Engine_State.rrd
-rw-rw-r--   1 nagios nagios    1914 May 13 11:13 SSL_Engine_State.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:13 vserver_Status_-_lb_vserver_citrixUAT_bchydro_com_ng.rrd
-rw-rw-r--   1 nagios nagios    2342 May 13 11:13 vserver_Status_-_lb_vserver_citrixUAT_bchydro_com_ng.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:23 vserver_Status_-_lb_vserver_ldap_ABS.rrd
-rw-rw-r--   1 nagios nagios    2152 May 13 11:23 vserver_Status_-_lb_vserver_ldap_ABS.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:23 vserver_Status_-_lb_vserver_ldap.rrd
-rw-rw-r--   1 nagios nagios    2100 May 13 11:23 vserver_Status_-_lb_vserver_ldap.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:27 vserver_Status_-_lb_vserver_rsa.rrd
-rw-rw-r--   1 nagios nagios    2085 May 13 11:27 vserver_Status_-_lb_vserver_rsa.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:27 vserver_Status_-_lb_vserver_webinterface.rrd
-rw-rw-r--   1 nagios nagios    2216 May 13 11:27 vserver_Status_-_lb_vserver_webinterface.xml
-rwxrwxr-x   1 nagios nagios  384952 May 13 11:27 vserver_Status_-_lb_vserver_wiv.rrd
-rw-rw-r--   1 nagios nagios    2087 May 13 11:27 vserver_Status_-_lb_vserver_wiv.xml
All the files are there and are being update....

Code: Select all

# grep "display_errors =" /etc/php.ini
display_errors = Off
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Blank Performance Graphs

Post by lmiltchev »

The graphs does not show for ANY for these vserver status.
You can try removing all of the rrd and xml files for these services and wait until they get recreated. This may fix the issue that you are having.

Code: Select all

cd /usr/local/nagios/share/perfdata/Netscaler_UAT
rm -rf vserver_Status*
Note: You will lose the historical data for the "vserver_Status" services! It may take 20-30 min before you actually see the graphs.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Blank Performance Graphs

Post by Box293 »

CFT6Server wrote:Here's the screenshot of the Advanced Tab.
Image

Code: Select all

# /usr/local/nagios/libexec/check_snmp -H 10.242.1.153 -P 2c -C Nagios -o enterprises.5951.4.1.3.1.1.5.14.108.98.95.118.115.101.114.118.101.114.95.119.105.118 -c '7:'
SNMP OK - 7 | 'NS-ROOT-MIB::vsvrState."lb_vserver_wiv"'=7;;0;
I do believe your problem exists because there are double quotes inside of single quotes in the performance data string:

Code: Select all

| 'NS-ROOT-MIB::vsvrState."lb_vserver_wiv"'=7;;0;
Specifically this:

Code: Select all

"lb_vserver_wiv"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Blank Performance Graphs

Post by CFT6Server »

Good catch. So in this case, the MIB is causing the issue. I will check by removing the MIB and also see if that file can be modified.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Blank Performance Graphs

Post by CFT6Server »

So I removed the mib file and the graphs showed up. Actually the previous data instantly showed up. The only problem is that the OID is pretty long.
I am looking at the MIB file, but really not sure how/if to edit the MIB file so it doesn't show quotes. Perhaps this is something that can be updated to handle quotes?
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Blank Performance Graphs

Post by Box293 »

I'm pretty sure you can define this in the check_snmp command.

Add:

Code: Select all

-l somelabelname
To the end of the check_snmp command.

I'm not sure if this means it'll be stored in a separate datasource in the RRD file and you'll lose the existing data or not. Worse case just delete the existing RRD and let it create it from scratch.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked