Hallo Liste,
wir sind gerade dabei das System-Monitoring-Plugin für OTRS 2.2.3 zu testen.
Zunächst konnten die Mails auch korrekt verarbeitet werden, aber auf
einmal kommt nichts mehr an. Im otrs.log finde ich:
[Wed Oct 31 10:11:36
2007][Notice][Kernel::System::PostMaster::Filter::MatchDBSource::Run]
Filter: 'OTRS-ignore' Set param 'X-OTRS-Ignore' to 'No' (Message-ID:
<E1In95Z-0007B0-FR@>)
[Wed Oct 31 10:11:36
2007][Notice][Kernel::System::PostMaster::Filter::SystemMonitoring::Run]
SystemMonitoring Mail: Mail Dropped, no matching ticket found, no open
on this state - Host: x250-sp.adm, State: WARNING, Service: ipmi_x4200
[Wed Oct 31 10:11:36 2007][Notice][Kernel::System::PostMaster::Run]
Ignored Email (From: nagios(a)foo.bar, Message-ID: <E1In95Z-0007B0-FR@>)
because the X-OTRS-Ignore is set (X-OTRS-Ignore: yes).
[Wed Oct 31 10:11:55
2007][Notice][Kernel::System::AuthSession::DB::RemoveSessionID]
Removed SessionID 109252f5a4fb37221570fc0a23faa1e17a.
[Wed Oct 31 10:12:35 2007][Notice][Kernel::System::Auth::DB::Auth]
User: root@localhost authentication ok (REMOTE_ADDR: 81.91.160.27).
Ich habe aber nirgendwo ein X-OTRS-Ignore gesetzt.
Wir haben lediglich an der Systemconfig für das Modul etwas geändert:
$Self->{'PostMaster::PreFilterModule'}->{'1-SystemMonitoring'} = {
'HostRegExp' => '\\s*Host:\\s+(.*)\\s*',
'ClosePendingTime' => '172800',
'FromAddressRegExp' => 'nagios(a)foo.bar',
'DefaultService' => 'Host',
'ServiceRegExp' => '\\s*Service:\\s+(.*)\\s*',
'SenderType' => 'system',
'ArticleType' => 'note-report',
'StateRegExp' => '\\s*State:\\s+(\\S+)',
'NewTicketRegExp' => 'CRITICAL|DOWN',
'FreeTextHost' => '1',
'Module' => 'Kernel::System::PostMaster::Filter::SystemMonitoring',
'CloseTicketRegExp' => 'OK|UP',
'CloseActionState' => 'closed successful',
'FreeTextService' => '2'
};
Weiss jemand eine Lösung ?
Viele Grüße
Sascha