From c7baf633f756a4f70a8a023bda54a73795519bff Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 27 Jan 2009 17:55:06 +0000 Subject: [PATCH] added eventlog table git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index a4bc2ce47..788902c1e 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -582,10 +582,36 @@ performance => { attrvalue => 'The metric value.' }, }, + +eventlog => { + cols => [qw(recid eventtime monitor monnode node application component id severity message rawdata comments disable)], + keys => [qw(recid)], + types => { + recid => 'INTEGER AUTO_INCREMENT', + }, + table_desc => 'Stores the events occurred.', + descriptions => { + recid => 'The record id.', + eventtime => 'The timestamp for the event.', + monitor => 'The name of the monitor that monitors this event.', #in RMC, it's the condition name + monnode => 'The node that monitors this event.', + node => 'The node where the event occurred', + application => 'The application that reports the event.', #RMC, Ganglia + component => 'The component where the event occurred.', #in RMC, it's the resource class name + id => 'The location or the resource name where the event occurred', #In RMC it's the resource name and attribute name + severity => 'The severity of the event. Valid values are: informational, warning, critical.', + message => 'The full description of the event.', + rawdata => ' The data that associated with the event. ', # in RMC, it's the attribute value, it takes the format of attname=attvalue[,atrrname=attvalue....] + comments => 'Any user-provided notes.', + disable => "Set to 'yes' or '1' to comment out this row.", + }, +}, + ); # end of tabspec definition + ################################################### # adding user defined external tables ##################################################