[smokeping-users] Multiple Databases?
JHorowitz at looksmart.net
Thu May 28 19:24:05 CEST 2009
From: G.W. Haywood [mailto:ged at jubileegroup.co.uk]
Sent: Thursday, May 28, 2009 2:13 AM
To: Jonah Horowitz
Cc: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] Multiple Databases?
On Wed, 27 May 2009, Jonah Horowitz wrote:
> Is it possible to have more than one type of database? I have some
> where I really do want 1 minute data, stored for 2 years. I have
> hosts where 5 minute data, with the default database works fine.
> Can I do both with only one smokeping instance, or will I have to
> separate instances?
Does the documentation help you at all?
Look at example 2.
You can use RRDtool to make a database which will store whatever
amount of data you need, but you can't easily change that once it
has been created. Check out the RRDtool documentation for more.
I'm sorry, I think I could have been more clear in stating my issue. I
have two sets of hosts. One I want to check at a step of 300, and one I
want to check at a step of 60. As far as I can tell from reading the
documentation, there's only one definition allowed for "Database". I
found out (through trying it) that if you override the step in the Probe
definition, it just overrides the database step. This is _not_obvious_
from the documentation. It's also sub-optimal since if I set up my
database to maintain 5 years of data for the "step 60" hosts, I'm
maintaining 25 years of data for the "step 300" hosts.
My question was, is there any way to define two different database
definitions - probably the obvious place to do this would be in the
Probe definition. It appears the answer is "no".
More information about the smokeping-users