English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Using Ocaml as wrapper for RRD
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-04-29 (14:47)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Using Ocaml as wrapper for RRD
On Fri, Apr 29, 2005 at 11:34:56AM +0200, Johann Spies wrote:
> Dear Oliver,
> On Fri, Apr 29, 2005 at 03:20:05AM +0200, Oliver Bandel wrote:
> > Well, not a real general wrapper, but in a program that I wrote and that
> > I rewrite from scratch to have a more sophisticated functionality, I
> > also want to add code that creates RRD-tool output.
> > Maybe it would make sense to do it as a library. But this is not planned
> > now.
> > 
> In the mean time I have learnt a bit more about the RRD-libraries of
> some languages and it seems to me the only addon (I might be wrong) is
> that you can create rrd-graphs on the fly using a cgi.
> That is not really what I need.

What do you need?

> > 
> > The program I mentioned was a sendmail-loganalyzer and it goes through
> > a whole sendmail-logfile and creates outputs like these:
> > 
> This is about what I want to do with exim-related logs.  And it seems
> that it is only necessary to create output that can be directed as
> input to RRD-commands which will do the rest.

Yes, RRDtool will be used via commandline intefcace, and so it is not much effort
to write data into it. It could also be done via a call tu the function "system"
(in C or OCaml or other languages).

> > IMHO rrdtool is cool. And if you have a patient way of living (or if
> > you are interested in sponsoring me ;-)) then your problem will be
> > solved very quickly. :)
> I am a newcomer to RRD and programming is more a hobby than a career
> to me.

Well, unfortunately that programming is a hobby for me is now the situation
I'm in... looking for a job.

>  I will enjoy looking at what you have done to learn from it
> and probably use the knowledge to create custom-made tools for my
> situation.

Well, it will need some time, because I do not always work on the program
and do a lot of different things.

> As far as the sponsoring is concerned I apologise for my lack of
> resources :)

Well, that situation is the same, when looking at my ressources and
this was the reason to mention the sponsoring. ;-)

> Enjoy your day.

Well, I try.

Do it better. ;-)