Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

RRD support in r3875

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


alvaro at octality

Nov 25, 2009, 9:19 AM

Post #1 of 17 (998 views)
Permalink
RRD support in r3875

I have a question for you guys..

Cherokee >= r3875 (upcoming 0.99.30) will require users to delete one of their RRD files. The format of the server.rrd has slightly changed in order to add a new field. If the user does not remove it, the server will start printing messages like this:

========
RRDtool replied an error message: ERROR: No DS called 'Requests' in '/var/lib/cherokee/graphs/server.rrd'
========

What do you guys think is the best way to deal with this upgrade?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


stefan at konink

Nov 25, 2009, 9:26 AM

Post #2 of 17 (965 views)
Permalink
Re: RRD support in r3875 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Alvaro Lopez Ortega schreef:
> I have a question for you guys..
>
> Cherokee >= r3875 (upcoming 0.99.30) will require users to delete one of their RRD files. The format of the server.rrd has slightly changed in order to add a new field. If the user does not remove it, the server will start printing messages like this:
>
> ========
> RRDtool replied an error message: ERROR: No DS called 'Requests' in '/var/lib/cherokee/graphs/server.rrd'
> ========
>
> What do you guys think is the best way to deal with this upgrade?

Export / Import the existing database with a nice button in the admin.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAksNaN0ACgkQYH1+F2Rqwn0KRQCeMJvFhp1gfVZxQpCrYw9qwrLu
px4AoIy9b5jlNDGA081m1KWSezfSd724
=/sCH
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


listas at enelserver

Nov 25, 2009, 11:21 AM

Post #3 of 17 (968 views)
Permalink
Re: RRD support in r3875 [In reply to]

> I have a question for you guys..
>
> Cherokee >= r3875 (upcoming 0.99.30) will require users to delete one of
> their RRD files. The format of the server.rrd has slightly changed in
> order to add a new field. If the user does not remove it, the server will
> start printing messages like this:
>
> ========
> RRDtool replied an error message: ERROR: No DS called 'Requests' in
> '/var/lib/cherokee/graphs/server.rrd'
> ========
>
> What do you guys think is the best way to deal with this upgrade?
>
> --
> Octality
> http://www.octality.com/
>
> _______________________________________________
> Cherokee-dev mailing list
> Cherokee-dev [at] lists
> http://lists.octality.com/listinfo/cherokee-dev
>


Since cherokee is still on heavy development and knowing this when using
any cherokee feature I guess the best way is to add this change to the
readme or on the announce mail.

Really to add some fancy automagic upgrade just for this change I think is
a waste of time / effort. Again in this cherokee heavy development.

If we where on a stable status IT MUST be done in the admin or at the
upgrade time do some magic to fix this issue.


Saludos ..

Leonel


_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


alvaro at octality

Nov 25, 2009, 11:21 AM

Post #4 of 17 (967 views)
Permalink
Re: RRD support in r3875 [In reply to]

On 25/11/2009, at 18:26, Stefan de Konink wrote:

>> ========
>> RRDtool replied an error message: ERROR: No DS called 'Requests' in '/var/lib/cherokee/graphs/server.rrd'
>> ========
>>
>> What do you guys think is the best way to deal with this upgrade?
>
> Export / Import the existing database with a nice button in the admin.

Actually, I'm not even sure whether it'd be possible to reformat a rrd file.

Does somebody know if it could be possible to export the data and re-import it in the new layered rrd file?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


stefan at konink

Nov 25, 2009, 11:43 AM

Post #5 of 17 (966 views)
Permalink
Re: RRD support in r3875 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Alvaro Lopez Ortega schreef:
> Does somebody know if it could be possible to export the data and re-import it in the new layered rrd file?


http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html
http://oss.oetiker.ch/rrdtool/doc/rrdrestore.en.html


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAksNiOkACgkQYH1+F2Rqwn0/5QCcCl82fUBN6JdxImyJl1A+gRPK
jBoAoIXg0mbo4093LnM2D37FN51sYeS1
=yRz2
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


alvaro at octality

Nov 25, 2009, 11:54 AM

Post #6 of 17 (966 views)
Permalink
Re: RRD support in r3875 [In reply to]

On 25/11/2009, at 20:43, Stefan de Konink wrote:
Alvaro Lopez Ortega schreef:
>> Does somebody know if it could be possible to export the data and re-import it in the new layered rrd file?
>
> http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html
> http://oss.oetiker.ch/rrdtool/doc/rrdrestore.en.html

That looks like a way to move data among different architecture. Not quite what we'd need here, is it?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


stefan at konink

Nov 25, 2009, 11:57 AM

Post #7 of 17 (965 views)
Permalink
Re: RRD support in r3875 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Alvaro Lopez Ortega schreef:
> On 25/11/2009, at 20:43, Stefan de Konink wrote:
> Alvaro Lopez Ortega schreef:
>>> Does somebody know if it could be possible to export the data and re-import it in the new layered rrd file?
>> http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html
>> http://oss.oetiker.ch/rrdtool/doc/rrdrestore.en.html
>
> That looks like a way to move data among different architecture. Not quite what we'd need here, is it?

You export to XML, do your changes in XML, you import it back. (Profit)


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAksNjDMACgkQYH1+F2Rqwn2ZbgCfRa75so96uf0QR2f2UBuGWFFN
beMAn0ue0xiEonu6WIjNDK/wMYT86Vsk
=9FUT
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


alvaro at alobbs

Nov 25, 2009, 12:04 PM

Post #8 of 17 (966 views)
Permalink
Re: RRD support in r3875 [In reply to]

On 25/11/2009, at 20:57, Stefan de Konink wrote:
Alvaro Lopez Ortega schreef:
>> On 25/11/2009, at 20:43, Stefan de Konink wrote:
>> Alvaro Lopez Ortega schreef:
>>>> Does somebody know if it could be possible to export the data and re-import it in the new layered rrd file?
>>> http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html
>>> http://oss.oetiker.ch/rrdtool/doc/rrdrestore.en.html
>>
>> That looks like a way to move data among different architecture. Not quite what we'd need here, is it?
>
> You export to XML, do your changes in XML, you import it back. (Profit)

I'm not against the idea, but I don't think it's actually worth the effort.
Do you treasure your '6 months' traffic graph that much? :-)

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


stefan at konink

Nov 25, 2009, 12:35 PM

Post #9 of 17 (966 views)
Permalink
Re: RRD support in r3875 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Alvaro Lopez Ortega schreef:
> I'm not against the idea, but I don't think it's actually worth the effort.
> Do you treasure your '6 months' traffic graph that much? :-)

nofi, you asked for a non damaging solution.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAksNlSwACgkQYH1+F2Rqwn2ZswCeLOSqxvDCwNe/t4arpof2zNXH
aTEAn1lNZrHzVEiI/QFWpv7zGcoz3L9J
=KvTB
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


aperez at skarcha

Nov 26, 2009, 1:23 AM

Post #10 of 17 (961 views)
Permalink
Re: RRD support in r3875 [In reply to]

Hello,

On Wed, Nov 25, 2009 at 8:21 PM, Leonel Nunez <listas [at] enelserver> wrote:

>> What do you guys think is the best way to deal with this upgrade?

> Really to add some fancy automagic upgrade just for this change I think is
> a waste of time / effort. Again in this cherokee heavy development.

+1 It's a waste of time.

--
Saludos:
Antonio Pérez
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


taher at unixwars

Nov 26, 2009, 1:32 AM

Post #11 of 17 (961 views)
Permalink
Re: RRD support in r3875 [In reply to]

Antonio Pérez wrote:
>> Really to add some fancy automagic upgrade just for this change I think is
>> a waste of time / effort. Again in this cherokee heavy development.
>>
>
> +1 It's a waste of time.
>
+1. I don't think graphs have so much value.

--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


rfvizarra at gmail

Nov 26, 2009, 10:46 AM

Post #12 of 17 (960 views)
Permalink
Re: RRD support in r3875 [In reply to]

2009/11/26 Taher Shihadeh <taher [at] unixwars>

> Antonio Pérez wrote:
> >> Really to add some fancy automagic upgrade just for this change I think
> is
> >> a waste of time / effort. Again in this cherokee heavy development.
> >>
> >
> > +1 It's a waste of time.
> >
> +1. I don't think graphs have so much value.
>

Why do you have then? my 2cens ;-)


> --
> taher [at] unixwars
> http://unixwars.com/
>
> _______________________________________________
> Cherokee-dev mailing list
> Cherokee-dev [at] lists
> http://lists.octality.com/listinfo/cherokee-dev
>



--
http://photoblog.homeip.net


alvaro at octality

Nov 26, 2009, 11:05 AM

Post #13 of 17 (960 views)
Permalink
Re: RRD support in r3875 [In reply to]

On 26/11/2009, at 19:46, Rodrigo Fernandez-Vizarra wrote:
2009/11/26 Taher Shihadeh <taher [at] unixwars>
> Antonio Pérez wrote:
> >> Really to add some fancy automagic upgrade just for this change I think is
> >> a waste of time / effort. Again in this cherokee heavy development.
> >
> > +1 It's a waste of time.
> >
> +1. I don't think graphs have so much value.
>
> Why do you have then? my 2cens ;-)

It's a nice and interesting nice-to-have.
Anyway, IMO the question is backwards; so, “Why wouldn't you have them?”.

In this case, we'll lose a few weeks of history. That's certainly unfortunate, but that doesn't mean you wouldn't like to restart after the update.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


rfvizarra at gmail

Nov 26, 2009, 11:22 AM

Post #14 of 17 (962 views)
Permalink
Re: RRD support in r3875 [In reply to]

On Thu, Nov 26, 2009 at 8:05 PM, Alvaro Lopez Ortega <alvaro [at] octality>wrote:

> On 26/11/2009, at 19:46, Rodrigo Fernandez-Vizarra wrote:
> 2009/11/26 Taher Shihadeh <taher [at] unixwars>
> > Antonio Pérez wrote:
> > >> Really to add some fancy automagic upgrade just for this change I
> think is
> > >> a waste of time / effort. Again in this cherokee heavy development.
> > >
> > > +1 It's a waste of time.
> > >
> > +1. I don't think graphs have so much value.
> >
> > Why do you have then? my 2cens ;-)
>
> It's a nice and interesting nice-to-have.
> Anyway, IMO the question is backwards; so, “Why wouldn't you have them?”.
>
> In this case, we'll lose a few weeks of history. That's certainly
> unfortunate, but that doesn't mean you wouldn't like to restart after the
> update.
>

Does it make sense to allow the user to export the data to XML for
backup/external processing/reports/whatever? I might be more interested in
having the data available for processing than just having a nice graph.

Rodrigo

>
> --
> Octality
> http://www.octality.com/
>
>


--
http://photoblog.homeip.net


taher at unixwars

Nov 26, 2009, 11:34 AM

Post #15 of 17 (959 views)
Permalink
Re: RRD support in r3875 [In reply to]

Rodrigo Fernandez-Vizarra wrote:
>
> > +1. I don't think graphs have so much value.
> > Why do you have then? my 2cens ;-)
>
> It's a nice and interesting nice-to-have.
> Anyway, IMO the question is backwards; so, “Why wouldn't you have
> them?”.
>
> In this case, we'll lose a few weeks of history. That's certainly
> unfortunate, but that doesn't mean you wouldn't like to restart
> after the update.
>
>
> Does it make sense to allow the user to export the data to XML for
> backup/external processing/reports/whatever? I might be more
> interested in having the data available for processing than just
> having a nice graph.
As a matter of fact, I do see the value in that.
Not sure if we should program anything or simply document where to find
the data files, the format in which they are recorded and any conversion
utilities that might be of use.

--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


aperez at skarcha

Nov 27, 2009, 12:13 AM

Post #16 of 17 (961 views)
Permalink
Re: RRD support in r3875 [In reply to]

On Thu, Nov 26, 2009 at 8:34 PM, Taher Shihadeh <taher [at] unixwars> wrote:

> Rodrigo Fernandez-Vizarra wrote:
>>
>>     > +1. I don't think graphs have so much value.
>>     > Why do you have then? my 2cens ;-)
>>
>>     It's a nice and interesting nice-to-have.
>>     Anyway, IMO the question is backwards; so, “Why wouldn't you have
>>     them?”.
>>
>>     In this case, we'll lose a few weeks of history. That's certainly
>>     unfortunate, but that doesn't mean you wouldn't like to restart
>>     after the update.
>>
>>
>> Does it make sense to allow the user to export the data to XML for
>> backup/external processing/reports/whatever? I might be more
>> interested in having the data available for processing than just
>> having a nice graph.
> As a matter of fact, I do see the value in that.
> Not sure if we should program anything or simply document where to find
> the data files, the format in which they are recorded and any conversion
> utilities that might be of use.

I still think that it doesn't worth the effort... As Leonel says,
Cherokee is under heavy development and graphs, IMHO, is not a vital
component. In a couple of days you will have interesting data again.

--
Saludos:
Antonio Pérez
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


taher at unixwars

Nov 27, 2009, 12:17 AM

Post #17 of 17 (959 views)
Permalink
Re: RRD support in r3875 [In reply to]

Antonio Pérez wrote:
>>> Does it make sense to allow the user to export the data to XML for
>>> backup/external processing/reports/whatever? I might be more
>>> interested in having the data available for processing than just
>>> having a nice graph.
>>>
>> As a matter of fact, I do see the value in that.
>> Not sure if we should program anything or simply document where to find
>> the data files, the format in which they are recorded and any conversion
>> utilities that might be of use.
>>
>
> I still think that it doesn't worth the effort... As Leonel says,
> Cherokee is under heavy development and graphs, IMHO, is not a vital
> component. In a couple of days you will have interesting data again
I agree. Some documentation note is the maximum effort we should put
into this matter.

--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.