CPU Usage in performance graph is not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

CPU Usage in performance graph is not working

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

Re: CPU Usage in performance graph is not working

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

Re: CPU Usage in performance graph is not working

Post 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?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: CPU Usage in performance graph is not working

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

Re: CPU Usage in performance graph is not working

Post by vincheesel »

Thanks it's the Windows check_nt command

We are using the default Windows server wizard
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CPU Usage in performance graph is not working

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

Re: CPU Usage in performance graph is not working

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

Re: CPU Usage in performance graph is not working

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
455157
Posts: 51
Joined: Mon Sep 10, 2012 7:35 pm

Re: CPU Usage in performance graph is not working

Post 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 :)
vincheesel
Posts: 30
Joined: Fri Jan 11, 2013 5:33 am

Re: CPU Usage in performance graph is not working

Post 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,
Locked