Hi, I'm new to cacti. I have done fresh install of cacti 0.8.6f on windows 2000 and created netware cpu utilization graph for two processors directly from template. Both graph were displayed ok but when I changed Legend color on one graph I got rrdtool error:
ERROR: Not a valid vname: #FFF200 in line AREA:#FFF200:CPU Utilization
CPU Utilization graphraph, which was not changed is still ok.
configuration:
apache_2.0.54
cacti-0.8.6f
mysql-4.1.13a
php-5.0.4
rrdtool-cygwin-1.2.11
Another question:
Is it ok to have "None" for CPU utilization data source?
regs s.
Legend color
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Fri Aug 12, 2005 3:52 am
Legend color
- Attachments
-
- cpuutil-bad.jpg (56.6 KiB) Viewed 1402 times
-
- cpuutil-ok.jpg (75.1 KiB) Viewed 1402 times
-
- Posts: 3
- Joined: Fri Aug 12, 2005 3:52 am
Some aditional info:
When looking at graph source i have found that with changing the legend color graph has lost link to rrd file.
This is good graph source:
and this is corrupted graph source
Any idea how to add DEF back to corrupted graph?
When looking at graph source i have found that with changing the legend color graph has lost link to rrd file.
This is good graph source:
Code: Select all
c:\cacti\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DZ-01 - CPU Utilization - CPU0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
DEF:a="C\:\Cacti\Apache2\htdocs/rra/dz01_cpu_8.rrd":cpu:AVERAGE \
AREA:a#FF0000:"CPU Utilization" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf"
Code: Select all
c:\cacti\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DZ-01 - CPU Utilization - CPU1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
AREA:#FFF200:"CPU Utilization" \
GPRINT::LAST:"Current\:%8.0lf" \
GPRINT::AVERAGE:"Average\:%8.0lf" \
GPRINT::MAX:"Maximum\:%8.0lf"
-
- Posts: 3
- Joined: Fri Aug 12, 2005 3:52 am
Who is online
Users browsing this forum: No registered users and 1 guest