Adding the SHIFT parameter
Moderators: Developers, Moderators
Adding the SHIFT parameter
See this thread...
Graph Data X over Two Time Ranges
http://forums.cacti.net/viewtopic.php?t=9101
To sum the thead up...
DEF:a="cpu.rrd":cpu:AVERAGE
DEF:b="cpu.rrd":cpu:AVERAGE:end=now-XXX:start=end-XXX
SHIFTXXX
now/end are going to be already known variables.
If there was a way to include XXX and allow the
SHIFT parameter to be an available option when
adding Graph Template Item, Cacti would support
graphing current vs old data on the same graph...
Not sure how easy/hard this is... but it would rock!
Graph Data X over Two Time Ranges
http://forums.cacti.net/viewtopic.php?t=9101
To sum the thead up...
DEF:a="cpu.rrd":cpu:AVERAGE
DEF:b="cpu.rrd":cpu:AVERAGE:end=now-XXX:start=end-XXX
SHIFTXXX
now/end are going to be already known variables.
If there was a way to include XXX and allow the
SHIFT parameter to be an available option when
adding Graph Template Item, Cacti would support
graphing current vs old data on the same graph...
Not sure how easy/hard this is... but it would rock!
http://www.TheHEMI.com/
Do we, the lowly users, get any clues on which features
you might be considering? I'd be curious to know if my
request is going to get any thought, if it was just tossed,
or if there's any additional information I can provide that
might help in the decision/developmental making process.
you might be considering? I'd be curious to know if my
request is going to get any thought, if it was just tossed,
or if there's any additional information I can provide that
might help in the decision/developmental making process.
http://www.TheHEMI.com/
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If RDDTool supports it, I would say it's possible, but I don't know if it does.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
"Viewing the current and previous week together"
http://people.ee.ethz.ch/~oetiker/webto ... es.en.html
The RRDtool absolutely supports this SHIFT function.
That's why I was suggesting the feature be added to
Cacti. I'm able to create these graphs by hand with
RRDtool, but we'd love to be able to do it with Cacti.
http://people.ee.ethz.ch/~oetiker/webto ... es.en.html
The RRDtool absolutely supports this SHIFT function.
That's why I was suggesting the feature be added to
Cacti. I'm able to create these graphs by hand with
RRDtool, but we'd love to be able to do it with Cacti.
http://www.TheHEMI.com/
Feature by now?
Hello,
searching in this forum for the feature exactly described above, I would like to know if one can use CACTI now in this way. I would like CACTI to generate rrdtool graph code like
Is this feature planned or implemented by now?
Thanks in advance,
Daniel
searching in this forum for the feature exactly described above, I would like to know if one can use CACTI now in this way. I would like CACTI to generate rrdtool graph code like
Code: Select all
DEF:a="somefile.rrd":traffic_in:AVERAGE \
DEF:b="somefile.rrd":traffic_in:AVERAGE[b]:end=now-1d:start=end-1d \
SHIFT:b:86400 \[/b]
LINE1:a#FF0000FF:"Inbound" \
LINE1:b#00FF00FF:"Inbound[b] - 1 Day[/b]" \
Thanks in advance,
Daniel
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
It is planned. We do plan to support all available rrdtool parameters. Currently there's not an exact timeframe when we will support which parameter.
The most complicated part is the verification of valid rrdtool commands because it depends strongly on the rrdtool version used.
We were already thinking about allowing for some "free format text field" to allow for a custom string passed to rrdtool. This would be on your own risk. But we do not love this approach because it will increase "support requests"
Reinhard
The most complicated part is the verification of valid rrdtool commands because it depends strongly on the rrdtool version used.
We were already thinking about allowing for some "free format text field" to allow for a custom string passed to rrdtool. This would be on your own risk. But we do not love this approach because it will increase "support requests"
Reinhard
Re: Adding the SHIFT parameter
So, there any plans to launch the 088?
I'm searching shift options to graph with shadow
any ideas?
I'm searching shift options to graph with shadow
any ideas?
Ricardo Rojo Bonfim
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Adding the SHIFT parameter
We don't have an exact schedule yet. But please tell me how you want to implement that shadow thingy using SHIFT
R.
R.
Re: Adding the SHIFT parameter
Ricardo Rojo Bonfim
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Adding the SHIFT parameter
I apologize, but for that graph the new support is in fact required.
You may want to download current code and verify, that it does what you need. But that code is by far not production-ready
R.
You may want to download current code and verify, that it does what you need. But that code is by far not production-ready
R.
Re: Adding the SHIFT parameter
hmm, thanks for the answers by the way
can you say if the new version will be launched this semester at least? or another forecast like this?
can you say if the new version will be launched this semester at least? or another forecast like this?
Ricardo Rojo Bonfim
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Adding the SHIFT parameter
Unfortunately, my latest assumptions all failed. So I refrain from getting more frustration like that.
R.
R.
Who is online
Users browsing this forum: No registered users and 2 guests