Added tables parameter_class and parameter_notification.
[gnucomo.git] / doc / manifest.xml
index e0c224a..cf570a7 100644 (file)
@@ -11,9 +11,9 @@
 
    <author>Brenno J.S.A.A.F. de Winter, De Winter Information Solutions</author>
    <author>Arjen Baart, Andromeda Technology &amp; Automation</author>
-   <date>October 05, 2002.</date>
+   <date>December 12th, 2002.</date>
    <docinfo>
-      <infoitem label="Version">0.20</infoitem>
+      <infoitem label="Version">0.24</infoitem>
    </docinfo>
 
 </titlepage>
@@ -24,6 +24,8 @@
    <heading>About this document.</heading>
 
 <para>
+<LaTeX command='\setlength{\parindent}{0cm}'/>
+<LaTeX command='\setlength{\parskip}{0.4cm}'/>
 This document describes the technical specifications for the Gnucomo project.
 It will describe the functionality achieved, design specifications and choices made.
 The document will be the manifest for the developers to work in the same direction
@@ -110,6 +112,31 @@ and not run into unneeded disappointments.
       Minor layout improvements
     </col>
   </row>
+  <row>
+    <col>0.21</col><col>Arjen Baart</col><col>Nov 07, 2002</col>
+    <col>
+      Installation instructions added.
+      Combined chapters 4 through 7 into one chapter (4).
+    </col>
+  </row>
+  <row>
+    <col>0.22</col><col>Arjen Baart</col><col>Nov 15, 2002</col>
+    <col>
+      Added parameters of monitored objects.
+    </col>
+  </row>
+  <row>
+   <col>0.23</col><col>Brenno de Winter</col><col>Dec 6, 2002</col>
+   <col>
+     Added new elements to the database
+   </col>
+  </row>
+  <row>
+   <col>0.24</col><col>Brenno de Winter</col><col>Dec 12, 2002</col>
+   <col>
+     Updates to the database to reflect the most recent changes. 
+   </col>
+  </row>
 </table>
 
 </section>
@@ -345,7 +372,7 @@ The following decisions apply to the system in general:
 </chapter>
 
 <chapter>
-  <heading>Overall system.</heading>
+  <heading>Overall system Architecture</heading>
 
 <para>
 The overall systems aims to make maintenance data better accessible and by
@@ -375,9 +402,26 @@ However it may be obvious that both sides of the application can very
 well be installed on a single system.
 </para>
 <para>
-When events<footnote>A signal can be the outcome of process that finished,
+To monitor a system, Gnucomo uses two kinds of input: <emph>event</emph> and
+<emph>parameters</emph>. Events occur on a system while it is running and reflect
+the transient behaviour of the system.
+Parameters reflect the current state of the system.
+The most obvious way to gather events from a monitored system is to read
+the system log files.
+Examples of events are IP packets that are rejected by the firewall or clients
+that access the http daemon.
+Parameters are obtained for example by reading configuration files or kernel
+data structures.
+Examples of parameters are the size and free space of a filesystem or
+the users that are listed in the password file.
+Both kinds of input are obtained actively or passively, i.e. by installing probe
+agents in the system which regularly aquire the system's parameters or passively
+by sending the output of programs to the Gnucomo server.
+</para>
+<para>
+When signals<footnote>A signal can be the outcome of process that finished,
 logbook entries, warnings from intrusion detection systems,
-etc. </footnote> happen they will be stored in a file.
+etc. </footnote> arrive they will be stored in a file.
 When this file is delivered to a certain directory a daemon will detect
 this and start the transfer of the file. The file will be transferred
 to the central application or the client. This transfer will be triggered
@@ -399,33 +443,14 @@ only two mechanisms will be supported:
 </itemize>
 
 <section>
-  <heading>Priority mechanism.</heading>
-<para>
-Each notification has a certain priority that requires a different handling
-of the issue. How each priority will be dealt with is something that can
-be set per server. The priority mechanism is a simple system of five
-categories (can be more or less).
-</para>
-<para/>
-</section>
-
-<section>
-  <heading>The dataflow diagram.</heading>
-<para>The main dataflow will be as follows.</para>
-<para>
-  <picture src="dataflow.png" eps="dataflow" scale="0.7"/>
-</para>
-<para/>
-</section>
-</chapter>
-
-<chapter>
   <heading>Central Application: signal handler.</heading>
 
 <para>
 <para>
 
   <picture src="architecture.png" eps="architecture"/>
+</para>
+<para>
        Illustration 1 Basic overview of the processes on the server.
 </para>
 
@@ -445,6 +470,7 @@ By taking a longer period such a scan is harder to detect. </footnote>. Such
 scripts make detection possible, that is too time consuming to do during
 processing of the data.
 </para>
+</section>
 
 <section>
   <heading>Data processing.</heading>
@@ -487,10 +513,56 @@ processing of the data.
     action is taken in a certain amount of time.
   </item>
 </itemize>
+
+<subsection>
+<heading>System Parameters</heading>
+
+<para>
+Gnucomo maintains the operational parameters of a monitored system for a
+number of reasons.
+The most important reason is to create notifications when somthing about a
+parameter changes while the parameter is not supposed to change.
+Such a change may be intended by the system administrator, e.g. when a
+package is upgraded, or there may be something wrong.
+In any case, you will want to know about a change in your system when it happens.
+Furthermore, a change history of a parameter's values will come in
+handy when you want to look back in time and figure out
+what happened in the past.
+Another usefull application of parameters concerns the maintenance of a 
+large number of similar systems.
+When the parameters of each system are reported regularly to Gnucomo,
+deviations from the 'standard' system configuration can be easily spotted.
+</para>
+<para>
+Some properties of parameters are supposed to change regularly.
+A changed value of such a property will of course not lead to any
+notification.
+On the other hand, the change history of these parameters may provide
+interesting information about the monitored system.
+This leads to the distiction between static and dynamic properties of parameters.
+The difference between dynamic and static properties manifests itself mainly
+in the change history of the parameter's property.
+Dynamic properties typically have a change record once a day or even a couple
+of times a day.
+Change records for static properties are usually months apart.
+</para>
+<para>
+The state of parameters is scanned or probed regularly on a client system
+and reported to the Gnucomo server.
+These reports can be created in a variety of ways.
+For example, filesystems are reported with 'df', installled packages with 'rpm -qa',
+users by reading /etc/passwd, etc.
+Many other probing methods may be implemented.
+Each report from a probe holds the current value of several parameters.
+Gnucomo will check each property of these parameters against the stored knwon value.
+If the property's value changed, the actual value in the database is updated
+and a record is added to the change history of the parameter.
+</para>
+</subsection>
 </section>
 
 <section>
-  <heading>Web interface.</heading>
+  <heading>Web interface</heading>
 
 <para>
 The web interface will used to interact with the user.
@@ -523,9 +595,27 @@ The interface will do the following things:
 </itemize>
 <para/>
 </section>
-</chapter>
 
-<chapter>
+<section>
+  <heading>Priority mechanism.</heading>
+<para>
+Each notification has a certain priority that requires a different handling
+of the issue. How each priority will be dealt with is something that can
+be set per server. The priority mechanism is a simple system of five
+categories (can be more or less).
+</para>
+</section>
+
+<section>
+  <heading>The dataflow diagram.</heading>
+<para>The main dataflow will be as follows.</para>
+<para>
+  <picture src="dataflow.png" eps="dataflow" scale="0.7"/>
+</para>
+<para/>
+</section>
+
+<section>
   <heading>Sending messages to the central gnucomo system.</heading>
 
 <para>
@@ -544,12 +634,12 @@ to begin with:
     </item>
 </enumerate>
 
-<section>
+<subsection>
   <heading>Ensuring data integrity.</heading>
 <para>&lt;TO BE DESCRIBED&gt;</para>
-</section>
+</subsection>
 
-<section>
+<subsection>
   <heading>Directories and filenames on the server.</heading>
 
 <para>
@@ -658,7 +748,7 @@ the logic behind this is following:
   </row>
 </table>
 
-<subsection>
+<subsubsection>
   <heading>Directory for incoming data.</heading>
 
 <para>
@@ -699,9 +789,9 @@ For incoming messages there will be separate directories
       The used directory is: <code>/home/gnucomo/archive/</code>
     </item>
 </enumerate>
-</subsection>
+</subsubsection>
 
-<subsection>
+<subsubsection>
    <heading>Directory for outgoing data.</heading>
 
 <para>
@@ -735,9 +825,9 @@ be used. This directory knows a couple of sub directories:
     </item>
 </enumerate>
 
-</subsection>
+</subsubsection>
 
-<subsection>
+<subsubsection>
    <heading>Overview. </heading>
 
 <para>The total directory-structure looks like this:</para>
@@ -757,10 +847,10 @@ be used. This directory knows a couple of sub directories:
     /home/gnucomo/outgoing/processed
 </verbatim>
 
+</subsubsection>
 </subsection>
-</section>
 
-<section>
+<subsection>
   <heading>Directories on the client-side.</heading>
 
 <para>
@@ -780,7 +870,7 @@ the gnucomo-client should have a different default user.
 For this purpose the user <strong>gcm_client</strong> will be created.
 </para>
 
-<subsection>
+<subsubsection>
    <heading>Directory for incoming data.</heading>
 <para>
 For incoming messages there will be separate directories
@@ -818,9 +908,9 @@ For incoming messages there will be separate directories
     </item>
 </enumerate>
 
-</subsection>
+</subsubsection>
 
-<subsection>
+<subsubsection>
    <heading>Directory for outgoing data.</heading>
 
 <para>
@@ -846,9 +936,9 @@ This directory knows a couple of sub directories:
       The directory is: <code>/home/gcm_client/outgoing/processed/</code>
     </item>
 </enumerate>
-</subsection>
+</subsubsection>
 
-<subsection>
+<subsubsection>
   <heading>Overview. </heading>
     <para>The total directory-structure looks like this:</para>
 
@@ -866,11 +956,11 @@ This directory knows a couple of sub directories:
     /home/gcm_client/outgoing/outbox
     /home/gcm_client/outgoing/processed
 </verbatim>
+</subsubsection>
 </subsection>
 </section>
-</chapter>
 
-<chapter>
+<section>
       <heading>Getting data into the database.</heading>
 
 <para>
@@ -916,6 +1006,7 @@ This user has only the right to enter data into the database.
 There are no deletion, update or select-permissions.
 </para>
 
+</section>
 </chapter>
 
 <chapter>
@@ -925,14 +1016,14 @@ There are no deletion, update or select-permissions.
 The database is the heart of the system.
 It will contain all event-data of multiple computers.
 The intelligence that can be performed on the database will be placed there.
-To do this as integrated as possible stored procedures and triggers will be used.
+To do this as integratedly as possible stored procedures and triggers will be used.
 To begin with we have selected checks to be performed that will be
 expanded throughout time.
 </para>
 <para>
 Since the gnucomo database and files contain sensitive data
 security measures have to be in place. Several database users
-will be exist that have limited rights to perform a certain task
+will exist that have limited rights to perform a certain task
 ensuring some protection against unauthorized access.
 However these mechanisms on it's own will work fine, bad maintenance may still
 screw-up good security. Good database maintenance is needed.
@@ -988,6 +1079,15 @@ scan and affect the performance of the overall system dramatically.
 One of the techniques to increase performance on display is to work with views.
 So where it is feasible we will use them.
 </para>
+
+<para>
+The following model pictures the database as described in the remainder
+of this chapter.
+</para>
+<para>
+      <picture src="erd.png" eps="erd" scale="0.7"/>
+</para>
+
 <para>
 In general the database must also be maintained well.
 So daily maintenance scripts should keep the performance good<footnote>PostgreSQL seems
@@ -1027,12 +1127,21 @@ index has been selected.
 <heading>action</heading>
 
 <para>
+This table stores the actions that are recognized by the system.
+Whenever a situation in the database has been raised (through the table notification)
+one expects steps to be taken to resolve these issues.
+All these steps are stored in this table.
+Each step beginning with detection until a case is closed can be traced back through this table.
+This will support the <strong>accountability</strong> (who is responsible for which action)
+and <strong>non-repudiation</strong> (being able to trace what exactly happened to each notification).
 In the table action all recognized actions that can be taken are stored.
-Several actions will lead to change in <emph>statuscode</emph>.
-However this doesn't apply to all actions<footnote>A status NEW
+Several of the taken actions will lead to change in <emph>statuscode</emph>.
+When this is the case either the server-side of the interfaces or the gcm_daemon will perform this task. 
+This doesn't apply to all actions though.<footnote>A status NEW
 of a notification that cannot be dealt with automatically will
 <strong>not</strong> change before a user looked at it.</footnote>.
 Actions take place through background processes and the interface.
+Each action known by the system will be delivered by the software.
 This table mainly is used for retrieval so indexing will be done as much as possible.
 </para>
 
@@ -1054,19 +1163,22 @@ The table below describes the fields:
   <row>
     <col> actionid </col> <col> Bigserial </col> <col> 8 </col>
     <col>
-      Autonumber bigint (eight bit)
+      Autonumber bigint (eight bit). Unique identifyer to refer to when this action is taken.
     </col>
   </row>
   <row>
     <col> actionname </col> <col> Text </col> <col> <para/> </col>
     <col>
-      Short descriptive name for the type of action
+      Short descriptive name for the type of action.
     </col>
   </row>
   <row>
     <col> statuscode </col> <col> Varchar </col> <col> 3 </col>
     <col>
       New status that will be given to a notification when this action takes place.
+      If the action occurs the status in the notification can change because of this.
+      The statuscode will indicate what the new status has to be.
+      If this field is left empty no change to the status will occur.
     </col>
   </row>
   <row>
@@ -1116,8 +1228,9 @@ Relationships with other tables:
       <row>
         <col> actionid </col> <col> action_notification_user </col>
         <col>
-          Each action that takes place will be log. The Actionid will bring
-          classification to the individual records. This relationship has to be enforced.
+          Each action that takes placed will be stored. The Actionid will bring
+          classification to the individual records (that reflect what it means if the action-occurred).
+          This relationship has to be enforced.
         </col>
       </row>
     </table>
@@ -1137,121 +1250,147 @@ The user cannot change this or add value to it.
 
 <table cpos='p{1cm}p{2cm}p{1.5cm}p{6cm}'>
   <thead>
-    <col> Actionid </col> <col> Actionname </col> <col> Statuscode </col>
+    <col>Actionid</col><col>Actionname</col><col>Statuscode</col>
     <col>
       Description
     </col>
   </thead>
   <row>
-    <col> 1 </col> <col> Entry in the system </col> <col> NEW </col>
+    <col>1</col><col>Entry in the system</col><col>NEW</col>
     <col>
       This indicates that a notification is entered into the system. The status is a <strong>NEW</strong>.
     </col>
   </row>
   <row>
-    <col> 2 </col> <col> Displayed to user </col> <col> OPN </col>
+    <col>2</col><col>Displayed to user</col><col>OPN</col>
     <col>
-      The notification has been displayed to the user. It is not guaranteed that the user has read the notification, but he/she should be aware of it. The status will now be changed to <strong>OPEN</strong> if the current status is <strong>NEW</strong>.
+      The notification has been displayed to the user.
+      It is not guaranteed that the user has read the notification,
+      but he/she should be aware of it.
+      The status will now be changed to <strong>OPEN</strong> if the current
+      status is <strong>NEW</strong>.
     </col>
   </row>
   <row>
-    <col> 3 </col> <col> Remarks added </col> <col> PEN </col>
+    <col>3</col><col>Remarks added</col><col>PEN</col>
     <col>
-      Remarks have been added to the notification. The status has now been changed to <strong>PENDING</strong>.
+      Remarks have been added to the notification. The status has now been
+      changed to <strong>PENDING</strong>.
     </col>
   </row>
   <row>
-    <col> 4 </col> <col> Priority changed manually </col> <col> PEN </col>
+    <col>4</col><col>Priority changed manually</col><col>PEN</col>
     <col>
-      The priority of the notification has been changed by the user. The new status is now <strong>PENDING</strong>.
+      The priority of the notification has been changed by the user.
+      The new status is now <strong>PENDING</strong>.
     </col>
   </row>
   <row>
-    <col> 5 </col> <col> Priority changed automatically </col> <col> PEN </col>
+    <col>5</col><col>Priority changed automatically</col><col>PEN</col>
     <col>
-      The priority of the notification has been changed by the system. If the status is not <strong>OPEN</strong> or <strong>NEW</strong> the new status is become <strong>PENDING</strong>.
+      The priority of the notification has been changed by the system.
+      If the status is not <strong>OPEN</strong> or <strong>NEW</strong> the new
+      status is become <strong>PENDING</strong>.
     </col>
   </row>
   <row>
-    <col> 6 </col> <col> Action taken </col> <col> PEN </col>
+    <col>6</col><col>Action taken</col><col>PEN</col>
     <col>
       A action has been taken. The status is now <strong>PENDING</strong>.
     </col>
   </row>
   <row>
-    <col> 7 </col> <col> Assignment to user </col> <col> PEN </col>
+    <col>7</col><col>Assignment to user</col><col>PEN</col>
     <col>
-      A notification has been explicitly assigned to another user. The status is now <strong>PENDING</strong>.
+      A notification has been explicitly assigned to another user.
+      The status is now <strong>PENDING</strong>.
     </col>
   </row>
   <row>
-    <col> 8 </col> <col> More information or research needed.  </col> <col> INV </col>
+    <col>8</col><col>More information or research needed.</col><col>INV</col>
     <col>
-      The notification is relevant and will be handled, however more information or research will be needed. The status is <strong>UNDER INVESTIGATION</strong>.
+      The notification is relevant and will be handled, however more information
+      or research will be needed. The status is <strong>UNDER INVESTIGATION</strong>.
     </col>
   </row>
   <row>
-    <col> 9 </col> <col> Make output reference.  </col> <col> REF </col>
+    <col>9</col><col>Make output reference.</col><col>REF</col>
     <col>
-      Automated output from an object has been sent to gnucomo. The input has been identified as a valid reference for future. Status is now <strong>REFERENCE</strong><footnote>A reference is used to find differences in output. This feature must reduce the number of wrongful alerts. Only if a change has taken place a notification is generated. First time reports will always generate a notification. By signing this off the system will be silent again.</footnote>.
+      Automated output from an object has been sent to gnucomo.
+      The input has been identified as a valid reference for future.
+      Status is now <strong>REFERENCE</strong><footnote>A reference is used to
+      find differences in output. This feature must reduce the number of wrongful alerts.
+      Only if a change has taken place a notification is generated.
+      First time reports will always generate a notification.
+      By signing this off the system will be silent again.</footnote>.
     </col>
   </row>
   <row>
-    <col> 10 </col> <col> Job output no longer reference.  </col> <col> CLS </col>
+    <col>10</col><col>Job output no longer reference.</col><col>CLS</col>
     <col>
-  By making a newer job output reference this output has been obsoleted. Since once it was a reference the notification can be closed. The new status for the notification is now <strong>CLOSED</strong>.
+      By making a newer job output reference this output has been obsoleted.
+      Since once it was a reference the notification can be closed.
+      The new status for the notification is now <strong>CLOSED</strong>.
     </col>
   </row>
   <row>
-    <col> 11 </col> <col> Action taken please verify.  </col> <col> VRF </col>
+    <col>11</col><col>Action taken please verify.</col><col>VRF</col>
     <col>
-      An action has been taken and things should have been resolved. Before the notification can be closed a verification has to be done. New status is now <strong>VERIFY</strong>.
+      An action has been taken and things should have been resolved.
+      Before the notification can be closed a verification has to be done.
+      New status is now <strong>VERIFY</strong>.
     </col>
   </row>
   <row>
-    <col> 12 </col> <col> Action not accepted.  </col> <col> PEN </col>
+    <col>12</col><col>Action not accepted.</col><col>PEN</col>
     <col>
-      A check has been done and the results were not good. New verification is needed. New status is now <strong>PENDING</strong>.
+      A check has been done and the results were not good.
+      New verification is needed.
+      New status is now <strong>PENDING</strong>.
     </col>
   </row>
   <row>
-    <col> 13 </col> <col> Action verified </col> <col> CLS </col>
+    <col>13</col><col>Action verified</col><col>CLS</col>
     <col>
-      The verification for the action has been done and the action is approved. The new status is now <strong>CLOSED</strong>.
+      The verification for the action has been done and the action is approved.
+      The new status is now <strong>CLOSED</strong>.
     </col>
   </row>
   <row>
-    <col> 14 </col> <col> E-mail sent </col> <col> OPN<footnote>Only if the status is <strong>NEW</strong>.</footnote> </col>
+    <col>14</col><col>E-mail sent</col>
+      <col>OPN<footnote>Only if the status is <strong>NEW</strong>.</footnote></col>
     <col>
       An e-mail has been sent.
     </col>
   </row>
   <row>
-    <col> 15 </col> <col> SMS sent </col> <col> OPN<footnote>Only if the status is <strong>NEW</strong>.</footnote> </col>
+    <col>15</col><col> SMS sent </col>
+      <col>OPN<footnote>Only if the status is <strong>NEW</strong>.</footnote></col>
     <col>
       A SMS has been sent.
     </col>
   </row>
   <row>
-    <col> 16 </col> <col> Fax sent </col> <col> OPN<footnote>Only if the status is <strong>NEW</strong>.</footnote> </col>
+    <col>16</col><col>Fax sent</col>
+      <col>OPN<footnote>Only if the status is <strong>NEW</strong>.</footnote></col>
     <col>
       A fax has been sent.
     </col>
   </row>
   <row>
-    <col> 17 </col> <col> Log-entries shown </col> <col> XXXX </col>
+    <col>17</col><col>Log-entries shown</col><col>XXXX</col>
     <col>
       The log entries have been shown. No changes to the status made.
     </col>
   </row>
   <row>
-    <col> 18 </col> <col> Notification closed </col> <col> CLS </col>
+    <col>18</col><col>Notification closed</col><col>CLS</col>
     <col>
       Notification has been closed.
     </col>
   </row>
   <row>
-    <col> 19 </col> <col> Notification reopened </col> <col> OPN </col>
+    <col>19</col><col>Notification reopened</col><col>OPN</col>
     <col>
       Notification has been re-opened
     </col>
@@ -1262,13 +1401,16 @@ The user cannot change this or add value to it.
 </subsection>
 
 <subsection>
-   <heading>Action_notification_user.</heading>
+   <heading>Action_user.</heading>
 
 <para>
-In the table action_notification_user each step that is taken regarding a
-notification is logged. This table is very important for later use if
+This table stores each actual action taken.
+Where the action basically stores the type of actions that can be taken,
+this table says 'at this point in time for this notification this action was taken'.
+Using this table it is traceable who did what at which moment in time.
+The table is very important for later use if
 something goes wrong, but is also relevant for the interface.
-All steps of a notification can be traced here.
+All steps of a in the process of a notification can be traced using this table.
 There will be a lot of entries here, but retrieval is more crucial for
 performance than data entry. So indexing on logic fields is very relevant.
 Processing might be slower, but that's worth the price.
@@ -1291,43 +1433,50 @@ The table below describes the fields:
   <row>
     <col> actionstepid </col> <col> Bigserial </col> <col> 8 </col>
     <col>
-      Autonumber bigint (eight bit)
+      Autonumber bigint (eight bit). A unique identifyer to indicate each step in the process.
     </col>
   </row>
   <row>
     <col> actionid </col> <col> Bigint </col> <col> 8 </col>
     <col>
-      Reference to the action that is being registered here.
+      Reference to the action that is being registered here. This field refers to the actual action taken.
     </col>
   </row>
   <row>
     <col> username </col> <col> Text </col> <col> <para/> </col>
     <col>
-      The username of the user that is involved in the action.
+      The username of the user that is involved in the action. This field refers to the table <strong>usr</strong>
     </col>
   </row>
   <row>
     <col> notificationid </col> <col> Bigint </col> <col> 8 </col>
     <col>
-      Reference to the notification.
+      Reference to the notification. This will link the action to the notification.
     </col>
   </row>
   <row>
     <col> timestamp </col> <col> Timestamp </col> <col> <para/> </col>
     <col>
-      The time when the action has been entered into the system. This is the time without the timezone<footnote>The timestamp without time has been selected, since this is the system time. To have the system functioning without any physical borders one of the settings on the system is time in GMT (UTC). This ensures also the added value of the system log.</footnote>. This will be automatically added when the record is added into the database.
+      The time when the action has been entered into the system.
+      This is the time without the timezone<footnote>The timestamp without
+      time has been selected, since this is the system time.
+      To have the system functioning without any physical borders one
+      of the settings on the system is time in GMT (UTC).
+      This ensures also the added value of the system log.</footnote>.
+      This will be automatically added when the record is added into the database.
     </col>
   </row>
   <row>
     <col> statuscode </col> <col> Varchar </col> <col> 3 </col>
     <col>
-      The status of the Notification
+      The status of the Notification AFTER this action has been taken.
     </col>
   </row>
   <row>
     <col> remarks </col> <col> Text </col> <col> <para/> </col>
     <col>
-      Remarks entered by the user if it concerns a manual action or the text of automatically generated warnings.
+      Remarks entered by the user if it concerns a manual action
+      or the text of automatically generated warnings.
     </col>
   </row>
 </table>
@@ -1387,13 +1536,17 @@ Relationships with other tables:
   <row>
     <col> notificationid </col> <col> notification </col>
     <col>
-      Each action that takes place is registered in this table. By using the notification the relevant notification. The relationship has to be enforced.
+      Each action that takes place is registered in this table.
+      By using the notification the relevant notification. The relationship has to be enforced.
     </col>
   </row>
   <row>
     <col> username </col> <col> user </col>
     <col>
-      Each step in the process has to be related to the user. If the system itself generates an action the user will be <strong>gnucomo</strong><footnote>This implies that the system automatically has an username gnucomo.</footnote>.
+      Each step in the process has to be related to the user.
+      If the system itself generates an action the user will be
+      <strong>gnucomo</strong><footnote>This implies that the system
+      automatically has an username gnucomo.</footnote>.
     </col>
   </row>
 </table>
@@ -1438,8 +1591,10 @@ Since no data is delivered automatically a couple of sample records are shown he
         <col> 3 </col> <col> 5 </col> <col> 1 </col> <col> Gnucomo </col>
         <col> 2002-07-14 16:14:09 </col> <col> OPN </col>
         <col>
-          <para>Automatic e-mail to user: <reference href="mailto:brenno@dewinter.com">brenno@dewinter.com</reference>:</para>
-          <para>Gnucomo detected a portscan on system <reference href="http://gnucomo.dewinter.com/">gnucomo.dewinter.com</reference></para>
+          <para>Automatic e-mail to user:
+      <reference href="mailto:brenno@dewinter.com">brenno@dewinter.com</reference>:</para>
+          <para>Gnucomo detected a portscan on system
+      <reference href="http://gnucomo.dewinter.com/">gnucomo.dewinter.com</reference></para>
         </col>
       </row>
       <row>
@@ -1474,7 +1629,8 @@ Since no data is delivered automatically a couple of sample records are shown he
         <col> 8 </col> <col> 3 </col> <col> 1 </col> <col> Brenno </col>
         <col> 2002-07-14 16:24:59 </col> <col> PEN </col>
         <col>
-          Services tables learns me that all services are aimed at Windows-based services. Attempts for platform specific expoits.
+          Services tables learns me that all services are aimed at Windows-based services.
+      Attempts for platform specific expoits.
         </col>
       </row>
       <row>
@@ -1510,10 +1666,79 @@ Since no data is delivered automatically a couple of sample records are shown he
 </subsection>
 
 <subsection>
+<heading>history</heading>
+<para>
+The history table records all changes to properties of parameters.
+</para>
+
+<subsubsection>
+<heading>The fields</heading>
+<para>
+The fields of the <emph>history</emph> table are listed below:
+</para>
+<table cpos='lllp{6cm}'>
+      <thead>
+        <col> Fieldname </col> <col> Fieldtype </col> <col> Size </col>
+        <col> Remarks </col>
+      </thead>
+      <row>
+        <col>paramid</col><col>bigint</col><col>8</col>
+        <col>The parameter to which this history belongs. Refers to the parameter table</col>
+      </row>
+      <row>
+        <col>modified</col><col>timestamp</col><col> </col>
+        <col>Time at which the property value or parameter changed</col>
+      </row>
+      <row>
+        <col>change_nature</col><col>enum</col><col> </col>
+        <col>Parameter created to destroyed; property value changed</col>
+      </row>
+      <row>
+        <col>changed_property</col><col>text</col><col> </col>
+        <col>Name of the parameter's property that changed.</col>
+      </row>
+      <row>
+        <col>new_value</col><col>text</col><col> </col>
+        <col>The new actual value of the property at the time of modification</col>
+      </row>
+      <row>
+        <col>remark</col><col>text</col><col> </col>
+        <col>A short explanation of why the property changed</col>
+      </row>
+</table>
+
+<para>
+Each time something about a parameter changes, this is recorded in the
+change history of the paraneter.
+When such a change happens, one of three things may occur to a parameter,
+as stated in the 'change_nature' field:
+
+<enumerate>
+<item>A new parameter is created.</item>
+<item>The value of one of the properties was altered.</item>
+<item>The parameter is removed.</item>
+</enumerate>
+
+When  a parameter is created or destroyed, the fields 'changed_property' and
+'new_value' are irrelevant.
+</para>
+
+</subsubsection>
+</subsection>
+
+<subsection>
   <heading>log &amp; log_adv. </heading>
 
 <para>
-To store the log-data there are two tables in use that have a one-on-one relationship. The logic behind this is the difference between raw-always needed data and the somewhat processed data to support basic retrieval. The last category isn't always used and when it's used it is redundant. Also the raw log is very important to the integrity of the system. For these reasons the processed data has been physically separated in a second table called <emph>log_adv</emph>. If needed a view will be available that combines the two tables. Despite the load indexing on <emph>log_adv</emph> will be done thoroughly.
+To store the log-data there are two tables in use that have a one-on-one relationship.
+The logic behind this is the difference between raw-always needed data and the somewhat
+processed data to support basic retrieval.
+The last category isn't always used and when it's used it is redundant.
+Also the raw log is very important to the integrity of the system.
+For these reasons the processed data has been physically separated in a
+second table called <emph>log_adv</emph>.
+If needed a view will be available that combines the two tables.
+Despite the load indexing on <emph>log_adv</emph> will be done thoroughly.
 </para>
 </subsection>
 
@@ -1524,7 +1749,14 @@ To store the log-data there are two tables in use that have a one-on-one relatio
   <heading>The fields of log.</heading>
 
 <para>
-The fields in log are focussed around the raw data and the data needed to link this to other tables in the system.
+The fields in log are focussed around the raw data arriving from log-files and output
+from processes that deliver status information.
+The log table is the one and only place used to automatically deliver data to the gnucomo-system.
+This makes the facts very traceable and ensures that there is one point where the data isn't
+yet fragmented (usefull if new insights are usefull). The log table also provides the
+integrity of the data as it was delivered. The data will be needed to provide 
+a link to other tables in the system that handle processed derrivates of the
+original data (added intelligence).
 </para>
 
 <table cpos='lllp{6cm}'>
@@ -1549,39 +1781,73 @@ The fields in log are focussed around the raw data and the data needed to link t
   <row>
     <col> original_filename </col> <col> Text </col> <col> <para/> </col>
     <col>
-      This field refers to the filename that contained this entry. The original entries as received by the gnucomo-server (flat files). The files are sent in batches, which makes it very hard to find where the original logline is. This will enable to see the files to detect bugs in gnucomo if any occur. It may well be that in a later stage this functionality becomes obsolete.
+      This field refers to the filename that contained this entry.
+      The original entries as received by the gnucomo-server (flat files).
+      The files are sent in batches, which makes it very hard to find where the
+      original logline is. This will enable to see the files to detect
+      bugs in gnucomo if any occur.
+      It may well be that in a later stage this functionality becomes obsolete.
     </col>
   </row>
   <row>
     <col> servicecode </col> <col> Text </col> <col> <para/> </col>
     <col>
       This field explains what service was recognized (for instance 'kernel, 'httpd' or 'smtp')
+      this make later processing easier.
     </col>
   </row>
   <row>
     <col> type_of_logid </col> <col> Bigint </col> <col> 8 </col>
     <col>
-      Reference to the table type_of_log that contains information on what type of log/report we have here (how gnucomo recognized it).
+      Reference to the table type_of_log that contains information on what
+      type of log/report we have here (how gnucomo recognized it).
     </col>
   </row>
   <row>
     <col> object_timestamp </col> <col> Timestamp </col> <col> 8 </col>
     <col>
-      Timestamp as has been written into the log.
+      Timestamp of the moment the data was written into the log-file itself.
+      This is the time on the remote system. 
     </col>
   </row>
   <row>
     <col> timestamp </col> <col> Timestamp </col> <col> <para/> </col>
     <col>
-      The time when the action has been entered into the system. This is the time without the timezone<footnote>The timestamp without time has been selected, since this is the system time. To have the system functioning without any physical borders one of the settings on the system is time in GMT (UTC). This ensures also the added value of the system log.</footnote>. This will be generated upon entry into the database.
+      The time when the action has been entered into the system.
+      This is the time without the timezone<footnote>The timestamp without time
+      has been selected, since this is the system time.
+      To have the system functioning without any physical borders one of
+      the settings on the system is time in GMT (UTC).
+      This ensures also the added value of the system log.</footnote>.
+      This will be generated upon entry into the database.
     </col>
   </row>
   <row>
     <col> rawdata </col> <col> TEXT </col> <col> <para/> </col>
     <col>
-      The raw log data
+      The raw log data as it was handed to gnucomo. 
     </col>
   </row>
+  <row>
+    <col>processed</col><col>BOOLEAN </col> <col> <para/> </col>
+    <col>This record is a flag (true or false).
+      If a record that has been entered into the log-table has been processed
+      (mostly into several log_adv-tables) this flag is set to true.
+      The flag indicates that gcm_daemon processed the record.
+      This doesn't nescessarily mean that they have been used.
+      By default the setting is false.
+      So the flag helps in the detection of new arrivals in the log-table.</col>
+  </row>
+  <row>
+   <col>recognized</col><col>BOOLEAN</col> <col><para/> </col>
+   <col>This record is a flag (true or false).
+      If the processing by gcm_daemon of this particular record has been done the flag
+      will only be set to true when gcm_daemon could process the record.
+      If there was no support for this particular entry the status remains false.
+      The main aim of this functionality is relevant when a new version of the daemon is present.
+      Unrecognized records will then be transferred to unprocessed again and a
+      new attempt will be made to process these records.</col>
+  </row>
 </table>
 </subsubsection>
 
@@ -1643,13 +1909,18 @@ Relationships with other tables:
   <row>
     <col> type_of_logid </col> <col> type_of_log </col>
     <col>
-      Each logbook has a certain type of reporting. This explains what type of log was received (and thus which rules for detection was applied).
+      Each logbook has a certain type of reporting.
+      This explains what type of log was received (and thus which rules for detection was applied).
     </col>
   </row>
   <row>
     <col> systemuser </col> <col> user </col>
     <col>
-      Links a registered user of an object to this log entry<footnote>Upon entry of an object most of the times the passwd-file (UNIX-systems) or the userlist will serve as the entrypoint of users. Non existing users will be added and will have to be verified by an administrator before this entry become definite.</footnote>.
+      Links a registered user of an object to this log
+      entry<footnote>Upon entry of an object most of the times the
+      passwd-file (UNIX-systems) or the userlist will serve as the entrypoint of users.
+      Non existing users will be added and will have to be verified by an
+      administrator before this entry become definite.</footnote>.
     </col>
   </row>
 </table>
@@ -1663,6 +1934,16 @@ Relationships with other tables:
     
 </subsubsection>
 <subsubsection>
+<heading>Log_adv</heading>
+<para>
+As soon as new data is detected in the log-table processing takes place.
+If the data is recognized by the gcm_daemon one or more log_adv records
+will be written where data is separated. Due to the high diversity multiple
+types of the log_adv table will be created.
+All of them will be an inheritance of the log_adv-table.
+</para>
+</subsubsection>
+<subsubsection>
   <heading>The fields of log_adv.</heading>
 
 <para>
@@ -1677,72 +1958,19 @@ The fields of the table <emph>log_adv</emph> are shown below:
     </col>
   </thead>
   <row>
-    <col> logid </col> <col> Bigint </col> <col> 8 </col>
-    <col>
-      Bigint (eight bit) 1-to-1 relationship with log
+    <col>log_advid</col><col>Bigint autonumber</col><col>8</col>
+    <col>Since some records can generate several log_adv records a unique identifyer is needed.
+          This record provides that.
     </col>
   </row>
   <row>
-    <col> source_ip </col> <col> Inet </col> <col> <para/> </col>
-    <col>
-      This is the IP-address (V4) of the host that sended the data.
-    </col>
-  </row>
-  <row>
-    <col> destination_ip </col> <col> Inet </col> <col> <para/> </col>
-    <col>
-      This is the IP-address (V4) of the host that was targetted.
-    </col>
-  </row>
-  <row>
-    <col> mac_address </col> <col> Macaddr </col> <col> <para/> </col>
-    <col>
-      This is the MAC-address logged
-    </col>
-  </row>
-  <row>
-    <col> packetlength </col> <col> Int </col> <col> <para/> </col>
-    <col>
-      The length of the packet
-    </col>
-  </row>
-  <row>
-    <col> protocol </col> <col> Text </col> <col> <para/> </col>
-    <col>
-      The protocol used for transmission(mostly TCP/UDP/ICMP).
-    </col>
-  </row>
-  <row>
-    <col> source_port </col> <col> Int </col> <col> <para/> </col>
-    <col>
-      The portnumber used at origin.
-    </col>
-  </row>
-  <row>
-    <col> destination_port </col> <col> Int </col> <col> <para/> </col>
-    <col>
-      The portnumber for the target
-    </col>
-  </row>
-  <row>
-    <col> messageid </col> <col> Text </col> <col> <para/> </col>
-    <col>
-      Messageid for e-mails
-    </col>
-  </row>
-  <row>
-    <col> system_username </col> <col> Text </col> <col> <para/> </col>
-    <col>
-      Username on the object
-    </col>
-  </row>
-  <row>
-    <col> networkdevice </col> <col> Text </col> <col> <para/> </col>
+    <col> logid </col> <col> Bigint </col> <col> 8 </col>
     <col>
-      When this is about network-traffic the device that worked the data
+      Bigint (eight bit) 1-to-1 relationship with log
     </col>
   </row>
 </table>
+
 </subsubsection>
 
 <subsubsection>
@@ -1819,7 +2047,8 @@ There is only one relation with this table.
   <heading>Sample data combined from log and log_adv.</heading>
 
 <para>
-The sample data derrived here has been gathered in logs. Since the tablestructure is very long the representation is somewhat different:
+The sample data derrived here has been gathered in logs.
+Since the tablestructure is very long the representation is somewhat different:
 </para>
 
 <table cpos='lp{8cm}'>
@@ -1888,7 +2117,11 @@ The sample data derrived here has been gathered in logs. Since the tablestructur
   <heading>log_notification. </heading>
 
 <para>
-In the log_notification the logbook entries that have caused an alert to occur are saved. When this table is used something has been detected. As this is clearly an intermediate table we anticipate to design checks where multiple entries in a log-file can lead to one notification. For forensics indexing will be focussed on retrieval speed.
+In the log_notification the logbook entries that have caused an alert to occur are saved.
+When this table is used something has been detected.
+As this is clearly an intermediate table we anticipate to design checks where
+multiple entries in a log-file can lead to one notification.
+For forensics indexing will be focussed on retrieval speed.
 </para>
 
 <subsubsection>
@@ -2018,7 +2251,21 @@ Some sample data:
   <heading>notification. </heading>
 
 <para>
-In this table all detected issues per object will be written. Issues are entered based on immediate detection, periodical detection or manually. Since this table is mostly used to work from in the interface being in control is crucial. When systems function properly more retrieval than data entry will take place. Also data retrieval will be done in all sorts of ways. Indexing must be huge to facilitate that.
+The main task of gnucomo is detection issues.
+As soon as something has been detected based on the queries run a notification will be created.
+This notification will be the warning towards the system that something has been detected. 
+Issues are entered based on immediate detection, periodical detection or manually.
+In an ideal case no notification will occur, but as time goes by issues will occur.
+When systems function properly more retrieval than data entry will take place.
+Also data retrieval will be done in all sorts of ways. One can think of immediate display,
+but also updates due to actions and ultimately reporting.
+Indexing must be huge to facilitate all these queries. 
+
+There will be one single point-of-contact with the gnucomo-system.
+This point-of-contact will be the XML/SOAP interface.
+By doing that we can set user-rights (as has been impleted in this table)
+without communicating that to the user.
+Also the gnucomo-XML/SOAP-interface will verify if the attempted action is allowed.
 </para>
 
 <subsubsection>
@@ -2036,7 +2283,7 @@ The fields of the <emph>notification</emph> table are:
     </col>
   </thead>
   <row>
-    <col> notificationid </col> <col> Bigserial </col> <col> 8 </col>
+    <col> notificationid </col> <col> Bigint Autonumber </col> <col> 8 </col>
     <col>
       Autonumber
     </col>
@@ -2048,57 +2295,74 @@ The fields of the <emph>notification</emph> table are:
     </col>
   </row>
   <row>
-    <col> type_of_notification_id </col> <col> Bigint </col> <col> 8 </col>
+    <col> type_of_issue_id </col> <col> Bigint </col> <col> 8 </col>
     <col>
-      Reference to the <emph>type_of_notification</emph> indicating what type of notification we have here and what basic rules apply.
+      Reference to the <emph>type_of_issue</emph> indicating what
+      type of notification we have here and what basic rules apply.
+      Notifications are always created on an issue that can be raised.
     </col>
   </row>
   <row>
     <col> timestamp </col> <col> Timestamp </col> <col> <para/> </col>
     <col>
-      Timestamp that this notification was created.
+      Timestamp used to indicate the moment when this notification was created.
     </col>
   </row>
   <row>
     <col> statuscode </col> <col> Varchar </col> <col> 3 </col>
     <col>
       The status the actual status a notification has.
+      This can be new, open, pending, waiting for verification, rejected, closed, needs investigation
     </col>
   </row>
   <row>
     <col> priority </col> <col> Int </col> <col> 4 </col>
     <col>
-      The priority that is given to this issue<footnote>Basically there will be five priority levels. The rule is that the lower the number gets the more urgent the issue is. At the moment the priority level is set by the system pre-defined actions will take place.</footnote>.
+      The priority that is given to this issue<footnote>Basically there will be
+      five priority levels. The rule is that the lower the number gets the more
+      urgent the issue is. At the moment the priority level is set by the system
+      pre-defined actions will take place.</footnote>.
     </col>
   </row>
   <row>
     <col> escalation_count_timestamp </col> <col> Timestamp </col> <col> <para/> </col>
     <col>
-      Timestamp since the last escalation took place<footnote>The system offers the possibility to automatically escalate issue if no action has been taken within a certain amount of time. Based on the status and the type of notification escalation can take place.</footnote>.
+      Each notification has a basic priority-level but if certain time-constraints
+      are not met it is possible to do an automatic escalation.
+      By doing that new rules may apply and more priority can be given.
+      This field has the timestamp since the last escalation took
+      place<footnote>The system offers
+      the possibility to automatically escalate issue if no action has been
+      taken within a certain amount of time. Based on the status and the type
+      of notification escalation can take place.</footnote>.
     </col>
   </row>
   <row>
     <col> repeat_notification_timestamp </col> <col> Timestamp </col> <col> <para/> </col>
     <col>
-      Timestamp at which moment in time a repeat notification should occur<footnote>After this time has passed a notification is being resent. After a resent automatically a new time is set for another resent. If any actions takes place (except automated entries of course) the time is emptied so that an administrator will no longer be bothered by the system.</footnote>.
+      Timestamp at which moment in time a repeat notification should occur<footnote>After
+      this time has passed a notification is being resent.
+      After a resent automatically a new time is set for another resent.
+      If any actions takes place (except automated entries of course)
+      the time is emptied so that an administrator will no longer be bothered by the system.</footnote>.
     </col>
   </row>
   <row>
     <col> securitylevel_view </col> <col> Int </col> <col> 4 </col>
     <col>
-      The securitylevel that is needed to view this entry.
+      The securitylevel that is needed to be allowed to view this entry. This field builds the opportunity to have certain specific issues only handled by certain persons. <footnote>This feature may be beneficial to make monitoring more discrete. For instance if a check is being done on who is looking on pornographic websites privacy issues play as well. By setting this value only certain users can undertake action. Something else would be a feature to have fraud protection. If this happens it goes beyond the work of a normal administrator and only certain officers are allowed to deal with these issues. One last example would also be privacy related. Suppose a system logs all the unix-commands given by a certain user. If something is found based on the actions of the users a protection mechanism is needed. Only special users are allowed to view this notification.</footnote>
     </col>
   </row>
   <row>
     <col> securitylevel_add </col> <col> Int </col> <col> 4 </col>
     <col>
-      Securitylevel to add information to this item or to undertake action
+      There is a fundamental difference between letting users see notification and actually work on notifications. This field indicates what security level needs to be present to edit this notification.  
     </col>
   </row>
   <row>
     <col> securitylevel_close </col> <col> Int </col> <col> 4 </col>
     <col>
-      The securitylevel needed to be able to close this notification.
+      The securitylevel needed to be able to close this notification. After working on an issue one ultimately hope to close the notification. This field indicates who is allowed to do so. If one attempts to close the issue, but is lacking sufficient rights the status will be changed to 'waiting for verification'. This will enable the superuser to quickly tick of the list of issues to be verified and still be in control.
     </col>
   </row>
 </table>
@@ -2230,7 +2494,8 @@ The following data is an example of a notification placed in the database.
   <heading>object</heading>
 
 <para>
-The <emph>object</emph> table contains general information on the objects being monitored. The table object will more be used for retrieval, since adding objects will be an occasional process. Anything that for some reason can be indexed ought to be indexed.
+The <emph>object</emph> table contains general information on the objects being monitored. Mostly objects will be computers, but it may also be something else in the future like routers, switches, gateways, PDA's or other devices. The table object will more be used for retrieval, since adding objects will be an
+occasional process. Anything that for some reason can be indexed ought to be indexed.
 </para>
 
 <subsubsection>
@@ -2247,7 +2512,7 @@ The fields are:
     </col>
   </thead>
   <row>
-    <col> objectid </col> <col> Bigserial </col> <col> 8 </col>
+    <col> objectid </col> <col> Bigint Autonumber </col> <col> 8 </col>
     <col>
       Autonumbering code for the computer or device.
     </col>
@@ -2255,13 +2520,14 @@ The fields are:
   <row>
     <col> objectname </col> <col> Text </col> <col> <para/> </col>
     <col>
-      The hostname of the object
+      The hostname of the object as it can be recognized by the gcm_input-application.
     </col>
   </row>
   <row>
     <col> objectcode </col> <col> Text </col> <col> <para/> </col>
     <col>
-      Unique identifier (if existent) on the system<footnote>In Linux this will typically be the <emph>hostid</emph>.</footnote>.
+      Unique identifier (if existent) on the system<footnote>In Linux this will
+      typically be the <emph>hostid</emph>.</footnote>.
     </col>
   </row>
   <row>
@@ -2323,7 +2589,7 @@ The fields are:
       <para/>
     </col>
     <col>
-      Description of the object. What type of system is it
+      Description of the object. What type of system is it, what specifics are there to know, etc.
     </col>
   </row>
   <row>
@@ -2341,7 +2607,9 @@ The fields are:
   <row>
     <col> timezone </col> <col> Text </col> <col> <para/> </col>
     <col>
-      The timezone where this object is located<footnote>For objects that move around like PDA's and laptops the timezone can be the place where a person is stationed or better GMT.</footnote>.
+      The timezone where this object is located<footnote>For objects that
+      move around like PDA's and laptops the timezone can be the place where
+      a person is stationed or better GMT.</footnote>.
     </col>
   </row>
   <row>
@@ -2397,7 +2665,8 @@ The relationships with other tables are listed below:
   <row>
     <col> <para/> </col> <col> Notification </col>
     <col>
-      Reference to the table <emph>notification</emph> that contains the notifications that have been created.
+      Reference to the table <emph>notification</emph> that contains the notifications
+      that have been created.
     </col>
   </row>
   <row>
@@ -2409,7 +2678,8 @@ The relationships with other tables are listed below:
   <row>
     <col> <para/> </col> <col> Object_priority </col>
     <col>
-      Reference to the <emph>object_priority</emph> table that indicates how a certain level of priority has to be dealt with.
+      Reference to the <emph>object_priority</emph> table that indicates how a
+      certain level of priority has to be dealt with.
     </col>
   </row>
   <row>
@@ -2439,119 +2709,65 @@ The relationships with other tables are listed below:
 <subsubsection>
   <heading>Sample data.</heading>
 <para>
-There is no preset data and therefor it's an example has been created. The table has quite some fields so the example has the fieldname in the left column and the data in the right column.
+There is no preset data and therefor it's an example has been created.
+The table has quite some fields so the example has the fieldname in the
+left column and the data in the right column.
 </para>
 <table cpos='lp{6cm}'>
       <thead>
-        <col>
-          <para>Fieldname</para>
-        </col>
-        <col>
-          <para>Sample data</para>
-        </col>
+        <col> Fieldname </col>
+        <col> Sample data </col>
       </thead>
       <row>
-        <col>
-          <para>Objectid</para>
-        </col>
-        <col>
-          <para>1</para>
-        </col>
+        <col> Objectid </col>
+        <col> 1 </col>
       </row>
       <row>
-        <col>
-          <para>Objectname</para>
-        </col>
-        <col>
-          <para>webber.dewinter.com</para>
-        </col>
+        <col> Objectname </col>
+        <col> webber.dewinter.com </col>
       </row>
       <row>
-        <col>
-          <para>Objectcode</para>
-        </col>
-        <col>
-          <para>7f0100</para>
-        </col>
+        <col> Objectcode </col>
+        <col> 7f0100 </col>
       </row>
       <row>
-        <col>
-          <para>Scp_enabled</para>
-        </col>
-        <col>
-          <para>T</para>
-        </col>
+        <col> Scp_enabled </col>
+        <col> T </col>
       </row>
       <row>
-        <col>
-          <para>Scp_inet</para>
-        </col>
-        <col>
-          <para>192.168.221.212</para>
-        </col>
+        <col> Scp_inet </col>
+        <col> 192.168.221.212 </col>
       </row>
       <row>
-        <col>
-          <para>Mail_enabled</para>
-        </col>
-        <col>
-          <para>T</para>
-        </col>
+        <col> Mail_enabled </col>
+        <col> T </col>
       </row>
       <row>
-        <col>
-          <para>Mail_from</para>
-        </col>
-        <col>
-          <para>
-            <reference href="mailto:gnucomo@maintenance.dewinter.com">gnucomo@maintenance.dewinter.com</reference>
-          </para>
-        </col>
+        <col> Mail_from </col>
+        <col> <reference href="mailto:gnucomo@maintenance.dewinter.com">gnucomo@maintenance.dewinter.com</reference> </col>
       </row>
       <row>
-        <col>
-          <para>Sms_enabled</para>
-        </col>
-        <col>
-          <para>T</para>
-        </col>
+        <col> Sms_enabled </col>
+        <col> T </col>
       </row>
       <row>
-        <col>
-          <para>Sms_number</para>
-        </col>
-        <col>
-          <para>06-XXXXXXXX</para>
-        </col>
+        <col> Sms_number </col>
+        <col> 06-XXXXXXXX </col>
       </row>
       <row>
-        <col>
-          <para>Fax_enabled</para>
-        </col>
-        <col>
-          <para>T</para>
-        </col>
+        <col> Fax_enabled </col>
+        <col> T </col>
       </row>
       <row>
-        <col>
-          <para>Fax_number</para>
-        </col>
-        <col>
-          <para>0318-XXXXXX</para>
-        </col>
+        <col> Fax_number </col>
+        <col> 0318-XXXXXX </col>
       </row>
       <row>
-        <col>
-          <para>Object_description</para>
-        </col>
-        <col>
-          <para>19 inch 4 units, AMD-300 with two 27Gb disks (RAID-0), 256Mb memory</para>
-        </col>
+        <col> Object_description </col>
+        <col> 19 inch 4 units, AMD-300 with two 27Gb disks (RAID-0), 256Mb memory </col>
       </row>
       <row>
-        <col>
-          <para>Object_owner</para>
-        </col>
+        <col> Object_owner </col>
         <col>
           <para>Brenno de Winter</para>
           <para>De Winter Information Solutions</para>
@@ -2562,25 +2778,22 @@ There is no preset data and therefor it's an example has been created. The table
         </col>
       </row>
       <row>
-        <col>
-          <para>Physical_location</para>
-        </col>
+        <col> Physical_location </col>
         <col>
           <para>Internet Provider XYZ</para>
           <para>Your street here 38</para>
           <para>9999 XX YOUR CITY</para>
           <para>THE NETHERLANDS</para>
           <para>Phone: +31 XXX XXX XXX</para>
-          <para/>
+          
           <para>Dataroom. System: Q7845</para>
         </col>
       </row>
       <row>
+        <col> Remark </col>
         <col>
-          <para>Remark</para>
-        </col>
-        <col>
-          <para>A replacement system is available at the office location. The following persons have been authorized to enter the data room at the ISP:</para>
+          <para>A replacement system is available at the office location.
+               The following persons have been authorized to enter the data room at the ISP:</para>
           <para>* Arjen Baart</para>
           <para>* Peter Busser</para>
           <para>* Brenno de Winter</para>
@@ -2594,7 +2807,10 @@ There is no preset data and therefor it's an example has been created. The table
 <subsection>
   <heading>object_issue. </heading>
 <para>
-This table will store the policy on a certain issue like the priority being recognized and special actions to take. Since policies are utilized by the systems continuously all other process will rely on this index, while users will change the values occasionally.
+This table will store the policy on a certain issue like the priority being
+recognized and special actions to take. Since values in this table are bound to the object, responses to the same incident can lead to different alert levels based on the importance of the object.
+Since policies are utilized by the systems continuously all other process will rely on this index,
+while users will change the values occasionally.
 </para>
 
 <subsubsection>
@@ -2635,7 +2851,7 @@ The fields of <emph>object_issue</emph>:
       </row>
       <row>
         <col>
-          <para>type_of_notificationid</para>
+          <para>type_of_issueid</para>
         </col>
         <col>
           <para>Bigint</para>
@@ -2644,7 +2860,8 @@ The fields of <emph>object_issue</emph>:
           <para>8</para>
         </col>
         <col>
-          <para>Reference to the <emph>type_of_notification</emph> indicating what type of notification we have here and what basic rules apply.</para>
+          <para>Reference to the <emph>type_of_issue</emph> indicating
+           how we will handle this type of issue for this particular object. If nothing is entered here, the default rules apply.</para>
         </col>
       </row>
       <row>
@@ -2658,7 +2875,8 @@ The fields of <emph>object_issue</emph>:
           <para>4</para>
         </col>
         <col>
-          <para>The priority that will be set automatically when this type of notification is entered into the system.</para>
+          <para>The priority that will be set automatically when this type of
+           issue is entered into the system.</para>
         </col>
       </row>
       <row>
@@ -2700,7 +2918,7 @@ The fields of <emph>object_issue</emph>:
           <para/>
         </col>
         <col>
-          <para>The maximum priority given to this type of notification.</para>
+          <para>The maximum priority given to this type of notification. This will prevent an endless escalation of the issue. No priority can be higher than 1.</para>
         </col>
       </row>
       <row>
@@ -2714,7 +2932,8 @@ The fields of <emph>object_issue</emph>:
           <para/>
         </col>
         <col>
-          <para>Some checks can have a special settings (for instance alert after 5 failed login attempts instead of 3).</para>
+          <para>Some checks can have a special settings (for instance alert
+           after 5 failed login attempts instead of 3).</para>
         </col>
       </row>
 </table>
@@ -2754,7 +2973,7 @@ These are the indices:
           <para/>
         </col>
         <col>
-          <para>type_of_notification_id</para>
+          <para>type_of_issue_id</para>
         </col>
         <col>
           <para>Primary key</para>
@@ -2773,10 +2992,10 @@ These are the indices:
       </row>
       <row>
         <col>
-          <para>obi_type_of_notificationid</para>
+          <para>obi_type_of_issueid</para>
         </col>
         <col>
-          <para>type_of_notification_id</para>
+          <para>type_of_issue_id</para>
         </col>
         <col>
           <para/>
@@ -2846,7 +3065,7 @@ Some sample data:
           <para>Objectid</para>
         </col>
         <col>
-          <para>Type_of_notification_id</para>
+          <para>Type_of_issue_id</para>
         </col>
         <col>
           <para>Default Priority</para>
@@ -2984,10 +3203,10 @@ Some sample data:
 </subsection>
 
 <subsection>
-  <heading>object_priority. </heading>
+  <heading>object_priority.</heading>
 
 <para>
-This table stores per object how a certain level of priority is being dealt with. What policies do apply. This table is mostly used for retrieval, so firm indexing is logic.
+By default a prioritycode has a certain meaning. But default behaviour can be used for most cases, but not all. For some objects a deviation would be usefull. For instance a very important webserver under an attack should maybe alarm more agressive than a printer-server that is used only marginally. This table stores per object how a certain level of priority is being dealt with. The main issue is the question: What policies do apply? If nothing is available default behaviour as defined in the table priority will apply. This table is mostly used for retrieval, so firm indexing is logic.
 </para>
 
 <subsubsection>
@@ -3092,7 +3311,7 @@ The fields are listed below:
           <para/>
         </col>
         <col>
-          <para>Repeat this notification if no action occurs since the notification. Yes = T / No = F</para>
+          <para>Repeat this notification if no action occurs within a certain timeframe. Yes = T / No = F</para>
         </col>
       </row>
       <row>
@@ -3166,10 +3385,10 @@ Indices of the <emph>object_priority</emph> table:
       </row>
       <row>
         <col>
-          <para>obi_type_of_notification_id</para>
+          <para>obi_type_of_issue_id</para>
         </col>
         <col>
-          <para>type_of_notification_id</para>
+          <para>type_of_issue_id</para>
         </col>
         <col>
           <para/>
@@ -3234,7 +3453,8 @@ In the model this look like this:
   <heading>object_service</heading>
 
 <para>
-The object service table indicates which services can be expected on the system If input fails to show up a notification can be generated.
+The object service table indicates which services should report itself to the Gnucomo-system.
+If input fails to show up a notification can be generated.
 </para>
 
 <subsubsection>
@@ -3298,7 +3518,12 @@ The fields are listed below:
           <para>8</para>
         </col>
         <col>
-          <para>The expected interval in minutes between two log entries. If this gives a time-out a notification is generated<footnote>To avoid many false positives it may be wise to give the system always 1 or 2 minutes extra time. If for some reason a connection is slow or a mail-daemon restarted the effect would generate tuns of notifications.</footnote>. The following values can be considered the most common:</para>
+          <para>The expected interval in minutes between two log entries.
+          If this gives a time-out a notification is generated<footnote>To avoid many
+          false positives it may be wise to give the system always 1 or 2 minutes extra time.
+          If for some reason a connection is slow or a mail-daemon restarted
+          the effect would generate tuns of notifications.</footnote>.
+          The following values can be considered the most common:</para>
           <para>* 60 hourly entries</para>
           <para>* 120 two hourly entries</para>
           <para>* 240 four hourly entries</para>
@@ -3319,7 +3544,10 @@ The fields are listed below:
           <para/>
         </col>
         <col>
-          <para>The timestamp of the last entry (for detecting exceeded interval). This field could be derived from the log-table as well, but the redundance gives a performance on detection that is useful, since a check should run every minute.</para>
+          <para>The timestamp of the last entry (for detecting exceeded interval).
+          This field could be derived from the log-table as well, but the
+          redundance gives a performance on detection that is useful, since a
+          check should run every minute.</para>
         </col>
       </row>
       <row>
@@ -3361,7 +3589,9 @@ The fields are listed below:
           <para/>
         </col>
         <col>
-          <para>If a service hasn't been set, the application user should indicate that this is valid (logs shouldn't just appear). New entries will be added automatically but still have to be verified.</para>
+          <para>If a service hasn't been set, the application user should
+          indicate that this is valid (logs shouldn't just appear).
+          New entries will be added automatically but still have to be verified.</para>
         </col>
       </row>
     </table>
@@ -3497,7 +3727,8 @@ Relationships with other tables:
   <heading>object_system_user</heading>
 
 <para>
-This table will derive a list of users that can be identified based on the log-files in the system. This table is filled during data entry. But the filling of the table is dependent on the fact if the user has been entered before. So during the processing the read will be done more than the data entry and that makes heavy indexing logic.
+Every object knows users either by the security of the object itself or through a central database (like LDAP for instance). Initially a new object can sent the userlist to gnucomo. Any username that isn't in the userlist is potentially dangerous. To avoid any mis-understandings this user is not a gnucomo-user, but a user on a remote system. So during the processing the read will be done more than the data entry (one account will most likely do multiple actions) and
+that makes heavy indexing logic.
 </para>
 <subsubsection>
   <heading>The fields.</heading>
@@ -3603,7 +3834,7 @@ The table is indexed on the following fields:
           <para>osu_pk</para>
         </col>
         <col>
-          <para>objectid</para>
+          <para>objectid, system_username</para>
         </col>
         <col>
           <para>Primary key</para>
@@ -3699,7 +3930,8 @@ Relationships with other tables:
   <heading>object_user</heading>
 
 <para>
-This table will enable users to get access to the information belonging to an object. Also this table is mainly used for data retrieval and will rely on the indexes.
+This table will enable users to get access to the information belonging to an object.
+Also this table is mainly used for data retrieval and will rely on the indexes.
 </para>
 <subsubsection>
   <heading>The fields.</heading>
@@ -3847,7 +4079,7 @@ The indices of the <emph>object_user</emph> table:
   <heading>The relationships.</heading>
 
 <para>
-Relationshiips with other tables:
+Relationships with other tables:
 </para>
 
 <table cpos='llp{8cm}'>
@@ -3893,10 +4125,207 @@ Relationshiips with other tables:
 </subsection>
 
 <subsection>
+<heading>parameter</heading>
+<para>
+The parameter table stores the operational parameters of a monitored object.
+The parameters of an object describe the object's resources and configurations.
+For each object, a large set of parameters can be defined. They range from
+anything like file systems and installed packages to the system's users.
+</para>
+
+<subsubsection>
+<heading>The fields</heading>
+<para>
+The fields of the <emph>parameter</emph> table are listed below:
+</para>
+<table cpos='lllp{6cm}'>
+      <thead>
+        <col> Fieldname </col> <col> Fieldtype </col> <col> Size </col>
+        <col> Remarks </col>
+      </thead>
+      <row>
+        <col>paramid</col><col>bigserial</col><col>8</col>
+        <col>Uniquely identifies the parameter. Used in property and history tables.</col>
+      </row>
+      <row>
+        <col>objectid</col><col>bigint</col><col>8</col>
+        <col>The object of which this is a parameter. Refers to the object table.</col>
+      </row>
+      <row>
+        <col>name</col><col>text</col><col> </col>
+        <col>Name of the parameter to identify the resource</col>
+      </row>
+      <row>
+        <col>class</col><col>text</col><col> </col>
+        <col>Similar parameters are in the same class. Refers to the
+             <emph>parameter_class</emph> table.
+        </col>
+      </row>
+      <row>
+        <col>description</col><col>text</col><col> </col>
+        <col>A verbose description of the parameter</col>
+      </row>
+      
+</table>
+
+<para>
+The combination of objectid, name and class must be unique.
+</para>
+
+</subsubsection>
+<subsubsection>
+<heading>Sample data</heading>
+
+<para>
+The table below lists a few examples of parameters
+</para>
+<table cpos='lllll'>
+   <thead>
+      <col>paramid</col><col>objectid</col><col>name</col><col>class</col><col>description</col>
+   </thead>
+   <row>
+      <col>1</col><col>1</col><col>/</col><col>filesystem</col><col>The root filesystem</col>
+   </row>
+   <row>
+      <col>2</col><col>1</col><col>/home</col><col>filesystem</col><col>Our users' homedirs</col>
+   </row>
+   <row>
+      <col>3</col><col>1</col><col>glibc</col><col>package</col><col>The standard C library</col>
+   </row>
+   <row>
+      <col>4</col><col>1</col><col>arjen</col><col>user</col><col>Arjen Baart</col>
+   </row>
+</table>
+</subsubsection>
+</subsection>
+
+
+<subsection>
+<heading>parameter_class</heading>
+<para>
+Each parameter is defined to be of a certain <emph>class</emph>.
+The class defines which properties a parameter of that class may have.
+</para>
+
+<subsubsection>
+<heading>The fields</heading>
+<para>
+The fields of the <emph>parameter_class</emph> table are listed below:
+</para>
+<table cpos='lllp{6cm}'>
+      <thead>
+        <col> Fieldname </col> <col> Fieldtype </col> <col> Size </col>
+        <col> Remarks </col>
+      </thead>
+      <row>
+        <col>name</col><col>text</col><col> </col>
+        <col>Name of the class</col>
+      </row>
+      <row>
+        <col>property_name</col><col>text</col><col> </col>
+        <col>Name of the property. Used in property table.</col>
+      </row>
+      <row>
+        <col>description</col><col>text</col><col> </col>
+        <col>A verbose description of the property</col>
+      </row>
+      <row>
+        <col>property_type</col><col>text</col><col> </col>
+        <col>Either 'STATIC' or 'DYNAMIC'</col>
+      </row>
+      <row>
+        <col>min</col><col>float</col><col>4</col>
+        <col>The default minimum value of the property.</col>
+      </row>
+      <row>
+        <col>max</col><col>float</col><col>4</col>
+        <col>The default maximum value of the property.</col>
+      </row>
+      <row>
+        <col>notify</col><col>boolean</col><col>1</col>
+        <col>If TRUE, create a notification when something about the property or
+             the parameter changes.
+        </col>
+      </row>
+      
+</table>
+
+<para>
+The combination of name and property_name must be unique.
+Note that the <emph>min</emph> and <emph>max</emph> fields are used
+only for properties of a numerical nature.
+</para>
+
+</subsubsection>
+<subsubsection>
+<heading>Sample data</heading>
+
+<para>
+The table below lists a few examples of parameter classes
+</para>
+<table cpos='lllllll'>
+   <thead>
+      <col>name</col><col>property_name</col><col>description</col><col>property_type</col>
+      <col>min</col><col>max</col><col>notify</col>
+   </thead>
+   <row>
+      <col>package</col><col>version</col><col>The installed version</col><col>STATIC</col>
+      <col> </col><col> </col><col>true</col>
+   </row>
+</table>
+</subsubsection>
+</subsection>
+
+
+<subsection>
+<heading>parameter_notification</heading>
+<para>
+The parameter_notification table defines the relationship between <emph>parameters</emph>
+and <emph>notifications</emph>.
+Whenever a parameter is changed, i.e. the parameter is created, one of its
+properties changed or a parameter is removed, this may result in a notification.
+This table provides the link between that notification and the change in
+parameter that the notification is about.
+Note that a single notification may be created for a number of changes in
+parameters.
+</para>
+
+<subsubsection>
+<heading>The fields</heading>
+<para>
+The fields of the <emph>parameter_notification</emph> table are listed below:
+</para>
+<table cpos='lllp{6cm}'>
+      <thead>
+        <col> Fieldname </col> <col> Fieldtype </col> <col> Size </col>
+        <col> Remarks </col>
+      </thead>
+      <row>
+        <col>notificationid</col><col>bigint</col><col>8</col>
+        <col>The notification for the changed parameters. Refers to the notification table.</col>
+      </row>
+      <row>
+        <col>paramid</col><col>bigserial</col><col>8</col>
+        <col>The parameter for which the notification is made. Refers to the parameter table.</col>
+      </row>
+</table>
+
+<para>
+The combination of notificationid and paramid must be unique.
+</para>
+
+</subsubsection>
+</subsection>
+
+<subsection>
   <heading>priority</heading>
 
 <para>
-The priority table contains information on the levels that are recognized by the system. Mainly data retrieval so depending on indexing. It needs to be said that most likely only a couple of states will exist<footnote>By default we will use five states, but many states can be given to enable all types of differentiation.</footnote>.
+The priority table contains information on the levels that are recognized by the system.
+Mainly data retrieval so depending on indexing.
+It needs to be said that most likely only a couple of states will exist<footnote>By default
+we will use five states, but many states can be given to enable all
+types of differentiation.</footnote>.
 </para>
 
 <subsubsection>
@@ -4080,10 +4509,91 @@ Relationships with other tables:
 </subsection>
 
 <subsection>
+<heading>property</heading>
+<para>
+The property table stores the actual values of the properties of
+operational parameters of a monitored object.
+</para>
+
+<subsubsection>
+<heading>The fields</heading>
+<para>
+The fields of the <emph>property</emph> table are listed below:
+</para>
+<table cpos='lllp{6cm}'>
+      <thead>
+        <col> Fieldname </col> <col> Fieldtype </col> <col> Size </col>
+        <col> Remarks </col>
+      </thead>
+      <row>
+        <col>paramid</col><col>bigint</col><col>8</col>
+        <col>The parameter to which this property belongs. Refers to the parameter table</col>
+      </row>
+      <row>
+        <col>name</col><col>text</col><col> </col>
+        <col>Name of the property</col>
+      </row>
+      <row>
+        <col>value</col><col>text</col><col> </col>
+        <col>The current value of the property</col>
+      </row>
+      <row>
+        <col>type</col><col>enum</col><col> </col>
+        <col>Dynamic or Static</col>
+      </row>
+      <row>
+        <col>minimum</col><col>float</col><col>8</col>
+        <col>The minimum value of the property (for numerical properties only)</col>
+      </row>
+      <row>
+        <col>maximum</col><col>float</col><col>8</col>
+        <col>The maximum value of the property (for numerical properties only)</col>
+      </row>
+      
+</table>
+
+</subsubsection>
+<subsubsection>
+<heading>Sample data</heading>
+
+<para>
+The table below lists a few examples of properties
+</para>
+<table cpos='llllll'>
+   <thead>
+      <col>paramid</col><col>name</col><col>value</col>
+      <col>type</col><col>minimum</col><col>maximum</col>
+   </thead>
+   <row>
+      <col>1</col><col>size</col><col>400000</col>
+      <col>STATIC</col><col>100000</col><col>999999999</col>
+   </row>
+   <row>
+      <col>1</col><col>used</col><col>200000</col>
+      <col>DYNAMIC</col><col>50000</col><col>400000</col>
+   </row>
+   <row>
+      <col>2</col><col>size</col><col>3000000</col>
+      <col>STATIC</col><col>100000</col><col>999999999</col>
+   </row>
+   <row>
+      <col>2</col><col>used</col><col>2000000</col>
+      <col>DYNAMIC</col><col>50000</col><col>2700000</col>
+   </row>
+   <row>
+      <col>3</col><col>version</col><col>2.2.5-39</col>
+      <col>STATIC</col><col>0</col><col>0</col>
+   </row>
+</table>
+</subsubsection>
+</subsection>
+
+<subsection>
   <heading>service</heading>
 
 <para>
-The table <emph>service</emph> indicates the service that can be handled by the system. Out of the servicelist the administrator can indicate what services to expect.
+The table <emph>service</emph> indicates the service that can be handled by the system.
+Out of the servicelist the administrator can indicate what services to expect.
 </para>
 <subsubsection>
   <heading>The fields.</heading>
@@ -4145,7 +4655,9 @@ The fields are listed below:
           <para>4</para>
         </col>
         <col>
-          <para>The advised priority if these log-entries don't come in<footnote>Advised priorities can be changed in the object_service table per object. </footnote>.</para>
+          <para>The advised priority if these log-entries don't
+           come in<footnote>Advised priorities can be changed in the object_service
+           table per object. </footnote>.</para>
         </col>
       </row>
       <row>
@@ -4159,7 +4671,9 @@ The fields are listed below:
           <para>4</para>
         </col>
         <col>
-          <para>The maximum priority advised for this service<footnote>Advised priorities can be changed in the object_service table per object.</footnote>.</para>
+          <para>The maximum priority advised for this
+          service<footnote>Advised priorities can be changed in the
+          object_service table per object.</footnote>.</para>
         </col>
       </row>
     </table>
@@ -4271,7 +4785,10 @@ Relationships with other tables:
   <heading>status.</heading>
 
 <para>
-The table <emph>status</emph> contains the possible states that a notification can have. As with the table <emph>priority</emph> these statuses are limited in number by default but can be expanded. Also here retrieval prevails above data entry and therefor indexing is important.
+The table <emph>status</emph> contains the possible states that a notification can have.
+As with the table <emph>priority</emph> these statuses are limited in number by
+default but can be expanded. Also here retrieval prevails above data entry and
+therefor indexing is important.
 </para>
 
 <subsubsection>
@@ -4516,7 +5033,8 @@ Relationships with other tables
           <para>T</para>
         </col>
         <col>
-          <para>The notification has been worked on. After it has been verified the notification can be closed.</para>
+          <para>The notification has been worked on.
+          After it has been verified the notification can be closed.</para>
         </col>
       </row>
       <row>
@@ -4568,7 +5086,10 @@ Relationships with other tables
 <subsection>
   <heading>type_of_issue.</heading>
 
-<para>This table will contain a list of all available issues that can be detected. All issues have a suggested priority setting. This is typically data retrieval and good indexing is needed.</para>
+<para>
+This table will contain a list of all available issues that can be detected.
+All issues have a suggested priority setting.
+This is typically data retrieval and good indexing is needed.</para>
 
 <subsubsection>
   <heading>The fields.</heading>
@@ -4662,6 +5183,23 @@ Fields of <emph>type_of_issue</emph> are:
           <para>Is this check currently being used in the system.</para>
         </col>
       </row>
+      <row>
+       <col><para>automated_check</para></col><col><para>Boolean</para></col><col><para>1</para></col>
+       <col><para>Is this an automated check that can be executed by gcm_daemon</para></col>
+      </row>
+      <row>
+       <col><para>alter_level</para></col><col><para>Integer</para></col><col><para>4</para></col>
+       <col><para>This field indicates what the default priority-level for a notification will be if this issue is raised.</para></col>
+      </row>
+      <row>
+       <col><para>last_run</para></col><col><para>Timestamp</para></col><col><para/></col>
+       <col><para>The time that the last processing took place.</para></col>
+      </row>
+      <row>
+       <col><para>recheck_interval</para></col><col><para>Timestamp</para></col><col><para/></col>
+       <col><para>The interval that is needed before rerunning this check.</para></col>
+      </row>
+
     </table>
 </subsubsection>
 
@@ -4757,7 +5295,9 @@ The table is indexed on the following fields:
   <heading>Default values.</heading>
 
 <para>
-All checks are entered as code into the system. This table only works for the application only. The user can set specifics in the application only.
+All checks are entered as code into the system.
+This table only works for the application only.
+The user can set specifics in the application only.
 </para>
 <table cpos='lllll'>
       <thead>
@@ -4802,7 +5342,9 @@ All checks are entered as code into the system. This table only works for the ap
   <heading>unprocessed_log</heading>
 
 <para>
-The <emph>user</emph> table contains the users that can login the monitoring application. It will also store if the users maintains the system. Mainly used for retrieval so properly indexed.
+The <emph>user</emph> table contains the users that can login the monitoring application.
+It will also store if the users maintains the system.
+Mainly used for retrieval so properly indexed.
 </para>
 
 <subsubsection>
@@ -4975,9 +5517,15 @@ Relationships with other tables:
 <subsection>
   <heading>user_gnucomo</heading>
 
-<para>The <emph>user</emph> table contains the users that can login the monitoring application. It will also store if the users maintains the system. Mainly used for retrieval so properly indexed.</para>
+<para>
+The <emph>user</emph> table contains the users that can login the monitoring application.
+It will also store if the users maintains the system.
+Mainly used for retrieval so properly indexed.
+</para>
+
 <subsubsection>
   <heading>The fields.</heading>
+
 <para>
 The fields are listed in the table below:
 </para>
@@ -5036,7 +5584,9 @@ The fields are listed in the table below:
           <para/>
         </col>
         <col>
-          <para>Sessionnumber currently used by user. If this is set to 0 a user is not present on the system. Only one session can be open at a time.</para>
+          <para>Sessionnumber currently used by user.
+          If this is set to 0 a user is not present on the system.
+          Only one session can be open at a time.</para>
         </col>
       </row>
       <row>
@@ -5149,15 +5699,6 @@ Relationships with other tables
 </subsection>
 </section>
 
-<section>
-  <heading>Model of table-relations.</heading>
-
-<para>The following model pictures the database as it has been described before.</para>
-<para>
-      <picture src="erd.png" eps="erd" scale="0.7"/>
-</para>
-
-</section>
 </chapter>
 
 <chapter>
@@ -5168,13 +5709,72 @@ Relationships with other tables
       <heading>User Interface.</heading>
 
     <para>To be determined in the near future.</para>
-    </chapter>
+</chapter>
 
-    <chapter>
-      <heading>The installation process.</heading>
+<chapter>
+  <heading>The installation process.</heading>
+
+<para>
+Since the system must make maintenance and security easier to use,
+the burden of installation should as easy as possible.
+Where possible the installation script should take away as much work as possible.
+Where settings need to be done, this should be done through an interface.
+However at no point we take the user's right to understand and work with system.
+Configuration-files should be easy to understand and the choice must be there to do installation manually.
+For the time being, we will use the manual installation procedure outlined below:
+</para>
 
-    <para>Since the system must make maintenance and security easier to use, the burden of installation should as easy as possible. Where possible the installation script should take away as much work as possible. Where settings need to be done, this should be done through an interface. However at no point we take the user's right to understand and work with system. Configuration-files should be easy to understand and the choice must be there to do installation manually. </para>
+<para>
+Since there is no binary package available for Gnucomo yet, you will need
+to compile and install Gnucomo from the source code.
+Before making the Gnucomo binaries, make sure you have the following
+packages installed:
+<itemize>
+<item>postgresql, postgresql-server, postgresql-develop</item>
+<item>AXE</item>
+<item>libxml2, libxml2-develop</item>
+</itemize>
+
+Make sure your PostgreSQL database server is up and running.
+If you also want to use the web interface, you will need Apache with PHP.
+The PHP module needs Postgresql and DOM-XML support.
+With all required packages installed, you should be able to go into
+the <emph>src</emph> directory and type <code>make</code> to create
+a binary <code>gcm_input</code>.
+</para>
+
+<para>
+To use gnucomo, you need to create a database and a configuration file.
+To make the database in your PostgreSQL server, log in as a DBA (DataBase
+Administrator, usually the user 'postgres') and create the database and a
+user who can use the database.
+Here is an example:
 
+<verbatim>
+
+  createdb gnucomo
+  createuser arjen
+
+</verbatim>
+
+If you also want to be able to use the test scripts, you will need to
+create the <code>gnucomo_test</code> database as well.
+The configuration file for Gnucomo is a rather simple XML file that
+states at least what database Gnucomo uses and the userid with which
+Gnucomo will log in to the database server.
+These parameters should be the same as the database and user you just
+created in your role of DBA.
+There is an example configuration file, <code>gnucomo.conf</code> in the
+<emph>src</emph> directory.
+You should copy this config file to one of the following places:
+<enumerate>
+<item><code>/etc/gnucomo.conf</code></item>
+<item><code>/usr/local/etc/gnucomo.conf</code></item>
+</enumerate>
+With the database and the configuration file in place, you should
+be able to run <code>gcm_input</code> to read log files and store
+log entries in the database.
+</para>
     <section>
       <heading>Supported platforms.</heading>
 
@@ -5187,7 +5787,12 @@ Relationships with other tables
         <para>RedHat Linux (.rpm packages)</para>
       </item>
     </itemize>
-    <para>We will try and facilitate as many operating systems client-side and as many unices server-side, but efforts on testing out of the projects will be very minimalistic to ensure that the project keeps delivering new version and new features. </para>
+    <para>
+      We will try and facilitate as many operating systems client-side and
+       as many unices server-side, but efforts on testing out of the projects
+       will be very minimalistic to ensure that the project keeps delivering
+       new version and new features.
+    </para>
     </section>
 
     <section>
@@ -5316,29 +5921,29 @@ similar funtions:
 </section>
 </chapter>
 
-    <chapter>
-      <heading>Settings on the server machine.</heading>
+<chapter>
+  <heading>Settings on the server machine.</heading>
 
-    <section>
-      <heading>Required.</heading>
+<section>
+  <heading>Required.</heading>
 
-    <para>The following settings are required to ensure that the functionality is as much as expected.</para>
+<para>The following settings are required to ensure that the functionality is as much as expected.</para>
 
-    <subsection>
-      <heading>Timezone in GMT (UTC).</heading>
+<subsection>
+  <heading>Timezone in GMT (UTC).</heading>
 
-    <para>Since all international traffic registers all entries in UTC (Universal Time Coordinate) this system will do so as well. Therefore the clock has to be adjusted to that as well as the system settings.</para>
-    <para>These settings can found on a RedHat computer in the <code>/etc/sysconfig/clock-file</code>. On Debian this stored in the file <code>/etc/timezone</code>.</para>
-    </subsection>
-    </section>
+<para>Since all international traffic registers all entries in UTC (Universal Time Coordinate) this system will do so as well. Therefore the clock has to be adjusted to that as well as the system settings.</para>
+<para>These settings can found on a RedHat computer in the <code>/etc/sysconfig/clock-file</code>. On Debian this stored in the file <code>/etc/timezone</code>.</para>
+</subsection>
+</section>
 
-    <section>
-      <heading>Suggested.</heading>
+<section>
+  <heading>Suggested.</heading>
 
-    <subsection>
-      <heading>Use NTP.</heading>
+<subsection>
+  <heading>Use NTP.</heading>
 
-    <para>If a computer is running for some time the clocks tend to be off the correct time. This makes it harder to detect what exactly happened exactly at what moment in time and reduce value of log-entries. Especially considering that ultimately all data is gathered in one central system. To overcome this Network Time Protocol (NTP RFC 13025 March 1992) has been created that explains a protocol to synchronize clocks through the Internet. Many operating systems like Microsoft Windows 2000 Server and FreeBSD, OpenBSD and Linux  support this. A ntp-server (or ntpd) can be found at: http://www.eecis.udel.edu/~ntp/ It is strongly recommended that you use this.</para>
+<para>If a computer is running for some time the clocks tend to be off the correct time. This makes it harder to detect what exactly happened exactly at what moment in time and reduce value of log-entries. Especially considering that ultimately all data is gathered in one central system. To overcome this Network Time Protocol (NTP RFC 13025 March 1992) has been created that explains a protocol to synchronize clocks through the Internet. Many operating systems like Microsoft Windows 2000 Server and FreeBSD, OpenBSD and Linux  support this. A ntp-server (or ntpd) can be found at: http://www.eecis.udel.edu/~ntp/ It is strongly recommended that you use this.</para>
 
     </subsection>
     </section>