RRD file generation

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

RRD file generation

Post by wwolkers »

I just ran into a small 'glitch'.
I am running DomotigaServer.

I have setup Domotiga with the plugwise extension, which is working OK so far. I started with just one plug added to Domotiga, just for testing.

Later, I added more plugs to the configuration using Domotiga, since I can't do that yet from the web interface.
Problem is that at that moment, the Domotiga client tries to make the .rrd files, which it can't (no permissions to the rrd directory).
Shouldn't those be generated by the DomotigaServer process??

Also, is it a plan to add some XMLRPC functions, so configuration changes can be done that way, with some form of authentication, for whomever wants to use it?
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: RRD file generation

Post by wwolkers »

What I also noticed is that if I stop DomotigaServer and start it again, it will create the .rrd files.
So I'm buessing that since the devices got added via Domotiga, DomotigaServer doesn't notice the changes.
Which is weird, cause the webinterface is picking them up without a restart.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RRD file generation

Post by RDNZL »

DomotiGaServer sees the new devices too, that's not the problem.
But it needs to call RRDTool.CreateRRDs(), DomotiGaServer does this on startup and DomotiGa GUI does this also when a device is added.
I will add XMLRPC methods to do this. (I think...)
Regards, Ron.
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: RRD file generation

Post by wwolkers »

If you don't have the time, I'll have a look at implementing the XMLRPC functions for it. Should be a good start for me with Gambas :) Just let me know.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RRD file generation

Post by RDNZL »

I have added this to revision 494, it will now also only create rrd for devices newly added or changed, instead of checking all.
There will be more of these type of client/server issues for sure, for example generating graphs..
But if you can describe them a bit in detail we can fix those too..
Regards, Ron.
Post Reply

Return to “DomotiGa Forum”