RRD plugin.

Remove "conf" arguments (use cfg.CONF instead).
This commit is contained in:
François Rossigneux
2012-12-12 16:24:41 +01:00
parent 260a1134d7
commit 1585f351e0
14 changed files with 293 additions and 52 deletions

20
etc/kwapi/rrd.conf Normal file
View File

@@ -0,0 +1,20 @@
# Kwapi config file
[DEFAULT]
# Communication
rrd_port = 8080
probes_endpoint = ipc:///tmp/kwapi
# Storage
rrd_dir = /tmp/kwapi-rrd
# Timers
cleaning_interval = 300
rebuild_graphs_interval = 5
# Billing
kwh_price = 0.125
# Log files
log_file = /tmp/kwapi-api.log