CPU USAGE GRAPH NOT BEING DISPLAYED.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mayur
Posts: 29
Joined: Fri Dec 07, 2007 2:30 am
Contact:

CPU USAGE GRAPH NOT BEING DISPLAYED.

Post by mayur »

Hi
I recently updated from 0.8.6i to 0.8.7a version and all my desired graphs r plotting fine except for the CPU Usage graph.i have added around 50 devices to my cacti database and around 47 r showing me all the graphs which i have created..The rest of the three servers having a similar setting and OS`s as the other servers r not plotting me this CPU Usage graph.Below r a few info required abt my servers.

OS version - Solaris 5.9
Cacti version - 0.8.7a
SNMP Version - 5.4

I manually tried walking these servers which r not plotting the graphs and i am getting the values, the problem is that these values r not being plotted...Someone kindly help..

Note: If there is any seperate template for CPU Usage in 0.8.7a , kindly upload the same
Regards
Mayur
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

can you try that :

Code: Select all

$ snmpwalk -v 1 -c public ip.of.your.host systemstats; sleep 100; snmpwalk -v 1 -c public ip.of.your.host systemstats
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mayur
Posts: 29
Joined: Fri Dec 07, 2007 2:30 am
Contact:

got the values

Post by mayur »

Hi.


ys i got these values.They r as follows

$snmpwalk -v 1 -c public ip.of.my.host systemstats; sleep 100; snmpwalk -v 1 -c public ip.of.my.host systemstats


UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0
UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0
UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0
UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 8573
UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 21605
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 36
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 26
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 3703990987
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1035403278
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 76430871
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 3496124946
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 1834245628
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 0
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 3241964117
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 1468938886
UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0
Last edited by mayur on Thu Dec 20, 2007 2:49 am, edited 1 time in total.
Regards
Mayur
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Can you run the exact command (it will query your device twice) ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mayur
Posts: 29
Joined: Fri Dec 07, 2007 2:30 am
Contact:

got the values..

Post by mayur »

sorry for that, i executed it once more.

Code: Select all

$ snmpwalk -v 1 -c public ip.of.my.host systemstats; sleep 100; snmpwalk -v 1 -c public ip.of.my.host systemstats

UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0
UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0
UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0
UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 8573
UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 21605
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 36
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 26
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 3703990987
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1035403278
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 76430871
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 3496124946
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 1834245628
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 0
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 3241964117
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 1468938886
UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0

UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0
UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0
UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0
UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 7345
UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 18785
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 36
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 34
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 3704019878
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1035428764
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 76456654
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 3496141184
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 1834254876
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 0
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 0
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 3242794092
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 1471087664
UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0
UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0
Regards
Mayur
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I've edited your post for better understanding :wink:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mayur
Posts: 29
Joined: Fri Dec 07, 2007 2:30 am
Contact:

thankx...

Post by mayur »

hey thankx man...
Regards
Mayur
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Do you know how many CPUs this system has ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mayur
Posts: 29
Joined: Fri Dec 07, 2007 2:30 am
Contact:

Post by mayur »

There r 8 cpu for this system.
Regards
Mayur
skinty
Posts: 41
Joined: Sat Aug 12, 2006 6:47 pm

Post by skinty »

Are you using one of the multi CPU graphs? Or just the standard Host MIB graph that assigns CPU numbers 0 - 7?
mayur
Posts: 29
Joined: Fri Dec 07, 2007 2:30 am
Contact:

Hi

Post by mayur »

Hello,
I suppose its a multi CPU graph.For better understanding i am uploading one such graphs.
Attachments
Cpu_Usage.gif
Cpu_Usage.gif (537.99 KiB) Viewed 2748 times
Regards
Mayur
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests