Service Status Detail Charts not displaying

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Service Status Detail Charts not displaying

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service Status Detail Charts not displaying

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Service Status Detail Charts not displaying

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Service Status Detail Charts not displaying

Post 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?
Former Nagios Employee
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Service Status Detail Charts not displaying

Post 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) $
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service Status Detail Charts not displaying

Post 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)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Service Status Detail Charts not displaying

Post 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/
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service Status Detail Charts not displaying

Post 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?
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Service Status Detail Charts not displaying

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service Status Detail Charts not displaying

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked