Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Increasing value, show diff

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
Helmut Schneider
Cacti User


Joined: 05 Feb 2007
Posts: 57

PostPosted: Mon Jan 28, 2008 7:38 am    Post subject: Increasing value, show diff Reply with quote

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

PostPosted: Mon Jan 28, 2008 10:18 am    Post subject: Reply with quote

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

PostPosted: Mon Jan 28, 2008 1:08 pm    Post subject: Reply with quote

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

PostPosted: Tue Jan 29, 2008 11:17 am    Post subject: Reply with quote

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

PostPosted: Wed Jan 30, 2008 4:45 am    Post subject: Reply with quote

Good to know, thanks.
Back to top
k-y



Joined: 27 Oct 2008
Posts: 1
Location: Redmond, WA

PostPosted: Fri Nov 14, 2008 3:00 pm    Post subject: Reply with quote

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

PostPosted: Fri Nov 14, 2008 4:44 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group