Hi Guys I just installed this yesterday, and may I just say WOW!! This is very nice! Thanks!
I have a few questions if you dont mind
1. I read in the thread about wearing out the SD Card, and about mooving the DB to a ram drive, is this done by default?
I can see that the #persistent_db = /usr/local/var/lib/pellmon/nvrrd.db is marked out. So I think its not? How do I set that up?
2. I would like to se the Boiler Return Temp, Flow and Magazine Content into the graph, so i added them to the conf file as d12, d13 and d14. and deleted the /usr/local/var/lib/pellmon/rrd.db Rebooted my PI, and the log said:
2013-10-17 14:14:49,910 - INFO - Created rrd database: rrdtool create /usr/local/var/lib/pellmon/rrd.db --step 30 DS:power_kW:GAUGE:120:U:U DS:boiler_temp:GAUGE:120:U:U DS:chute_temp:GAUGE:120:U:U DS:light:GAUGE:120:U:U DS:oxygen_desired:GAUGE:120:U:U DS:oxygen:GAUGE:120:U:U DS:power:GAUGE:120:U:U DS:smoke_temp:GAUGE:120:U:U DS:feeder_time:COUNTER:120:U:U DS:feeder_capacity:GAUGE:120:U:U DS:Boiler_Return_Temp:GAUGE:120:U:U DS:Flow:GAUGE:120:U:U DS:Magazine_Content:GAUGE:120:U:U DS:_logtick:COUNTER:120:U:U RRA:AVERAGE:0,999:1:20000 RRA:AVERAGE:0,999:10:20000 RRA:AVERAGE:0,999
![:100:](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4af.svg)
20000 RRA:AVERAGE:0,999:1000:20000
But now its not showing anything in the grafs, the new items are shown with colors under the graf, so that works :/
This is my conf file:
# or use some other method to add the new dataset to the existing rrd database
# dataSetName = parameter/data name
# The datasets are created and updated in the order they are defined here
# Data names starting with underscore are handled by special cases in the code,
# they are not included in the normal data polling routine. In general
# underscored names are written as undefined
d01 = power_kW
d02 = boiler_temp
d03 = chute_temp
d04 = light
d05 = oxygen_desired
d06 = oxygen
d07 = power
d08 = smoke_temp
d09 = feeder_time
d10 = feeder_capacity
d11 = Boiler_Return_Temp
d12 = Flow
d13 = Magazine_Content
# Whenever something is written to the log, _logtick is also increased.
# It is used to draw a tickmark in the graph
d14 = _logtick
[rrd_datasources]
# optional rrd data source definition for the datasets in the pollvalues section
# default is DS:%s:GAUGE:%u:U:U where %s is replaced with the data/parameter na$
# and %u is replaced with 4*pollinterval
d09 = DS:%s:COUNTER:%u:U:U
d14 = DS:%s:COUNTER:%u:U:U
[graphcolors]
# To add a dataSetName from the pollvalues section to the graph, set
# dataSetName = #hexcolorvalue
d01 = #FF0000
d02 = #00FF00
d03 = #0000FF
d04 = #FFFF00
d05 = #FF05FF
d06 = #0101FF
d07 = #207F20
d08 = #2F2FFF
d11 = #FF05FF
d12 = #2F2FFF
d13 = #000000
What am I doing wrong? Can there only be 10?
Last question:
What will be the best way to make custom alarms? should I just dive into learning python? I Work as a web/SW destribution programmer, so a new language would be nice
![:D :D](./images/smilies/icon_biggrin.gif)
But is this the easy'st way?
And then i have a Bug report, when I chose wich grafs i would like to have shown, the pi forgets it after a reboot :/ Is this a feature, becurse im supposed to only set the Things I would like to see in the config?
Again Thanks this is AWESOME
![:D :D](./images/smilies/icon_biggrin.gif)