On Tue, Feb 19, 2008 at 01:15:07PM +0100, Jose Carlos Garcia Sogo wrote: > Perhaps, this should be added as configuration options in /etc/default or > better in /etc/smokeping. What do you think, Niko?
I think it could well go in /etc/default; the point of the slave mode is that there's (almost) no local configuration, and the division between /etc/smokeping and /etc/default would match this. The default config could be something like # /etc/default/smokeping: Startup configuration for smokeping(1) # # select master or slave mode MODE=master # in master mode, the rest of the configuration is in # /etc/smokeping/config # # in slave mode, uncomment and set the following variables too # see smokeping(1) # # Mandatory configuration # MASTER_URL=http://somewhere/cgi-bin/smokeping.cgi # SHARED_SECRET=/etc/smokeping/slavesecrets.conf # # Optional configuration # SLAVE_NAME=myslave The --cache-dir=/var/lib/smokeping option can be hardcoded into the init script, I don't see any reason for making it more configurable. Jose, does this look OK? Would you like to implement this or shall I put it in my TODO list? Hm, maybe we should really get that git repository going.... Cheers, -- Niko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

