|
|
| Author |
Message |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Mon Jan 28, 2008 7:38 am Post subject: Increasing value, show diff |
|
|
Hi,
I have a value which increases steadily (passed/blocked connections on a gateway).
Is there a function which only displays/graphs the delta from the previous value?
Thanks, Helmut |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Mon Jan 28, 2008 10:18 am Post subject: |
|
|
Sure. It's only using standard RRDTool ds-type of COUNTER instead of GAUGE, that's all. Have a read e.g. at the first link of my signature, scroll to the RRDTool chapter
Reinhard |
|
| Back to top |
|
 |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Mon Jan 28, 2008 1:08 pm Post subject: |
|
|
| BTDT. Probably I forgot to recreate the RRDs. Works now. Thanks. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Tue Jan 29, 2008 11:17 am Post subject: |
|
|
If changing ds-type of a Data Template after rrd files has been created, you will have to rrdtool tune -d <ds-name>:COUNTER manually
Reinhard |
|
| Back to top |
|
 |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Wed Jan 30, 2008 4:45 am Post subject: |
|
|
| Good to know, thanks. |
|
| Back to top |
|
 |
k-y
Joined: 27 Oct 2008 Posts: 1 Location: Redmond, WA
|
Posted: Fri Nov 14, 2008 3:00 pm Post subject: |
|
|
| When changing from GAUGE to COUNTER manually, can we keep the existing RRD files or should we delete and recreate? |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Fri Nov 14, 2008 4:44 pm Post subject: |
|
|
There's no NEED to drop them. You may rrdtool tune to change. But obviously the data is wrong. So my recommendation is to drop the old rrd files
Reinhard |
|
| Back to top |
|
 |
|