RRD archive move?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

RRD archive move?

Jason Fesler
Did the rrd web pages move?  I keep getting Tobi's projects page instead
now..


Jason Fesler  <[hidden email]>  |".. and ten thousand noblemen squatted and
Good, Fast, Cheap -               | strained, for the King's word, was law."
  Pick any two.                   |        - SCA Folklore

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: RRD archive move?

Tobias Oetiker
Yesterday you sent me mail regarding [rrd-users] RRD archive move?:

*> Did the rrd web pages move?  I keep getting Tobi's projects page instead
*> now..
*>
http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/

should work ...

cheers
tobi
*>
*> Jason Fesler  <[hidden email]>  |".. and ten thousand noblemen squatted and
*> Good, Fast, Cheap -               | strained, for the King's word, was law."
*>   Pick any two.                   |        - SCA Folklore
*>
*> --
*> * To unsubscribe from the rrd-users mailing list, send a message with the
*>   subject: unsubscribe to [hidden email]
*>
*>

--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ [hidden email] http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: RRD archive move?

Jason Fesler
> *> Did the rrd web pages move?  I keep getting Tobi's projects page instead
> *> now..
> *>
> http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/

Doh, I was looking for   ...webtools/rrd/ instead.  I'm used to
looking for mrtg on yahoo, then editing the url to find rrd, since
yahoo doesn't know about rrd.   I didn't see rrd on the projects page - am
I blind? :-)


--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: RRD archive move?

Tobias Oetiker
Yesterday you sent me mail regarding [rrd-users] Re: RRD archive move?:

*> > *> Did the rrd web pages move?  I keep getting Tobi's projects page instead
*> > *> now..
*> > *>
*> > http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
*>
*> Doh, I was looking for   ...webtools/rrd/ instead.  I'm used to
*> looking for mrtg on yahoo, then editing the url to find rrd, since
*> yahoo doesn't know about rrd.   I didn't see rrd on the projects page - am
*> I blind? :-)

nope ... I am keeping it low profile to make a grand opening for 1.0.0 :-)

cheers
tobi
*>
*>
*> --
*> * To unsubscribe from the rrd-users mailing list, send a message with the
*>   subject: unsubscribe to [hidden email]
*>
*>

--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ [hidden email] http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Problems with updates on rrd 0.99.50

Jason Fesler
I'm  having problems using rrd 0.99.50.

I can create a database, but when I try and update it,
the system constantly seeks and writes, seeks and writes,
over and over, looping through the entire file.

Here is what I do, that can reproduce it without fail here
on several sol5.5.1 and sol7 boxes.


#! /usr/local/bin/perl

#makes things work when run without install
use lib qw( ../perl-shared/blib/lib ../perl-shared/blib/arch );

#makes programm work AFTER install
use lib qw( /usr/local/rrdtool-0.99.50/lib/perl );

use RRDs;

 print "My PID is $$ - you might want to truss -p $$   (Sleeping 15 sec)\n";
 sleep 15;

 print "Creating: \n";

RRDs::create (
  "0.rrd",
  "-s 60",
  "DS:EVT:GAUGE:300:U:U"   ,
  "DS:QPS:GAUGE:300:U:U"   ,
  "DS:AVGLAT:GAUGE:300:U:U",
  "DS:DSK:GAUGE:300:U:U",
  "DS:CPU:GAUGE:300:U:U",
  "DS:FC:GAUGE:300:U:U",
  "DS:lt1:GAUGE:300:U:U",
  "DS:lt5:GAUGE:300:U:U",
  "DS:lt10:GAUGE:300:U:U",
  "DS:lt20:GAUGE:300:U:U",
  "DS:gteq20:GAUGE:300:U:U",
  "RRA:AVERAGE:0.5:1:300");
 
  $error = RRDs::error;
  if ($error) {
    print "Error create: $error\n";
  }

 print "Updating:\n";

RRDs::update (
  "0.rrd",
  "931824840:0:0:0.000:27:30:88:0:0:0:0:0");


  $error = RRDs::error;
  if ($error) {
    print "Error updating: $error\n";
  }


When I run this, here's what I see:

lseek(3, 29896, SEEK_SET)                       = 29896
write(3, "7FFFFFFFFFFFFFFF7FFFFFFF".., 88)      = 88
lseek(3, 29984, SEEK_SET)                       = 29984
write(3, "7FFFFFFFFFFFFFFF7FFFFFFF".., 88)      = 88
lseek(3, 3672, SEEK_SET)                        = 3672
write(3, "7FFFFFFFFFFFFFFF7FFFFFFF".., 88)      = 88
lseek(3, 3760, SEEK_SET)                        = 3760


I get *LOTS* of this.  Enourmous amounts.  I can send a copy of it if
desired, but that's a fairly large message if I do so.

Any ideas what I can do resolve this?  Operator error?  Bug?

I'm trying desperately to get this process off my IDE-based workstation and
on to a real server, but this is my biggest holdup in doing so :-).

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems with updates on rrd 0.99.50

Jason Fesler
> I get *LOTS* of this.  Enourmous amounts.  I can send a copy of it if
> desired, but that's a fairly large message if I do so.

Followup: it never *stops* doing that, until I kill the process.
It loops.  It reaches the EOF, and wraps back to the beginning,
and goes for another round with the same offsets.  Over and over..


--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems with updates on rrd 0.99.50

Tobias Oetiker
In reply to this post by Jason Fesler
Yesterday you sent me mail regarding [rrd-users] Problems with updates on...:

*> I'm  having problems using rrd 0.99.50.
*>
*> I can create a database, but when I try and update it,
*> the system constantly seeks and writes, seeks and writes,
*> over and over, looping through the entire file.
*>
*> Here is what I do, that can reproduce it without fail here
*> on several sol5.5.1 and sol7 boxes.
*>
*>
*> #! /usr/local/bin/perl
*>
*> #makes things work when run without install
*> use lib qw( ../perl-shared/blib/lib ../perl-shared/blib/arch );
*>
*> #makes programm work AFTER install
*> use lib qw( /usr/local/rrdtool-0.99.50/lib/perl );
*>
*> use RRDs;
*>
*>  print "My PID is $$ - you might want to truss -p $$   (Sleeping 15 sec)\n";
*>  sleep 15;
*>
*>  print "Creating: \n";
*>
*> RRDs::create (
*>   "0.rrd",
*>   "-s 60",

I suggest you specify a sensible start time for your rrd ... this will most
certainly help ...

cheers
tobi
*>   "DS:EVT:GAUGE:300:U:U"   ,
*>   "DS:QPS:GAUGE:300:U:U"   ,
*>   "DS:AVGLAT:GAUGE:300:U:U",
*>   "DS:DSK:GAUGE:300:U:U",
*>   "DS:CPU:GAUGE:300:U:U",
*>   "DS:FC:GAUGE:300:U:U",
*>   "DS:lt1:GAUGE:300:U:U",
*>   "DS:lt5:GAUGE:300:U:U",
*>   "DS:lt10:GAUGE:300:U:U",
*>   "DS:lt20:GAUGE:300:U:U",
*>   "DS:gteq20:GAUGE:300:U:U",
*>   "RRA:AVERAGE:0.5:1:300");
*>  
*>   $error = RRDs::error;
*>   if ($error) {
*>     print "Error create: $error\n";
*>   }
*>
*>  print "Updating:\n";
*>
*> RRDs::update (
*>   "0.rrd",
*>   "931824840:0:0:0.000:27:30:88:0:0:0:0:0");
*>
*>
*>   $error = RRDs::error;
*>   if ($error) {
*>     print "Error updating: $error\n";
*>   }
*>
*>
*> When I run this, here's what I see:
*>
*> lseek(3, 29896, SEEK_SET)                       = 29896
*> write(3, "7FFFFFFFFFFFFFFF7FFFFFFF".., 88)      = 88
*> lseek(3, 29984, SEEK_SET)                       = 29984
*> write(3, "7FFFFFFFFFFFFFFF7FFFFFFF".., 88)      = 88
*> lseek(3, 3672, SEEK_SET)                        = 3672
*> write(3, "7FFFFFFFFFFFFFFF7FFFFFFF".., 88)      = 88
*> lseek(3, 3760, SEEK_SET)                        = 3760
*>
*>
*> I get *LOTS* of this.  Enourmous amounts.  I can send a copy of it if
*> desired, but that's a fairly large message if I do so.
*>
*> Any ideas what I can do resolve this?  Operator error?  Bug?
*>
*> I'm trying desperately to get this process off my IDE-based workstation and
*> on to a real server, but this is my biggest holdup in doing so :-).
*>
*> --
*> * To unsubscribe from the rrd-users mailing list, send a message with the
*>   subject: unsubscribe to [hidden email]
*>
*>

--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ [hidden email] http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems with updates on rrd 0.99.50

Tobias Oetiker
In reply to this post by Jason Fesler
Yesterday you sent me mail regarding Re: [rrd-users] Problems with updates...:

*> > I suggest you specify a sensible start time for your rrd ... this will most
*> > certainly help ...
*>
*> Indeed, it did.  Thank you.  Was it truely trying to catch up from
*> 1970? :-)  I'd request as for a safe default that -b be a reasonable
*> number or be required (and return an error if missing)..

will check ... -b should be a reasonable number (now)

cheers
tobi
*>
*> Thanks!
*>
*>
*>

--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ [hidden email] http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]