Page 1 of 2

Service Status Detail Charts not displaying

Posted: Thu Feb 18, 2016 2:00 pm
by highness
When we pull up the Service Status Detail charts, we can see the default chart (past 4 hours), but when we change the timeline to anything (last 24 hours, last 7 days, last 30 days, last 365 days) does not display. The browser shows a spinning icon and now report (tried it on Chrome, Firefox, Safari - no joy on any of them).

We're running Nagios XI 5.2.3.

Re: Service Status Detail Charts not displaying

Posted: Thu Feb 18, 2016 5:48 pm
by lmiltchev
Try to load the graph. When you see the spinning icon, run the tail on the apache error log, and post the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log

Re: Service Status Detail Charts not displaying

Posted: Thu Feb 25, 2016 10:05 am
by highness
lmiltchev wrote:Try to load the graph. When you see the spinning icon, run the tail on the apache error log, and post the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log
That only contains data from several days back and has nothing related to the problem. Doing a tail -f while trying to generate graphs shows nothing being added to the log.

Re: Service Status Detail Charts not displaying

Posted: Thu Feb 25, 2016 10:18 am
by rkennedy
Just throwing this out there - are you using SSL? Does tail -100 /var/log/httpd/ssl_error_log produce anything?

Can you run top|head -5 and post the result? How many CPUs do you have allocated to this machine?

Re: Service Status Detail Charts not displaying

Posted: Thu Feb 25, 2016 10:31 am
by highness
rkennedy wrote:Just throwing this out there - are you using SSL? Does tail -100 /var/log/httpd/ssl_error_log produce anything?

it does, but it only tells me about one host that tries logging in every 15 minutes (again unrelated)


Can you run top|head -5 and post the result? How many CPUs do you have allocated to this machine?

Code: Select all

top - 07:23:49 up 64 days, 20 min,  1 user,  load average: 3.15, 3.23, 2.87
Tasks: 681 total,   1 running, 680 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.0%us,  1.1%sy,  0.0%ni, 92.8%id,  2.1%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  198306296k total, 135193660k used, 63112636k free,   540680k buffers
Swap:  4194296k total,        0k used,  4194296k free, 52625004k cached
[email protected] (Linux) $

Re: Service Status Detail Charts not displaying

Posted: Thu Feb 25, 2016 3:30 pm
by lmiltchev
Are you using hicharts or the "old" style graphs? Have you tried switching between the two?

Admin->System Settings->Theme & Display->Use Highcharts for Perfdata Graphs (checked/cleared)->Update Settings

Do you see graphs for other than "Last 4 Hours" time period under the "Graph Explorer" (Scalable Performance Graph)?

Re: Service Status Detail Charts not displaying

Posted: Mon Feb 29, 2016 12:13 pm
by highness
lmiltchev wrote:Are you using hicharts or the "old" style graphs? Have you tried switching between the two?

Admin->System Settings->Theme & Display->Use Highcharts for Perfdata Graphs (checked/cleared)->Update Settings

Do you see graphs for other than "Last 4 Hours" time period under the "Graph Explorer" (Scalable Performance Graph)?
We're using the new style graphs.

This has taken a different turn now - while I can look at a host and see the graphs (and change the history from Last 4 --> last 365 days) - when I pull up a specific graph (say CPU Usage) and try to view anything other than the 24 hour graph, it hangs. In the /var/log/http/error_log file I see numerous entries like this:

Code: Select all

[Mon Feb 29 09:05:49 2016] [error] [client 10.71.17.6] PHP Notice:  Undefined index: section-2-3_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1231, referer: http://nagios.vsp.com/nagiosxi/views/

[Mon Feb 29 09:06:06 2016] [error] [client 10.71.17.6] PHP Notice:  Undefined index: section-1-2_line_break in /usr/local/nagiosxi/html/includes/dashlets/textenhanced/textenhanced.inc.php on line 1201, referer: http://nagios.vsp.com/nagiosxi/views/

[Mon Feb 29 09:08:24 2016] [error] [client 10.71.17.6] PHP Notice:  Undefined variable: home in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 289, referer: http://nagios.vsp.com/nagiosxi/views/

Re: Service Status Detail Charts not displaying

Posted: Mon Feb 29, 2016 4:20 pm
by ssax
Those errors should not be related, do you have any others in there (ssl_error_log or error_log)?

If you just let it run does it eventually time out or does it give an error or anything?

Re: Service Status Detail Charts not displaying

Posted: Mon Feb 29, 2016 5:03 pm
by highness
ssax wrote:Those errors should not be related, do you have any others in there (ssl_error_log or error_log)?

If you just let it run does it eventually time out or does it give an error or anything?
We've tried it in Firefox, Chrome and Safari and just left it to see what happens - it just never seems to complete.

Re: Service Status Detail Charts not displaying

Posted: Mon Feb 29, 2016 5:22 pm
by Box293
Is your PC in the same subnet as the XI server?

If the answer is no, are you able to test from a PC in the same subnet as the XI server?

Do you use a proxy server on your PC?