Multi CPU Utilization Graph
Moderators: Developers, Moderators
Found the problem (4 proc v2) ... In your graph template I noticed that the Data Sources were not associated to a Graph Item. Once I matched them up, it worked for me.
- Attachments
-
- cacti_graph_template_multi_cpu_utilization_on_4_processor_box_v2a.xml
- (26.08 KiB) Downloaded 2949 times
Help!!
hi..when i import the template cacti_graph_template_multi_cpu_utilization_on_4_processor_box_v2.xml..under data templates i see four new entries CPU(0),(1),(2),(3). In each of these data templates the data input method is autoset as "Get Script Server Data(Indexed)". Is that correct? If i understand correctly this graph template is supposed to work with SNMP query to the windows machine other than the one running cacti. shouldn't the data input method be "Get SNMP Data"? One more thing..do i have to provide OID somewhere?
thanx..
thanx..
Your first point - unsure, and probably doesn't matter as you need to change the data source once the graph has been created.
All you have to do is create the snmp graphs for the CPU's separately, then, on the multi-CPU graph, choose the correct sources for each of the lines.
Argon0
All you have to do is create the snmp graphs for the CPU's separately, then, on the multi-CPU graph, choose the correct sources for each of the lines.
Argon0
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
hello
sorry for my english but i'm french ...
i want to use the graph template 'cacti_graph_template_multi_cpu_utilization_on_4_processor_box_v2.xml'
for monitor a serveur with 2cpu HyperThrending so 4cpu's
I want to graph each cpu separately first. so i go to 'new graph' , select an host and click 'edit this host ' but i hav'nt 'Host MIB - Cpu utilization' ....
what i do ???
thanks ...
sorry for my english but i'm french ...
i want to use the graph template 'cacti_graph_template_multi_cpu_utilization_on_4_processor_box_v2.xml'
for monitor a serveur with 2cpu HyperThrending so 4cpu's
I want to graph each cpu separately first. so i go to 'new graph' , select an host and click 'edit this host ' but i hav'nt 'Host MIB - Cpu utilization' ....
what i do ???
thanks ...
Last edited by driden91 on Fri Sep 01, 2006 11:13 am, edited 1 time in total.
Goto Graph templates, and tell me if
If it is it can be associated with the "Host template" you are using quiet easily.
Goto Host Templates, choose your template (probably Windows 2000/Xp Host) in the top section choose the relevant graph template from the drop down list and click add.
Then when you go back to create graphs it should be there.
Alternatively you can do the same from the Device screen.
Argno0
is there.Host MIB - CPU Utilization
If it is it can be associated with the "Host template" you are using quiet easily.
Goto Host Templates, choose your template (probably Windows 2000/Xp Host) in the top section choose the relevant graph template from the drop down list and click add.
Then when you go back to create graphs it should be there.
Alternatively you can do the same from the Device screen.
Argno0
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
hello,
In graph template
And in Hosts Templates too
but in the sectio new graph when i select an host already create, i don't have in my list ...
but if i create a new host i have
So how I make for create Host MIB - CPU Utilization in a host already exist ???
And what is the 3 options (index type / index value / Output type ID) when i create the graph 'Host MIB - CPU Utilization' for my new host ?
[/quote]
In graph template
is here.Host MIB - CPU Utilization
And in Hosts Templates too
but in the sectio new graph when i select an host already create, i don't have
Code: Select all
Host MIB - CPU Utilization
but if i create a new host i have
created automatically ... it's logic because i have add the graph template 'Host MIB - CPU Utilization' in the 'host template' ....Host MIB - CPU Utilization
So how I make for create Host MIB - CPU Utilization in a host already exist ???
And what is the 3 options (index type / index value / Output type ID) when i create the graph 'Host MIB - CPU Utilization' for my new host ?
[/quote]
Last edited by driden91 on Fri Sep 01, 2006 11:14 am, edited 1 time in total.
thats the debug mode for my graph
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Multi CPU Utilization on pixproS4" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="/home/cacti/rra/pixpros4_cpu0_176.rrd":cpu0:AVERAGE \
DEF:b="/home/cacti/rra/pixpros4_cpu1_177.rrd":cpu1:AVERAGE \
DEF:c="/home/cacti/rra/pixpros4_cpu2_178.rrd":cpu2:AVERAGE \
DEF:d="/home/cacti/rra/pixpros4_cpu3_179.rrd":cpu3:AVERAGE \
CDEF:cdefa=a,b,+,c,+,d,+,4,/ \
AREA:cdefa#F9FD5F:"Mean CPU\:" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %%" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:a#0000FF:"CPU0\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:b#00A348:"CPU1\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:c#C4FD3D:"CPU2\:" \
GPRINT:c:AVERAGE:" Current\:%8.2lf %%" \
GPRINT:c:MIN:"Min\:%8.2lf %%" \
GPRINT:c:MAX:"Max\:%8.2lf %%\n" \
LINE1:d#FF0000:"CPU3\:" \
GPRINT:d:AVERAGE:" Current\:%8.2lf %%" \
GPRINT:d:MIN:"Min\:%8.2lf %%" \
GPRINT:d:MAX:"Max\:%8.2lf %%\n"
RRDTool Says:
ERROR: opening '/home/cacti/rra/pixpros4_cpu0_176.rrd': No such file or directory
RRDTool Command:Multi CPU Utilization
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Multi CPU Utilization on pixproS4" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="/home/cacti/rra/pixpros4_cpu0_176.rrd":cpu0:AVERAGE \
DEF:b="/home/cacti/rra/pixpros4_cpu1_177.rrd":cpu1:AVERAGE \
DEF:c="/home/cacti/rra/pixpros4_cpu2_178.rrd":cpu2:AVERAGE \
DEF:d="/home/cacti/rra/pixpros4_cpu3_179.rrd":cpu3:AVERAGE \
CDEF:cdefa=a,b,+,c,+,d,+,4,/ \
AREA:cdefa#F9FD5F:"Mean CPU\:" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %%" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:a#0000FF:"CPU0\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:b#00A348:"CPU1\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:c#C4FD3D:"CPU2\:" \
GPRINT:c:AVERAGE:" Current\:%8.2lf %%" \
GPRINT:c:MIN:"Min\:%8.2lf %%" \
GPRINT:c:MAX:"Max\:%8.2lf %%\n" \
LINE1:d#FF0000:"CPU3\:" \
GPRINT:d:AVERAGE:" Current\:%8.2lf %%" \
GPRINT:d:MIN:"Min\:%8.2lf %%" \
GPRINT:d:MAX:"Max\:%8.2lf %%\n"
RRDTool Says:
ERROR: opening '/home/cacti/rra/pixpros4_cpu0_176.rrd': No such file or directory
i have remove all reference for the graph mutli processor V2.
I have reimported the xml file
that's ok ... no errors ...
I create a new graph 'multi processor V2' that's OK
thats my 'graph management' for the graph .Multi CPU Utilization
that's correct ? I did not touch anything ...
but tat's the debug mode :
the data source concerned by the multi cpu graph .
this data sources was created automatically ...
And thats the result when i clik on the first data source for multi cpu 'pixproS4 - CPU Utilization' ....
so what is the problem ? i don't understand ...
I have reimported the xml file
Code: Select all
cacti_graph_template_multi_cpu_utilization_on_4_processor_box_v2.xml
I create a new graph 'multi processor V2' that's OK
thats my 'graph management' for the graph .Multi CPU Utilization
that's correct ? I did not touch anything ...
but tat's the debug mode :
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-108000 \
--end=-300 \
--title="Multi CPU Utilization on pixproS4" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="/home/cacti/rra/pixpros4_cpu0_204.rrd":cpu0:AVERAGE \
DEF:b="/home/cacti/rra/pixpros4_cpu1_205.rrd":cpu1:AVERAGE \
DEF:c="/home/cacti/rra/pixpros4_cpu2_206.rrd":cpu2:AVERAGE \
DEF:d="/home/cacti/rra/pixpros4_cpu3_207.rrd":cpu3:AVERAGE \
CDEF:cdefa=a,b,+,c,+,d,+,4,/ \
AREA:cdefa#F9FD5F:"Mean CPU\:" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %%" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:a#0000FF:"CPU0\:" \
GPRINT:a:LAST:" Current\:%8.2lf %%" \
GPRINT:a:MIN:"Min\:%8.2lf %%" \
GPRINT:a:MAX:"Max\:%8.2lf %%\n" \
LINE1:b#00A348:"CPU1\:" \
GPRINT:b:LAST:" Current\:%8.2lf %%" \
GPRINT:b:MIN:"Min\:%8.2lf %%" \
GPRINT:b:MAX:"Max\:%8.2lf %%\n" \
LINE1:c#C4FD3D:"CPU2\:" \
GPRINT:c:AVERAGE:" Current\:%8.2lf %%" \
GPRINT:c:MIN:"Min\:%8.2lf %%" \
GPRINT:c:MAX:"Max\:%8.2lf %%\n" \
LINE1:d#FF0000:"CPU3\:" \
GPRINT:d:AVERAGE:" Current\:%8.2lf %%" \
GPRINT:d:MIN:"Min\:%8.2lf %%" \
GPRINT:d:MAX:"Max\:%8.2lf %%\n"
RRDTool Says:
ERROR: opening '/home/cacti/rra/pixpros4_cpu0_204.rrd': No such file or directory
this data sources was created automatically ...
And thats the result when i clik on the first data source for multi cpu 'pixproS4 - CPU Utilization' ....
so what is the problem ? i don't understand ...
Last edited by driden91 on Fri Sep 01, 2006 11:15 am, edited 2 times in total.
Who is online
Users browsing this forum: No registered users and 1 guest