File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes reading from rrd archive using jrobin1.5 API. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "reading from rrd archive using jrobin1.5 API." Watch "reading from rrd archive using jrobin1.5 API." New topic
Author

reading from rrd archive using jrobin1.5 API.

kamal krishna bhatt
Ranch Hand

Joined: Apr 26, 2011
Posts: 41

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

Joined: Mar 18, 2011
Posts: 80
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

Joined: Apr 26, 2011
Posts: 41

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading from rrd archive using jrobin1.5 API.