On Tue, Nov 16, 2004 at 06:18:22PM +0100, Synox wrote:

> e.g. my logfile has to following entries:
> 08:00:00
> 08:00:10
> 08:00:20
> 11:00:00
> 18:00:00
> can I do this with 5 Updates (and get a correct graph)? How?
> Will this solve to problem above?

I am not entirely sure what you're trying to achieve.

Let's assume you want to store a value of "100" when a line in the log
was present, and a value of "0" when it has not.

at 07:58:50 there's nothing in the log -> tell rrdtool 0
at 07:59:00 there's nothing in the log -> tell rrdtool 0
at 07:59:10 there's nothing in the log -> tell rrdtool 0
at 07:59:20 there's nothing in the log -> tell rrdtool 0
at 07:59:30 there's nothing in the log -> tell rrdtool 0
at 07:59:40 there's nothing in the log -> tell rrdtool 0
at 07:59:50 there's nothing in the log -> tell rrdtool 0
at 08:00:00 the log has data           -> tell rrdtool 100
at 08:00:10 the log has data           -> tell rrdtool 100
at 08:00:20 the log has data           -> tell rrdtool 100
at 08:00:30 there's nothing in the log -> tell rrdtool 0
[... and so on ...]
at 10:59:50 there's nothing in the log -> tell rrdtool 0
at 11:00:00 the log has data           -> tell rrdtool 100
[... and so on ...]


Do NOT try to update only at 08:00:00, 08:00:10 and so on.

-- 
You want an answer?  You'd better follow the following guidelines!
Linesize well below 80 chars. Reply to the list, not to me. Trim
irrelevant lines. Reply _below_ the relevant lines, not on top.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to