location rrd code

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
snowgasm
Posts: 19
Joined: Fri Sep 02, 2005 5:32 pm

location rrd code

Post by snowgasm »

Hi there,

When i click the option "new graph" in the upper left menu, and add a few data sources to this graph, and when you enable the graph debug mode, you eventually see the rrdtool command next to the graph popping up. My question is where this code is actually written in the cacti directory, so that i would be able to manually edit this piece of code:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Test Graph Consolidation" \
--base=1000 \
--height=500 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="C\:/cacti2/rra/net_01_cpu_69.rrd":cpu:AVERAGE \
DEF:b="C\:/cacti2/rra/net_02_cpu_76.rrd":cpu:AVERAGE \
DEF:c="C\:/cacti2/rra/net_02_cpu_77.rrd":cpu:AVERAGE \

Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

It's dynamically created based off the graph template you're using.
snowgasm
Posts: 19
Joined: Fri Sep 02, 2005 5:32 pm

Post by snowgasm »

Ok, thanks. This topic can be closed
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests