[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: error_messages.h (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	07/08/28 00:08:14

Modified files:
	error_messages.h

Log message:
Description: Making sure it works with PostgreSQL and adding more error handling (reconnects, etc). Additional ossec rules to alert on file rotation and when a log file has the file reduced.
Reviewed by: dcid
Bug:

Index: error_messages.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/error_messages/error_messages.h,v
diff -u -r1.71 -r1.72
--- error_messages.h	23 Aug 2007 00:01:44 -0000	1.71
+++ error_messages.h	28 Aug 2007 03:08:14 -0000	1.72
@@ -250,11 +250,14 @@
 #define DBINIT_ERROR    "%s(5201): Error initializing database handler."
 #define DBCONN_ERROR    "%s(5202): Error connecting to database '%s'(%s): %s."
 #define DBQUERY_ERROR   "%s(5203): Error executing query '%s'. Error: '%s'."
-#define DB_MAINERROR    "%s(5204): Database error. Unable to continue."
+#define DB_GENERROR     "%s(5204): Database error. Unable to run query."
 #define DB_MISS_CONFIG  "%s(5205): Missing database configuration. "\
                         "It requires host, user, pass and database."
 #define DB_CONFIGERR    "%s(5206): Database configuration error."
 #define DB_COMPILED     "%s(5207): OSSEC not compiled with support for '%s'." 
+#define DB_MAINERROR    "%s(5208): Multiple database errors. Exiting."
+#define DB_CLOSING      "%s(5209): Closing connection to database."
+#define DB_ATTEMPT      "%s(5210): Attempting to reconnect to database."
 
 
 


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.