Tested with rrdtool versions:
Wire keywords (standard handler keywords documented in Wire )
// keep loadavg in rrd create handler rrd { rrdfilename: loadavg.rrd desc: "Load Average" create: '-s 300 DS:loadavg:GAUGE:600:U:U RRA:AVERAGE:0.5:1:12 RRA:AVERAGE:0.5:6:48' // hourly (single sample) and daily (30min sample) regevent: $load.15min }
Events accepted:
| Type | Description |
|---|---|
| any | Record in rrd |
#include <stdio.h>
#include "rrd.h"
#include "monitor.h"
#include "wire.h"
Go to the source code of this file.
Data Structures | |
| struct | aw_rrdhandler_t |
| Rrd handler object. More... | |
Functions | |
| aw_rrdhandler_t * | aw_create_rrdhandler (const byte_t *rrdfilename, const byte_t *desc, const byte_t *create, int32_t(*regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), int32_t(*regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), const aw_alarm_sched_t *sched, aw_logger_t *aware_logger) |
| Create a rrd filter handler. | |
| void | aw_free_rrdhandler (aw_rrdhandler_t *h) |
| Free handler and all associated resources. | |
| aw_handler_t * | aw_wire_rrdhandler (aw_wire_mkhandler_args_t *args) |
| Create a rrdhandler using "wire". See header doc for keyword documentation. | |
|
||||||||||||||||||||||||||||||||
|
Create a rrd filter handler. aw_create_rrdhandler
|
|
|
Free handler and all associated resources. aw_free_rrdhandler
|
|
|
Create a rrdhandler using "wire". See header doc for keyword documentation. aw_wire_rrdhandler |