path: root/fbdaemon
diff options
authorChristian Mollekopf <>2013-06-17 15:29:32 (GMT)
committerChristian Mollekopf <>2013-06-17 15:29:32 (GMT)
commitd2bdc618f26aa52e8307d820bd30cd98174accb4 (patch)
treecadd2506f368a2bb1f0ba4356050a998e7562c6e /fbdaemon
parent0b635db49ba8e63a337eaec5e0b42c51f9f4f717 (diff)
Diffstat (limited to 'fbdaemon')
1 files changed, 58 insertions, 0 deletions
diff --git a/fbdaemon/README b/fbdaemon/README
new file mode 100644
index 0000000..096a412
--- /dev/null
+++ b/fbdaemon/README
@@ -0,0 +1,58 @@
+The fbdeamon generates and aggreagates fb (freebusy) information on the kolab server.
+== Functionality ==
+The agent has two primary purposes, the generation of kolab freebusy objects from calendar data, and the aggregation of said objects into an ical file (.ifb) that can be published for consumers.
+Freebusy information can either be:
+* generated (--generate $USER)
+* aggregated (--aggregate $USER)
+* batch generated and aggregated for all users (--generateall $FILTER)
+$FILTER is a simply checkes wether $FILTER is part of the user (i.e., will check that is part of the username).
+=== Generation ===
+The generating process uses all events found in the calendar folders of the user as input, and generates a single freebusy object as output.
+The freebusy information is generated by iterating through all available events, inserting a busy period for each event that is not transparent.
+The process is influenced by the following configuration options:
+* timeframe: limits the processed events to the ones that occur within the specified timeframe. The timeframe always starts at the current date-time.
+The freebusy object (see [0]) is stored in a dedicated folder for freebusy objects (kolab type "freebusy") which is created if not existing.
+Note that old freebusy objects are removed by the process once a new object is generated (there is supposed to be always one per user).
+=== Aggregation ===
+The aggregater is supposed to aggregate various fb-information sources. Currently the only source is the previously generated freebusy object.
+The aggregator reads all freebusy objects, merges the periods of each object and then generates an .ifb file which can then be published. Note there is no deduplication of periods and it is perfectly valid to have an object with multiple equal periods.
+The default output directory is /var/lib/kolab-freebusy
+== Configuration ==
+The configruation file is by default at /etc/kolab/kolab.conf. The location can be overridden using --configuration.
+Example (with default values):
+The following configuration options are available:
+* timeframe: in days, timeframe from current date time for which to generate fb information
+* admin_login/admin_password: used to get a list of users
+* uri: server address in the format [imap[s]://]URL[:PORT]. Default ports are 993 for ssl and 143 otherwise.
+== Additional Information ==
+For additional information regarding the design and future features, see:
+[0] \ No newline at end of file