History bucket
Moderators: Developers, Moderators
History bucket
Hi all,
I am new to cacti and search for this but could not find any answer.
Is it possible (and how if it is) to input data to cacti from a source (device or mediation server) that has accumulated time serie data. For example, if a device is able to put the value of a counter in history buckets at regular interval, along with a time stamp, can cacti input this data (and the timestamp)? Another example is the RMON history table.
I am new to cacti and search for this but could not find any answer.
Is it possible (and how if it is) to input data to cacti from a source (device or mediation server) that has accumulated time serie data. For example, if a device is able to put the value of a counter in history buckets at regular interval, along with a time stamp, can cacti input this data (and the timestamp)? Another example is the RMON history table.
I looked at the principle of operation but this is still not clear to me. Let me give a more detailed example:
let say I need to poll a counter every 15 min, cacti can be set to go and get the data at 15 min interval. This is fine. But let say that the cacti server is down between 8 o'clock and 11 o'clock and the device is able to store the counter value at the same 15 minute interval. How should the data input method be defined such that when it runs at 11 o'clock and get the data for 0800h, 0815h, 0830h, 0830h, etc. it can return the data and their corresponding time stamp to cacti?
let say I need to poll a counter every 15 min, cacti can be set to go and get the data at 15 min interval. This is fine. But let say that the cacti server is down between 8 o'clock and 11 o'clock and the device is able to store the counter value at the same 15 minute interval. How should the data input method be defined such that when it runs at 11 o'clock and get the data for 0800h, 0815h, 0830h, 0830h, etc. it can return the data and their corresponding time stamp to cacti?
Cacti isn't structured to do such a thing. You will have to manually run the correct rrdtool update commands for the correct times... but I believe that if you're trying to insert data into the past (where rrdtool has already filled it in with "U") it won't work either. Worst case, you rrdtool dump, edit in the data into the raw xml and then rrdtool import back to an rrd file. Ugly hack.clauder wrote:How should the data input method be defined such that when it runs at 11 o'clock and get the data for 0800h, 0815h, 0830h, 0830h, etc. it can return the data and their corresponding time stamp to cacti?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
1 file per data source. Look in the data sources to find out the path and file cacti uses. I'd also suggest you turn on the Structured RRA Path feature (settings -> paths).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Yes, new as of 0.8.7d (0.8.7e is the latest though).clauder wrote:I do not find the Structured RRA option in my installation. I have 0.8.7b, is this a new option?
Also, is there release notes? All I can see are the official patches.
http://www.cacti.net/changelog.php
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 7 guests