Multi CPU Utilization Graph
Moderators: Developers, Moderators
Oui, je parle un petit peu Francais, mais elle est tres mal.
I will post this reply in English, and include the French Translation off of Babel fish.
I may have mislead you in a previous post - I was replying from Memory only!!
OK, first you need to create the individual CPU graphs, which creates the data source for your Multi-Cpu graph.
These are in the section
"Data Query [SNMP - Get Processor Information]" on the create graph screen.
If they are NOT you need to add the query to your host - goto the host, select "SNMP - Get Processor Information" from the drop down list next to "Add Data Query: ".
Ignore what I said about Host MIB CPU Utilisation!
Argon0
Babel fish translates it as: See attachment
I will post this reply in English, and include the French Translation off of Babel fish.
I may have mislead you in a previous post - I was replying from Memory only!!
OK, first you need to create the individual CPU graphs, which creates the data source for your Multi-Cpu graph.
These are in the section
"Data Query [SNMP - Get Processor Information]" on the create graph screen.
If they are NOT you need to add the query to your host - goto the host, select "SNMP - Get Processor Information" from the drop down list next to "Add Data Query: ".
Ignore what I said about Host MIB CPU Utilisation!
Argon0
Babel fish translates it as: See attachment
- Attachments
-
- french.txt
- Babel fish translation...
- (906 Bytes) Downloaded 714 times
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....
OK, i have cretaed an individual cpu graph with "Data Query [SNMP - Get Processor Information]"
it's a success but the result returns [[0 Items, 0 Rows] ...
that's the debug mode for my Data Query [SNMP - Get Processor Information]"
it's a success but the result returns [[0 Items, 0 Rows] ...
that's the debug mode for my Data Query [SNMP - Get Processor Information]"
Code: Select all
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/home/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /home/cacti/scripts/ss_host_cpu.php localhost 1 2:161:500:public:::MD5::[None] index'
+ Executing script query '/usr/bin/php -q /home/cacti/scripts/ss_host_cpu.php localhost 1 2:161:500:public:::MD5::[None] query index'
+ Found data query XML file at '/home/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/home/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/home/cacti/resource/script_server/host_cpu.xml'
argon0, hello!
In first - thank you for great templates
I trying to use "2 and 4 (v2) Processor"-variants.
And both - not works for me
I have two Linux-box with 2.4 kernel with net-snmp 5.0.9 and 5.3.0.1.
I was install templates and add new graph.
But - RRDTool Says: ERROR: opening '/pathto/cacti/rra/host_cpu0_179.rrd': No such file or directory
On other my graphs - all is ok.
Please, help me, if you can.
In first - thank you for great templates
I trying to use "2 and 4 (v2) Processor"-variants.
And both - not works for me
I have two Linux-box with 2.4 kernel with net-snmp 5.0.9 and 5.3.0.1.
I was install templates and add new graph.
But - RRDTool Says: ERROR: opening '/pathto/cacti/rra/host_cpu0_179.rrd': No such file or directory
On other my graphs - all is ok.
Please, help me, if you can.
Driden91 - you've created the graph (correct) but it shows no data - have you got the debug from the graph? Are you able to graph any SNMP data from that box?
Rocketman - you are having problems IMPORTING the templates? Not using them? Hmmm... I'm not sure about that!
Both... I'm not actually using Cacti at work at the moment, so my replies are all from memory atm, I WILL be using it again soon (maybe as soon as next week, depends if I get go ahead or not), so I will be able to look at your queries in more detail then. I PROMISE to look at the multi cpu graphs again, as I will be using them in my analysis of which servers could be virtualised...
When I do so I will recreate them from scratch and repost the templates.
Regards
Argon0
P.S. that is something you could try too - recreating the templates, if you get the individual CPU graphs its not TOO difficult to figure out how to do Multiple CPU graphs, and was a good way for me to start learning about graphs in Cacti anyway! (lead me down the path of customising the graph templating interface so I could add graph items with all Legend info already there...)
Rocketman - you are having problems IMPORTING the templates? Not using them? Hmmm... I'm not sure about that!
Both... I'm not actually using Cacti at work at the moment, so my replies are all from memory atm, I WILL be using it again soon (maybe as soon as next week, depends if I get go ahead or not), so I will be able to look at your queries in more detail then. I PROMISE to look at the multi cpu graphs again, as I will be using them in my analysis of which servers could be virtualised...
When I do so I will recreate them from scratch and repost the templates.
Regards
Argon0
P.S. that is something you could try too - recreating the templates, if you get the individual CPU graphs its not TOO difficult to figure out how to do Multiple CPU graphs, and was a good way for me to start learning about graphs in Cacti anyway! (lead me down the path of customising the graph templating interface so I could add graph items with all Legend info already there...)
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....
Driden91 - you've created the graph (correct) but it shows no data - have you got the debug from the graph? Are you able to graph any SNMP data from that box?
Rocketman - you are having problems IMPORTING the templates? Not using them? Hmmm... I'm not sure about that!
Both... I'm not actually using Cacti at work at the moment, so my replies are all from memory atm, I WILL be using it again soon (maybe as soon as next week, depends if I get go ahead or not), so I will be able to look at your queries in more detail then. I PROMISE to look at the multi cpu graphs again, as I will be using them in my analysis of which servers could be virtualised...
When I do so I will recreate them from scratch and repost the templates.
Regards
Argon0
P.S. that is something you could try too - recreating the templates, if you get the individual CPU graphs its not TOO difficult to figure out how to do Multiple CPU graphs, and was a good way for me to start learning about graphs in Cacti anyway! (lead me down the path of customising the graph templating interface so I could add graph items with all Legend info already there...)
Rocketman - you are having problems IMPORTING the templates? Not using them? Hmmm... I'm not sure about that!
Both... I'm not actually using Cacti at work at the moment, so my replies are all from memory atm, I WILL be using it again soon (maybe as soon as next week, depends if I get go ahead or not), so I will be able to look at your queries in more detail then. I PROMISE to look at the multi cpu graphs again, as I will be using them in my analysis of which servers could be virtualised...
When I do so I will recreate them from scratch and repost the templates.
Regards
Argon0
P.S. that is something you could try too - recreating the templates, if you get the individual CPU graphs its not TOO difficult to figure out how to do Multiple CPU graphs, and was a good way for me to start learning about graphs in Cacti anyway! (lead me down the path of customising the graph templating interface so I could add graph items with all Legend info already there...)
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,
I havn't debug graph because the data query [SNMP - Get Processor Information]" returns [0 Items, 0 Rows] .... si i havn't graph ...
So what can i do ?
hi,
thats the result of my snmpwalk :
I havn't debug graph because the data query [SNMP - Get Processor Information]" returns [0 Items, 0 Rows] .... si i havn't graph ...
So what can i do ?
hi,
thats the result of my snmpwalk :
Code: Select all
snmpwalk -v2c -c XXXX 192.168.X.XXX .1.3.6.1.2.1.25.3.3.1 HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.770 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.771 = OID: SNMPv2-SMI::zeroDotZero
forgive the n00b question just been using cacti for 2 days now
running on iis winxp pro box.
I downloaded cacti_graph_template_multi_cpu_utilization_on_4_processor_box.xml
and imported via "import templates"
Is there anything else i need to do to get it to start polling my AD sever? I should just be able to add graph and wait for data to show up?
running on iis winxp pro box.
I downloaded cacti_graph_template_multi_cpu_utilization_on_4_processor_box.xml
and imported via "import templates"
Is there anything else i need to do to get it to start polling my AD sever? I should just be able to add graph and wait for data to show up?
-
- Posts: 29
- Joined: Wed Sep 27, 2006 7:02 pm
The template that you posted was for a Cisco 3000. What the heck is that doing in a multi-cpu graph?
I am also have the same problem with the V2. I have all the CPU's graphing, but when I select the data sources in the template and hit save it says save successful. But then I go back in and it's all shows blank. HELP!!!!
Burrben
I am also have the same problem with the V2. I have all the CPU's graphing, but when I select the data sources in the template and hit save it says save successful. But then I go back in and it's all shows blank. HELP!!!!
Burrben
jzondor wrote: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.
Pulling my hair out!
Hello,
I've been trying to use the multi-cpu template with no success. I'm running on a linux box, graphing windows hosts. I have a server that has been graphing fine for weeks, and has 2 dual core proc, for 4 graphs total. I've tried the fixed and v2 versions of the graphs. When I add the template to a host, and choose the CPU0-CPU3, and hit save, it does say save successful. But never saves. When I turn on graph debug mode I get:
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Multi CPU Utilization on MAIL" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
CDEF:cdefa=a,b,+,c,+,d,+,4,/ \
AREA:cdefa#FAFD9E:"Mean CPU" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %%" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:#0000FF:"CPU0" \
GPRINT::LAST:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%\n" \
LINE1:#00A348:"CPU1" \
GPRINT::LAST:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%\n" \
LINE1:#C4FD3D:"CPU2" \
GPRINT::AVERAGE:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%\n" \
LINE1:#FF0000:"CPU3" \
GPRINT::AVERAGE:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%"
RRDTool Says:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,4,/
Any ideas?
Thanks in advance!!!!
I've been trying to use the multi-cpu template with no success. I'm running on a linux box, graphing windows hosts. I have a server that has been graphing fine for weeks, and has 2 dual core proc, for 4 graphs total. I've tried the fixed and v2 versions of the graphs. When I add the template to a host, and choose the CPU0-CPU3, and hit save, it does say save successful. But never saves. When I turn on graph debug mode I get:
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Multi CPU Utilization on MAIL" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
CDEF:cdefa=a,b,+,c,+,d,+,4,/ \
AREA:cdefa#FAFD9E:"Mean CPU" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %%" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:#0000FF:"CPU0" \
GPRINT::LAST:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%\n" \
LINE1:#00A348:"CPU1" \
GPRINT::LAST:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%\n" \
LINE1:#C4FD3D:"CPU2" \
GPRINT::AVERAGE:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%\n" \
LINE1:#FF0000:"CPU3" \
GPRINT::AVERAGE:" Current\:%8.2lf %%" \
GPRINT::MIN:"Min\:%8.2lf %%" \
GPRINT::MAX:"Max\:%8.2lf %%"
RRDTool Says:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,4,/
Any ideas?
Thanks in advance!!!!
Who is online
Users browsing this forum: No registered users and 1 guest