Page 1 of 2

CPU Usage in performance graph is not working

Posted: Thu Jul 24, 2014 1:02 am
by vincheesel
Hi,

Since the latest update (Nagios XI 2014R1.3)

The CPU Usage in performance graph tab is not working - however I can access the CPU Usage graph via the graph icon on the Service Status page.

Every other graph seems to work - only the CPU Usage is affected.

Is this a known bug with the latest release?

Any ideas on how to fix?

Re: CPU Usage in performance graph is not working

Posted: Thu Jul 24, 2014 10:36 am
by lmiltchev
Are you using highcharts or the "old style" graphs? Have you try switching from one to the other to see if the graphs will be updating properly?

Admin->Use Highcharts for Perfdata Graphs = checked/unchecked->Update Settings

Are the rrds updating?

Code: Select all

ll /usr/local/nagios/share/perfdata/<hostname>/ | grep -i cpu
Can you click on one of the CPU services (Home->Service Detail), go to the "Advanced" tab, and show us a screenshot of this page?

Re: CPU Usage in performance graph is not working

Posted: Thu Jul 24, 2014 8:17 pm
by vincheesel
Thanks for your reply

Interesting - when I untick "Use Highcharts for Perfdata Graphs" CPU usage works.

as requested

Code: Select all

-rwxrwxr-x 1 nagios nagios 384736 Apr 13 21:26 CPU_Usage.rrd
-rwxrwxr-x 1 nagios nagios   2130 Apr 13 21:26 CPU_Usage.xml
Any ideas on how I can fix this when Highcharts is enabled?

Re: CPU Usage in performance graph is not working

Posted: Fri Jul 25, 2014 1:30 pm
by sreinhardt
At the moment, no direct thoughts. What check in particular are you running in this case? windows, linux, mac, etc? snmp, wmi, local agents?

Re: CPU Usage in performance graph is not working

Posted: Fri Jul 25, 2014 8:36 pm
by vincheesel
Thanks it's the Windows check_nt command

We are using the default Windows server wizard

Re: CPU Usage in performance graph is not working

Posted: Mon Jul 28, 2014 10:40 am
by lmiltchev
Since the latest update (Nagios XI 2014R1.3)
The CPU Usage in performance graph tab is not working - however I can access the CPU Usage graph via the graph icon on the Service Status page.
When did you upgrade? Are you sure that graphs were working prior to the upgrade. The timestamps of "CPU_Usage.rrd" and the "CPU_Usage.xml" show April 13...

You can delete these two files, wait for 15-20 min to see if the graphs will start updating. Note: You will lose the old cpu usage historical data.

Re: CPU Usage in performance graph is not working

Posted: Mon Jul 28, 2014 6:21 pm
by vincheesel
I upgraded on the 23rd of July, it was definitely working around the 17th - I did apply a few yum updates just before the upgrade - not sure if that had anything to do with it.

Sorry I think I sent you stats to a disabled service earlier..

Its definitely collecting the stats, I deleted and it did recreate after 10 minutes - however the graph still doesn't appear

Code: Select all

-rwxrwxr-x 1 nagios nagios 384736 Jul 29 09:05 CPU_Usage.rrd
-rw-rw-rw- 1 nagios nagios   2138 Jul 29 09:05 CPU_Usage.xml
Any other suggestions?

Re: CPU Usage in performance graph is not working

Posted: Tue Jul 29, 2014 2:29 pm
by lmiltchev
I was able to recreate the issue on one of my test boxes. I am going to do some more digging into it. If CPU perfgraphs break on my other text box, I will be filing an internal bug report.

Re: CPU Usage in performance graph is not working

Posted: Tue Jul 29, 2014 9:30 pm
by 455157
I wonder, is this issue persistent across multiple browsers?

Since you've shown that XI is collecting the perf data, and you can view it elsewhere, it seems like it's just not getting to your web UI in this very specific instance.

Sounds like lmiltchev is on the case :)

Re: CPU Usage in performance graph is not working

Posted: Tue Jul 29, 2014 9:35 pm
by vincheesel
455157 wrote:I wonder, is this issue persistent across multiple browsers?

Since you've shown that XI is collecting the perf data, and you can view it elsewhere, it seems like it's just not getting to your web UI in this very specific instance.

Sounds like lmiltchev is on the case :)
I tested Google Chrome, and Internet Explorer 11. Same issue

Thanks,