Working  in the problem i found a  ^M   after the name of the CI  in the log when i open the log file with vi


[Wed May  2 21:48:26 2012][Error][Kernel::System::PostMaster::Filter::SystemMonitoring::_SetIncidentState][484] Could not find any CI with the name 'CMP-SRV-BI-01^M'.

2012/4/30 Lucio aquino <lucioaquino@gmail.com>
Hello to all


I have some trouble with the system monitoring , all appear to be ok , but  the system "could not find any CI with the name"  , the name has a #015 after , i do not know what is happening . The open ticket and closed ticket it is ok


--> I put the log below


Apr 30 21:39:54 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Notice][Kernel::System::PostMaster::Filter::SystemMonitoring::_LogMessage] SystemMonitoring Mail: New Ticket - Host: CMP-SRV-BI-01#015, State: DOWN, Service: Host
Apr 30 21:39:54 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Error][Kernel::System::PostMaster::Filter::SystemMonitoring::_SetIncidentState][Line:484]: Could not find any CI with the name 'CMP-SRV-BI-01#015'.
Apr 30 21:39:54 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Notice][Kernel::System::Ticket::TicketCreate] New Ticket [2012043010000056/Host DOWN alert] created (TicketID=12,Queue=ECO,Priority=3 normal,State=new)
Apr 30 21:39:55 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Notice][Kernel::System::PostMaster::Filter::SystemMonitoring::_LogMessage] SystemMonitoring Mail: Recovered - Host: CMP-SRV-BI-01#015, State: UP, Service: Host
Apr 30 21:39:55 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Error][Kernel::System::PostMaster::Filter::SystemMonitoring::_SetIncidentState][Line:484]: Could not find any CI with the name 'CMP-SRV-BI-01#015'.
Apr 30 21:39:55 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Error][Kernel::System::PostMaster::Filter::SystemMonitoring::_LinkTicketWithCI][Line:577]: Could not find any CI with the name 'CMP-SRV-BI-01#015'.
Apr 30 21:39:55 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Notice][Kernel::System::PostMaster::FollowUp::Run] FollowUp Article to Ticket [2012043010000056] created (TicketID=12, ArticleID=22). ,
Apr 30 21:39:55 eco-srv-otrs-01 OTRS-CGI-10[1496]: [Notice][Kernel::System::MailAccount::IMAP::_Fetch] IMAP: Fetched 2 email(s) from monitoracao@xxxxx.com.br/200.242.222.edited


--> Configuration


Self->{'SystemMonitoring::LinkTicketWithCI'} =  '1';
$Self->{'SystemMonitoring::SetIncidentState'} =  '1';
$Self->{'PostMaster::PreFilterModule'}->{'00-SystemMonitoring'} =  {
  'ArticleType' => 'note-report',
  'CloseActionState' => 'closed successful',
  'ClosePendingTime' => '172800',
  'CloseTicketRegExp' => 'OK|UP',
  'DefaultService' => 'Host',
  'FreeTextHost' => '1',
  'FreeTextService' => '2',
  'FreeTextState' => '1',
  'FromAddressRegExp' => 'nagios@centreon-localdomain',
  'HostRegExp' => '\\s*Host:\\s+(.*)',
  'Module' => 'Kernel::System::PostMaster::Filter::SystemMonitoring',
  'NewTicketRegExp' => 'CRITICAL|DOWN',
  'SenderType' => 'system',
  'ServiceRegExp' => '\\s*Service:\\s+(.*)\\s*',
  'StateRegExp' => '\\s*State:\\s+(\\S+)'
};

--> Nagios message


***** centreon Notification *****

Type:PROBLEM
Host: CMP-SRV-BI-01
State: DOWN
Address: 10.32.32.1
Info: CRITICAL - Host Unreachable (10.32.32.1)
Date/Time: 30-04-2012


Any sugestions ?  thanks