| Author |
reading from rrd archive using jrobin1.5 API.
|
kamal krishna bhatt
Ranch Hand
Joined: Apr 26, 2011
Posts: 39
|
|
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: 64
|
|
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: 39
|
|
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.
|
 |
 |
|
|
subject: reading from rrd archive using jrobin1.5 API.
|
|
|