The acknowledge is not working. I configured to use the URL. I can't find an error in the log. In the log is anything about the acknowledge.
Here the ZZZAuto.pm
Code: Select all
# OTRS config file (automatically generated)
# VERSION:1.1
package Kernel::Config::Files::ZZZAuto;
use utf8;
sub Load {
my ($File, $Self) = @_;
$Self->{'Nagios::Acknowledge::HTTP::Password'} = '***';
$Self->{'Nagios::Acknowledge::HTTP::User'} = '***';
$Self->{'Nagios::Acknowledge::HTTP::URL'} = 'https://***/nagios/cgi-bin/cmd.cgi?cmd_typ=<CMD_TYP>&cmd_mod=2&host=<HOST_NAME>&service=<SERVICE_NAME>&sticky_ack=on&send_notification=on&persistent=on&com_data=<TicketNumber>&btnSubmit=Commit';
$Self->{'Nagios::Acknowledge::Type'} = 'http';
$Self->{'Nagios::Acknowledge::FreeField::Service'} = 'We are working on it';
$Self->{'Nagios::Acknowledge::FreeField::Host'} = 'We are working on it';
$Self->{'PostMaster::PreFilterModule'}->{'1-SystemMonitoring'} = {
'ArticleType' => 'note-report',
'CloseActionState' => 'closed successful',
'ClosePendingTime' => '172800',
'CloseTicketRegExp' => 'OK|UP',
'DefaultService' => 'Host',
'FreeTextHost' => '1',
'FreeTextService' => '2',
'FreeTextState' => '1',
'FromAddressRegExp' => '***',
'HostRegExp' => '\\s*Host:\\s+(.*)\\s*',
'Module' => 'Kernel::System::PostMaster::Filter::SystemMonitoring',
'NewTicketRegExp' => 'CRITICAL|DOWN',
'SenderType' => 'system',
'ServiceRegExp' => '\\s*Service:\\s+(.*)\\s*',
'StateRegExp' => '\\s*State:\\s+(\\S+)'
};
delete $Self->{'PreferencesGroups'}->{'SpellDict'};
$Self->{'NotificationSenderEmail'} = '***';
$Self->{'SendmailModule::Port'} = '25';
$Self->{'SendmailModule::Host'} = '***';
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'LogModule::LogFile'} = '/var/log/otrs.log';
$Self->{'LogModule'} = 'Kernel::System::Log::File';
$Self->{'DefaultLanguage'} = 'de';
$Self->{'Organization'} = '';
$Self->{'AdminEmail'} = '***';
$Self->{'FQDN'} = '***';
$Self->{'SecureMode'} = 1;
}
1;
Here the Log:
Code: Select all
[Thu Jun 23 10:34:01 2011][Notice][Kernel::System::MailAccount::POP3S::_Fetch] POP3S: Fetched 1 email(s) from otrs/***.
, State: CRITICAL, Service: Test OTRSrnel::System::PostMaster::Filter::SystemMonitoring::Run] SystemMonitoring Mail: New Ticket - Host: Ticket System
[Thu Jun 23 10:36:01 2011][Notice][Kernel::System::Ticket::TicketCreate] New Ticket [2011062310000166/** PROBLEM Serv] created (TicketID=17,Queue=Raw,Priority=3 normal,State=new)
[Thu Jun 23 10:36:01 2011][Notice][Kernel::System::MailAccount::POP3S::_Fetch] POP3S: Fetched 1 email(s) from otrs/***.
, State: CRITICAL, Service: Test OTRSrnel::System::PostMaster::Filter::SystemMonitoring::Run] SystemMonitoring Mail: New Notice - Host: Ticket System
[Thu Jun 23 10:46:00 2011][Notice][Kernel::System::PostMaster::FollowUp::Run] FollowUp Article to Ticket [2011062310000166] created (TicketID=17, ArticleID=35). ,
[Thu Jun 23 10:46:00 2011][Notice][Kernel::System::MailAccount::POP3S::_Fetch] POP3S: Fetched 1 email(s) from otrs/***.
, State: OK, Service: Test OTRSce][Kernel::System::PostMaster::Filter::SystemMonitoring::Run] SystemMonitoring Mail: Recovered - Host: Ticket System
[Thu Jun 23 10:48:01 2011][Notice][Kernel::System::PostMaster::FollowUp::Run] FollowUp Article to Ticket [2011062310000166] created (TicketID=17, ArticleID=36). ,
[Thu Jun 23 10:48:01 2011][Notice][Kernel::System::MailAccount::POP3S::_Fetch] POP3S: Fetched 1 email(s) from otrs/***.
Nagios® Core Version 3.2.3 on FreeBSD 8.2 with Apache/2.2.19, sendmail 8.14.4
OTRS 3.0.8 on FreeBSD 8.2 with Apache/2.2.19, sendmail 8.14.4, iPhoneHandle V1.0.2, SystemMonitoring V2.2.1
Both systems are using sendmail as the MTA. OTRS gets the mails from an Exchange 2010 Server.
Any Ideas?
The opening and closing of the Tickets is working fine as you can see in the logs.
Thanks for your answers