[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/13 21:29:34

Modified files:
	error_messages.h

Log message:
Description: Working alpha of the database support. the basic stuff should be working now, but we still need to improve the tables and a few other things.
Reviewed by: dcid
Example config:
<database_output>
  <hostname>1.2.3.4</hostname>
  <username>user</username>
  <password>mypass</password>
  <database>test1</database>
</database_output>
Bug:

Index: error_messages.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/error_messages/error_messages.h,v
diff -u -r1.69 -r1.70
--- error_messages.h	13 Aug 2007 02:11:48 -0000	1.69
+++ error_messages.h	14 Aug 2007 00:29:34 -0000	1.70
@@ -251,6 +251,9 @@
 #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_MISS_CONFIG  "%s(5205): Missing database configuration. "\
+                        "It requires host, user, pass and database."
+#define DB_CONFIGERR    "%s(5206): Database configuration error."
 
 
 


OSSEC home | Main Index | Thread Index


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