gnucomo.git
20 years agoFixed the translation of email delay times V0_0_9
arjen [Wed, 24 Dec 2003 21:57:00 +0000 (21:57 +0000)]
Fixed the translation of email delay times

20 years agoPrepared for release 0.0.9
arjen [Wed, 24 Dec 2003 07:44:15 +0000 (07:44 +0000)]
Prepared for release 0.0.9

20 years agoChanged version number
arjen [Wed, 24 Dec 2003 07:41:23 +0000 (07:41 +0000)]
Changed version number

20 years agoChanged the order of the libraries
arjen [Wed, 24 Dec 2003 07:40:36 +0000 (07:40 +0000)]
Changed the order of the libraries

20 years agoAdjusted line numbers of database creation script
arjen [Wed, 24 Dec 2003 07:35:46 +0000 (07:35 +0000)]
Adjusted line numbers of database creation script

20 years agoSet the lib path for libpqxx
arjen [Wed, 24 Dec 2003 07:34:59 +0000 (07:34 +0000)]
Set the lib path for libpqxx

20 years agoNew test scripts
arjen [Wed, 24 Dec 2003 07:33:56 +0000 (07:33 +0000)]
New test scripts

20 years ago*** empty log message ***
arjen [Mon, 22 Dec 2003 13:31:11 +0000 (13:31 +0000)]
*** empty log message ***

20 years agoCatch an exception if we can not setup a database transaction.
arjen [Mon, 22 Dec 2003 10:28:26 +0000 (10:28 +0000)]
Catch an exception if we can not setup a database transaction.

20 years agoAccept a wider range of input patterns
arjen [Mon, 22 Dec 2003 10:22:21 +0000 (10:22 +0000)]
Accept a wider range of input patterns

20 years agoReport if the message type can not be detected.
arjen [Mon, 22 Dec 2003 10:20:21 +0000 (10:20 +0000)]
Report if the message type can not be detected.

20 years agoRedesigned gcm_input with polymorphic message filter classes.
arjen [Thu, 18 Dec 2003 09:54:21 +0000 (09:54 +0000)]
Redesigned gcm_input with polymorphic message filter classes.

20 years ago*** empty log message ***
arjen [Thu, 4 Dec 2003 10:55:10 +0000 (10:55 +0000)]
*** empty log message ***

20 years agoFixed name conflict with 'double log(double)'
arjen [Thu, 4 Dec 2003 10:40:28 +0000 (10:40 +0000)]
Fixed name conflict with 'double log(double)'

20 years agoFixed libpqxx headers
arjen [Thu, 4 Dec 2003 10:39:36 +0000 (10:39 +0000)]
Fixed libpqxx headers

20 years agoMajor redesign. All input is handled through XML. Raw input data is first
arjen [Thu, 4 Dec 2003 10:38:09 +0000 (10:38 +0000)]
Major redesign. All input is handled through XML. Raw input data is first
transformed into an XML document for further processing.
A collection of polymorphic classes handle the transformation of various
input formats into XML.
Classifying input data is done with a finite improbability calculation.

20 years agoTransform non-ASCII characters into hexadecimal entities.
arjen [Thu, 4 Dec 2003 09:57:35 +0000 (09:57 +0000)]
Transform non-ASCII characters into hexadecimal entities.

20 years agoWrite messages to the log stream instead of cout.
arjen [Wed, 3 Dec 2003 08:23:17 +0000 (08:23 +0000)]
Write messages to the log stream instead of cout.

20 years agoChange the notation for delays from "days+hh:mm:ss" to "days hh:mm:ss. This
arjen [Wed, 3 Dec 2003 08:21:53 +0000 (08:21 +0000)]
Change the notation for delays from "days+hh:mm:ss" to "days hh:mm:ss. This
fixes problem report 14.
In linux_daemon_sendmail(), check the existence of '=' before using it as a
field separator. Fixes problem report 15.

20 years agoChanged the type of log_adv_daemon_email.delay and log_adv_daemon_email.xdelay
arjen [Wed, 3 Dec 2003 08:06:57 +0000 (08:06 +0000)]
Changed the type of log_adv_daemon_email.delay and log_adv_daemon_email.xdelay
from time to interval. These delays can be more than 24 hours.

20 years agoOptionally show or hide removed parameters from the parameter
arjen [Wed, 3 Dec 2003 08:03:28 +0000 (08:03 +0000)]
Optionally show or hide removed parameters from the parameter
comparison page.

20 years agoCreate separate notifications for different objects in service_check().
arjen [Wed, 29 Oct 2003 09:58:29 +0000 (09:58 +0000)]
Create separate notifications for different objects in service_check().

20 years agoCatch exceptions from the database library
arjen [Mon, 27 Oct 2003 13:00:15 +0000 (13:00 +0000)]
Catch exceptions from the database library

20 years agoDo not add another parameter_notification record is the notification
arjen [Mon, 27 Oct 2003 11:28:27 +0000 (11:28 +0000)]
Do not add another parameter_notification record is the notification
already exists for that parameter.

20 years agoBackslashes are correctly escaped with another backslash
arjen [Mon, 27 Oct 2003 11:26:43 +0000 (11:26 +0000)]
Backslashes are correctly escaped with another backslash

20 years agoNew user manual, based upon the draft TUTORIAL
arjen [Mon, 27 Oct 2003 11:24:12 +0000 (11:24 +0000)]
New user manual, based upon the draft TUTORIAL

20 years agoPrepared for release 0.0.8 V0_0_8
arjen [Thu, 4 Sep 2003 06:59:28 +0000 (06:59 +0000)]
Prepared for release 0.0.8

20 years agoPrepared for release 0.0.8
arjen [Thu, 4 Sep 2003 06:53:40 +0000 (06:53 +0000)]
Prepared for release 0.0.8

20 years agoOld test data removed.
arjen [Wed, 3 Sep 2003 13:51:42 +0000 (13:51 +0000)]
Old test data removed.

20 years agoOverall test script. Runs all tests in sequence
arjen [Wed, 3 Sep 2003 13:51:00 +0000 (13:51 +0000)]
Overall test script. Runs all tests in sequence

20 years agoTests the database upgrade with gcm_daemon
arjen [Wed, 3 Sep 2003 13:48:17 +0000 (13:48 +0000)]
Tests the database upgrade with gcm_daemon

20 years agoOutput data from test scripts
arjen [Wed, 3 Sep 2003 13:46:29 +0000 (13:46 +0000)]
Output data from test scripts

20 years agoReduced the amount of output from test scripts.
arjen [Wed, 3 Sep 2003 12:57:24 +0000 (12:57 +0000)]
Reduced the amount of output from test scripts.

20 years agoCheck the log table against the servies running on an object and
arjen [Wed, 3 Sep 2003 12:48:48 +0000 (12:48 +0000)]
Check the log table against the servies running on an object and
create notifications if a service is not supposed to be available
or is not known at all.

20 years agoNew PHP methods:
arjen [Wed, 3 Sep 2003 07:02:09 +0000 (07:02 +0000)]
New PHP methods:
   db::Result() - Returns the result from the last query.
   db::Field()  - Returns the value of a single field.
   db::new_notification() - Create a new notification in the database.

20 years agoChanged version string to 0.0.8
arjen [Wed, 3 Sep 2003 06:58:31 +0000 (06:58 +0000)]
Changed version string to 0.0.8

20 years agoOverloaded gnucomo_database::Field() to include the Result
arjen [Tue, 2 Sep 2003 12:54:10 +0000 (12:54 +0000)]
Overloaded gnucomo_database::Field() to include the Result
from a query as an argument.

20 years agoBUGFIX: Secondary indices on log_notification were unique.
arjen [Tue, 2 Sep 2003 12:47:41 +0000 (12:47 +0000)]
BUGFIX: Secondary indices on log_notification were unique.
Additional information in the 'usr' table: 'display_name' and 'email'.
Added new issues and services.

20 years agoSlight simplification
arjen [Mon, 1 Sep 2003 07:02:46 +0000 (07:02 +0000)]
Slight simplification

20 years agoA date without the time for the '-d <date> option will
arjen [Mon, 1 Sep 2003 06:59:26 +0000 (06:59 +0000)]
A date without the time for the '-d <date> option will
assume midnight on that date.

20 years agoReject log entries that are found to be invalid.
arjen [Mon, 1 Sep 2003 06:57:14 +0000 (06:57 +0000)]
Reject log entries that are found to be invalid.

20 years agoProvides an interface to edit the list of
arjen [Mon, 1 Sep 2003 06:55:00 +0000 (06:55 +0000)]
Provides an interface to edit the list of
services and users for an object.

20 years agoNew page to enter and modify services.
arjen [Mon, 1 Sep 2003 06:53:22 +0000 (06:53 +0000)]
New page to enter and modify services.

20 years agoAccept command argument '-c config' to use an alternate
arjen [Mon, 1 Sep 2003 06:51:07 +0000 (06:51 +0000)]
Accept command argument '-c config' to use an alternate
gnucomo configuration.

20 years agoThe method configuration::read() will also read
arjen [Thu, 28 Aug 2003 12:16:33 +0000 (12:16 +0000)]
The method configuration::read() will also read
a user-specific configuration from the home directory if a
PHP script is not run through the web server.

20 years agoChanged the gnucomo_database class to the new PostgreSQL
arjen [Sun, 17 Aug 2003 18:49:10 +0000 (18:49 +0000)]
Changed the gnucomo_database class to the new PostgreSQL
library, libpqxx.

20 years agoChanged the gnucomo_database class to the new PostgreSQL
arjen [Sun, 17 Aug 2003 11:40:52 +0000 (11:40 +0000)]
Changed the gnucomo_database class to the new PostgreSQL
library, libpqxx. Added libpqxx to the list of required software.

20 years agoChanged the gnucomo_database class to the new PostgreSQL
arjen [Sun, 17 Aug 2003 11:39:33 +0000 (11:39 +0000)]
Changed the gnucomo_database class to the new PostgreSQL
library, libpqxx

20 years agoFixed a gcc 2 vs. gcc 3 problem
arjen [Sat, 16 Aug 2003 15:30:19 +0000 (15:30 +0000)]
Fixed a gcc 2 vs. gcc 3 problem

20 years agoFixed a namespace problem
arjen [Sat, 16 Aug 2003 15:28:45 +0000 (15:28 +0000)]
Fixed a namespace problem

20 years agoFixed a few typos.
arjen [Sat, 16 Aug 2003 14:29:02 +0000 (14:29 +0000)]
Fixed a few typos.

20 years agoEntered several items into the PR database. V0_0_7
arjen [Thu, 14 Aug 2003 10:38:20 +0000 (10:38 +0000)]
Entered several items into the PR database.

20 years agoPrepared for release 0.0.7
arjen [Thu, 14 Aug 2003 10:37:04 +0000 (10:37 +0000)]
Prepared for release 0.0.7

20 years agoAdded editing of detailed object information.
arjen [Thu, 14 Aug 2003 10:35:07 +0000 (10:35 +0000)]
Added editing of detailed object information.

20 years agoAdded performance measurement.
arjen [Thu, 14 Aug 2003 10:33:01 +0000 (10:33 +0000)]
Added performance measurement.

20 years agoBUGFIX: Removed parameters were somtimes shown on the wrong side
arjen [Thu, 14 Aug 2003 10:31:57 +0000 (10:31 +0000)]
BUGFIX: Removed parameters were somtimes shown on the wrong side
of the parameter difference page.

20 years agoUse parameters from a new section 'logging' with three configuration parameters:
arjen [Thu, 14 Aug 2003 10:28:37 +0000 (10:28 +0000)]
Use parameters from a new section 'logging' with three configuration parameters:
   method       - Output method to use for logging.
   destination  - Name of the log output destination.
   level        - Log level: Verbose output if greater than 0.

20 years agoAdded a new section 'logging' with three configuration parameters:
arjen [Thu, 14 Aug 2003 10:27:54 +0000 (10:27 +0000)]
Added a new section 'logging' with three configuration parameters:
   method       - Output method to use for logging.
   destination  - Name of the log output destination.
   level        - Log level: Verbose output if greater than 0.

20 years agoDisabled DEBUG output
arjen [Thu, 14 Aug 2003 10:22:42 +0000 (10:22 +0000)]
Disabled DEBUG output

20 years agoBUGFIX: undefined variables and indices when processing sendmail logs.
arjen [Thu, 14 Aug 2003 10:21:59 +0000 (10:21 +0000)]
BUGFIX: undefined variables and indices when processing sendmail logs.

20 years agoBUGFIX: Convert special characters for HTML (<, >, and &) into
arjen [Mon, 11 Aug 2003 17:59:17 +0000 (17:59 +0000)]
BUGFIX: Convert special characters for HTML (<, >, and &) into
their entities.

20 years agoDifferent kinds of log files are parsed by a collection of objects
arjen [Mon, 11 Aug 2003 16:56:15 +0000 (16:56 +0000)]
Different kinds of log files are parsed by a collection of objects
of different classes, derived from the base class line_cooker
Depending on the message content or the message_type element in
XML, one of these objects is selected.

Logrunner is integrated with gcm_input. Although its functionality
is still limited, a connection between logrunner and gcm_input
is beginning to form.

20 years agoDebug output to the log stream instead of cerr.
arjen [Tue, 5 Aug 2003 08:15:00 +0000 (08:15 +0000)]
Debug output to the log stream instead of cerr.
Fixed namespace problems in XPath searches of the DOM.
Moved string utility functions to a separate file.

20 years agoAdded two configuration parameters:
arjen [Tue, 5 Aug 2003 08:11:06 +0000 (08:11 +0000)]
Added two configuration parameters:
   logfile   - Log to this file instead of stderr.
   verbosity - Verbose output if greater than 0.
Added '-i' option for incremental parameter updates

20 years agoAdded two configuration parameters:
arjen [Tue, 5 Aug 2003 08:09:31 +0000 (08:09 +0000)]
Added two configuration parameters:
   logfile   - Log to this file instead of stderr.
   verbosity - Verbose output if greater than 0.

20 years agoBUGFIX: Print an error message if a parameter does not have
arjen [Tue, 5 Aug 2003 07:46:37 +0000 (07:46 +0000)]
BUGFIX: Print an error message if a parameter does not have
any history.

20 years agoAdded index to the history table.
arjen [Tue, 5 Aug 2003 07:43:02 +0000 (07:43 +0000)]
Added index to the history table.

20 years agoRemoved debug output.
arjen [Thu, 31 Jul 2003 15:44:02 +0000 (15:44 +0000)]
Removed debug output.

20 years agoPrepared for release 0.0.6 V0_0_6
arjen [Tue, 15 Jul 2003 11:08:29 +0000 (11:08 +0000)]
Prepared for release 0.0.6

20 years agoRemoved parameters are displayed in a shaded style.
arjen [Tue, 15 Jul 2003 11:06:45 +0000 (11:06 +0000)]
Removed parameters are displayed in a shaded style.

20 years agoChnaged version number to 0.0.6 in login form.
arjen [Tue, 15 Jul 2003 11:05:32 +0000 (11:05 +0000)]
Chnaged version number to 0.0.6 in login form.

20 years agoShow the log one day at a time.
arjen [Tue, 15 Jul 2003 11:03:39 +0000 (11:03 +0000)]
Show the log one day at a time.

20 years agoUse the new object_statistics table.
arjen [Tue, 15 Jul 2003 11:02:25 +0000 (11:02 +0000)]
Use the new object_statistics table.

20 years agoGcm_daemon gathers statistics on parameters, notifications, etc. for all objects.
arjen [Wed, 9 Jul 2003 07:25:02 +0000 (07:25 +0000)]
Gcm_daemon gathers statistics on parameters, notifications, etc. for all objects.

20 years agoPHP function db::query() returns the result index.
arjen [Wed, 9 Jul 2003 07:22:52 +0000 (07:22 +0000)]
PHP function db::query() returns the result index.
PHP function db::num_rows() accepts a result index as argument
  (default = 0 -> use result from the previous query).
New PHP function db::fetch_object().

20 years agoNew database tables: notification_check, notification_check_buffer,
arjen [Wed, 9 Jul 2003 07:14:59 +0000 (07:14 +0000)]
New database tables: notification_check, notification_check_buffer,
notification_check_line and object_statistics.

21 years agoRead XML input,
arjen [Tue, 29 Apr 2003 09:16:44 +0000 (09:16 +0000)]
Read XML input,
Only cooked log entries for now.

21 years agoProcess logs from sendmail.
arjen [Sat, 29 Mar 2003 09:05:22 +0000 (09:05 +0000)]
Process logs from sendmail.

21 years agoExtract the hostname out of the 'From:' or 'Message-Id:' line
arjen [Sat, 29 Mar 2003 09:04:10 +0000 (09:04 +0000)]
Extract the hostname out of the 'From:' or 'Message-Id:' line
of an email header.

21 years agoExit without reading any input if the database connection fails.
arjen [Sat, 29 Mar 2003 08:42:00 +0000 (08:42 +0000)]
Exit without reading any input if the database connection fails.

21 years agoIn phpclasses/db.class.php: Added the database connection string as
arjen [Sat, 29 Mar 2003 08:33:20 +0000 (08:33 +0000)]
In phpclasses/db.class.php: Added the database connection string as
an argument to the function copy_db_class.
Fixed the PHP member function db::db_connect(). The Postgres connection
string is now passed as an argument to that function.

21 years agoNew columns in the table 'log_adv_daemon_email': size, pri, relay,
arjen [Sat, 29 Mar 2003 08:26:44 +0000 (08:26 +0000)]
New columns in the table 'log_adv_daemon_email': size, pri, relay,
status_details and dsn.
Added several indices for the table 'log_adv_daemon_email'.

21 years agoNew member function gnucomo_database::is_conected().
arjen [Sat, 29 Mar 2003 08:13:53 +0000 (08:13 +0000)]
New member function gnucomo_database::is_conected().

21 years agoRead IRIX system logs.
arjen [Sun, 16 Mar 2003 09:42:40 +0000 (09:42 +0000)]
Read IRIX system logs.

21 years agoPrepared for release 0.0.5 V0_0_5
arjen [Fri, 21 Feb 2003 09:35:12 +0000 (09:35 +0000)]
Prepared for release 0.0.5

21 years agoBack to automake 1.4
arjen [Fri, 21 Feb 2003 09:21:54 +0000 (09:21 +0000)]
Back to automake 1.4

21 years agoBack to automake 1.4
arjen [Fri, 21 Feb 2003 09:19:28 +0000 (09:19 +0000)]
Back to automake 1.4

21 years agoBack to autoconf 2.13
arjen [Fri, 21 Feb 2003 09:15:23 +0000 (09:15 +0000)]
Back to autoconf 2.13

21 years agoBack to aclocal 1.4
arjen [Fri, 21 Feb 2003 09:09:38 +0000 (09:09 +0000)]
Back to aclocal 1.4

21 years agoAdded postgresql include directory for debian.
arjen [Fri, 21 Feb 2003 08:53:57 +0000 (08:53 +0000)]
Added postgresql include directory for debian.

21 years agoObsolete functions
arjen [Fri, 21 Feb 2003 08:50:37 +0000 (08:50 +0000)]
Obsolete functions

21 years agoDatabase optimizations.
arjen [Fri, 21 Feb 2003 08:50:12 +0000 (08:50 +0000)]
Database optimizations.

21 years agoKeep a record of each time a notification
arjen [Fri, 21 Feb 2003 08:49:16 +0000 (08:49 +0000)]
Keep a record of each time a notification
is displayed. Either on a listing or in detail.

21 years agoImproved the table layout.
arjen [Fri, 21 Feb 2003 08:46:58 +0000 (08:46 +0000)]
Improved the table layout.

21 years agoAdd a new user and make him/her a member of a group.
arjen [Fri, 21 Feb 2003 08:44:19 +0000 (08:44 +0000)]
Add a new user and make him/her a member of a group.
Change of passwords added.

21 years agoAdded new table to the database: log_adv_daemon_email.
arjen [Fri, 21 Feb 2003 08:37:40 +0000 (08:37 +0000)]
Added new table to the database: log_adv_daemon_email.

21 years agoDetect more conditions for daemons.
arjen [Fri, 21 Feb 2003 08:24:10 +0000 (08:24 +0000)]
Detect more conditions for daemons.

21 years agoGcm_input also detects packages that are removed from the system.
arjen [Fri, 21 Feb 2003 08:08:05 +0000 (08:08 +0000)]
Gcm_input also detects packages that are removed from the system.
Determining the version number of a package in a RPM
list is improved. Only the last one or two parts of the string that
begin with a '-' and a number are considered the version.

21 years agoUse the SQL function currval() to obtain the identification number
arjen [Wed, 19 Feb 2003 12:07:55 +0000 (12:07 +0000)]
Use the SQL function currval() to obtain the identification number
of the most recently created notification.

21 years agoPrint the query on cerr, along with the error message when
arjen [Wed, 19 Feb 2003 09:54:47 +0000 (09:54 +0000)]
Print the query on cerr, along with the error message when
the query results in an error.