Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading from rrd archive using jrobin1.5 API.

 
kamal krishna bhatt
Ranch Hand
Posts: 41
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i cant find support in jrobin api for reading the values for a particular time stamp and archive.
i can do :
RrdDb rrdDb = new RrdDb(path);
Archive archive = rrdDb.getArchive(1);

and can not read read values based on time stamp from that archive .
another way is to use FetchPoint class but that is deprecated.

can any body help
 
vikas byn
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kamal krishna bhatt wrote:hi,
i cant find support in jrobin api for reading the values for a particular time stamp and archive.
i can do :
RrdDb rrdDb = new RrdDb(path);
Archive archive = rrdDb.getArchive(1);

and can not read read values based on time stamp from that archive .
another way is to use FetchPoint class but that is deprecated.

can any body help



I also have same problem with jrobin api for reading archives.

I can read default archive but not all archives.


reply please.



 
kamal krishna bhatt
Ranch Hand
Posts: 41
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used traversal of rows in rrd file to reach at a particular timestamp and worked fine.
I tried but there i didn't find any support to get the value directly for a particular timestamp.

And as far as reading archive is concerned there is support in jrobin API to get a archive by giving its index.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic