Multi CPU Utilization Graph

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

what is correct CDEF expression on 16 data source ?

a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,+,j,+,ba,+,bb,+,bc,+,bd,+,be,+,bf,+,16,/ ?
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
Smux
Posts: 40
Joined: Mon Sep 10, 2007 2:47 pm

Post by Smux »

Yeah slech, Congratulations!! this yours new templates works fine with me!

Thank you very much!!
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

exploit-soget
Try 16 box cpu

post the rrd log
Attachments
cacti_graph_template_host_mib_-_multi_cpu_utilization_on_16_processor_box.xml
(49.88 KiB) Downloaded 2048 times
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
skinty
Posts: 41
Joined: Sat Aug 12, 2006 6:47 pm

Post by skinty »

I've used the last templates that were posted in the 2.4.8.zip earlier a couple of pages back. It works great, but only if you manually select the data sources. It seems that an older version of the script found the correct processors, even though there was nothing descriptive about the names.

Now when I create the graph, the three options are blank and it creates its own data source. I go into the graph, select the correct numbered data sources and later delete the new one that is basically redundant and useless.

What's causing the new data source to be created and how might I adjust the template to reference the new numbered data sources instead?
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

My template don't create any data source.
It's created to the script.
Posible cause is the old template for 4 Cpu box create this data source.
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
softex888
Posts: 7
Joined: Thu Feb 07, 2008 5:23 pm
Contact:

cpu is not showing

Post by softex888 »

Can anyone tell me why my CPU is not showing here on the graph ??
Attachments
4cpu.JPG
4cpu.JPG (71.2 KiB) Viewed 16075 times
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

TBH this is no longer necessary as you can use the agregate function to graph anything with anything else....
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
elrond
Posts: 8
Joined: Fri Mar 21, 2008 5:18 pm

how to add it to cacti 2 cpu utilization???

Post by elrond »

ello

I'am comletly newbie;/ Can anybode twll /write what shall i do with dose xmls posted above - i would like to have some nice 2 cpu utlization graphs? Can anybody help?
elrond
Posts: 8
Joined: Fri Mar 21, 2008 5:18 pm

2 cpus on graph

Post by elrond »

ello

I've managed to import xmls for 2 cpus but i get nothing or only avereg = 1 . i've checked that no data source is create:

Code: Select all

RRDTool Says:

ERROR: opening '/usr/share/cacti/site/rra/luger_2_cpu_93.rrd': No such file or directory
can anybody help?
[/code]
elrond
Posts: 8
Joined: Fri Mar 21, 2008 5:18 pm

Post by elrond »

ello

I've chekecd when graph are creating for some reasons datasources rrd fileas aren't created.

I can create them by hand from - data sources -debag mode there is a code whiche can be run manually and rrd file is creatad ...... is it ok???

But stll even if i create dose missing files my graphs are blank....;/

so i back to square one: can anbody tell how to create cpu utilization graph for two pIII450 on ubuntu???
rmarinho
Posts: 2
Joined: Sun Mar 04, 2007 4:55 pm

Dual QuadCore CPU

Post by rmarinho »

Hi,

I've an dual quadcore cpu wich template should I use, I've try 8 cpu but I getting error:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/

Help please.

Regards,
super-hornet
Cacti User
Posts: 175
Joined: Sun May 27, 2007 5:42 pm

Re: Dual QuadCore CPU

Post by super-hornet »

rmarinho wrote:Hi,

I've an dual quadcore cpu wich template should I use, I've try 8 cpu but I getting error:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/

Help please.

Regards,
8CPU should correct.
Go debug mode and double check on what value it has. Your error message maybe due to:
1. U are not using snmp-5.4 and above for the system u going to monitor.
2. U didn't plot the individual CPU also.
3. Sometime, different system (cacti system) may end up having different value in the a, b, c, d and so on.

SH
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

Hello!

I wanted to have basic CPU monitoring for a Windows 2003 server. I am using a basic template with the SNMP data input for single CPU having the OID

1.3.6.1.4.1.9600.1.1.5.1.5.1.48

And for average for multi CPU

1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108

But the graphs are all empty and i get "WARNING: Result from SNMP not valid. Partial Result" in the logs.

Any help will be greatly appreciated! Thanks
mill99
Posts: 2
Joined: Wed Feb 13, 2008 9:19 am

what about 32 cpu...

Post by mill99 »

Hello :)

First, Really Nice Job !! ;)

I'm trying to create a 32 cpu graph template.

Did you have already create it ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest