Provided by: octopussy_1.0.6-0ubuntu2_all
NAME
Octopussy::Message - Octopussy Message module
FUNCTIONS
Configuration($service, $msg_id) Get message '$msg_id' from service '$service' configuration List($ref_serv, $loglevel, $taxonomy) Fields($service, $msg_id) Returns Message Fields from Message '$msg_id' in Service '$service' Table($service, $msg_id) Get table associated with message '$msg_id' in service '$service' Pattern_To_SQL($msg, $id, @fields) Convert message pattern from message '$msg' into SQL with fields '@fields' Escape_Characters($regexp) Escape (adding '\') characters from regexp '$regexp' Escape_Message($msg) Escape (adding '\') characters from message '$msg' without escaping <@REGEXP@> Color_Reserved_Word(\%color, $word, $str) Colors pattern '$pattern' Color($pattern) Colors pattern '$pattern' Color_Without_Field($pattern) Longest_Valid_Regexp Minimal_Match($log, $re) Reserved_Word_To_Regexp(\%re_types, $type, $field, $str) Converts Reserved Word expression (<@$type:$field@>) into Regexp Pattern_To_Regexp($msg) Converts message pattern from message '$msg' into Regexp Pattern_To_Regexp_Without_Catching($msg) Converts message pattern from message '$msg' into Regexp without catching (same as Pattern_To_Regexp except don't add 'catching' parentheses) Short_Pattern_To_Regexp($msg) Pattern_Field_Substitution Pattern_Field_Unmatched_Substitution($regexp, $type, $field_regexp, $re_types) Pattern_To_Regexp_Fields($msg, $field_regexp, $ref_fields, $field_list) Fields_Values($msg, $line) Regexped_Fields($query) Parse_List($services, $loglevel, $taxonomy, $table, $fields, $fields_regexp, $fields_list) Alerts($device, $service, $message, \@dev_alerts) comment my @mails = (); my @ims = (); foreach my $c (ARRAY($ac->{contact})) { push @mails, $contact->{$c}->{email} if (defined $contact->{$c}->{email}); push @ims, $contact->{$c}->{im} if (defined $contact->{$c}->{im}); } Wizard_Msg_Modified($line, $types) Wizard_Msg_Regexp($re, $types) Wizard_Add_Message($timestamp, $line, $types) Wizard_File($f, $timestamp, $nb_max, $messages, $types) Wizard($device)
AUTHOR
Sebastien Thebert <octo.devel@gmail.com>