package IPFC::alerter::alert_syslog_default;

my @dest_group1 = ('mail:tycho@fruru.com','file:/tmp/alerter');
my @dest_group2 = ('file:/tmp/alerter');

$default = { level => 1, 
	     alert_destinations => \@dest_group2,
	     alert_summary => 'syslog alert $EVENT_ID',
	     alert_message => 'Generic syslog message : $MESSAGE'};

#$message{'(?i)failed'} = {level => 4, alert_message => 'failed event $MESSAGE'};
$message{'(?i)session opened for user ([a-z]+)'} = {level => 3, alert_message => 'login event ($1) $MESSAGE'};
$message{'(?i)session closed for user '} = {level => 3, alert_message => 'logout event $MESSAGE'};
$message{'promiscuous mode'} = {level => 8, alert_message => 'network interface promiscuous mode change : $MESSAGE'};
$message{'snmpdx: agent snmpd not responding'} = {level => 10, alert_message => 'SNMP bug (CERT-CA-2002-03) : $MESSAGE'};
$message{'agent snmpd not responding'} = {level => 10, alert_message => 'SNMP bug (CERT-CA-2002-03) : $MESSAGE'};
$message{'SNMP error (UNKNOWN! (16777215), 0) sent back to'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'SNMP error (badValue(3), 0) sent back to'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'SNMP error (genErr(5), 16533) sent back to'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'SNMP error (readOnly(4), 0) sent back to'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'SNMP error (tooBig(1), 0) sent back to'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'error while receiving a pdu from .*: The message has a wrong version'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'error while sending a pdu back to .*: The buffer is too small'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'error while sending a pdu to .*: The buffer is too small'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'no variable in PDU received from'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'session_open() failed for a pdu received from'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'session_send_request() failed'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'unable to handle SNMP request with more than 32 variables'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};
$message{'Agent snmpd appeared dead but responded to ping'} = {level => 10, alert_message => 'SNMP bug (CERT-2002-03) : $MESSAGE'};

return 1;
