Hi everyone,
We upgraded our production environment to OTRS 5s on last saturday.
Today we've noticed several emails sent from OTRS to root@localhost. After some while, we've noticed the emails were about some error messages at /var/log/messages related to some tasks handled by the Daemon. Since root@localhost is not a valid email, postfix auto replied all messages with a "Undelivered Mail Returned to Sender" message, generating a lot of tickets in the default queue (Postmaster).
I have configured Daemon::SchedulerTaskWorker::NotificationRecipientEmail to deliver this kind of message to a valid email, but I was unable to deactivate it.
Is this a new feature of OTRS 5s? Since we already monitor all the logs, is it possible to deactivate this kind of error notification?
Any other ideas?
Thanks in advance!
OTRS 5s log error notifications to root@localhost
Moderator: crythias
-
- Znuny expert
- Posts: 167
- Joined: 26 Nov 2014, 20:34
- Znuny Version: 6.3.4
- Real Name: Samuel Casimiro
- Company: Câmara dos Deputados
- Contact:
OTRS 5s log error notifications to root@localhost
Samuel
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
-
- Znuny expert
- Posts: 167
- Joined: 26 Nov 2014, 20:34
- Znuny Version: 6.3.4
- Real Name: Samuel Casimiro
- Company: Câmara dos Deputados
- Contact:
Re: OTRS 5s log error notifications to root@localhost
Log error example:
Maillog entry:
Code: Select all
May 8 17:30:07 corvette OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-0[12681]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:51]: There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-0 Perl: 5.10.1 OS: linux Time: Mon May 8 17:30:06 2017#012#012 Message: Could not find any CI with the name 'COLETOR_PE_61'. #012#012 Traceback (12681): #012 Module: Kernel::System::PostMaster::Filter::SystemMonitoring::_SetIncidentState Line: 612#012 Module: Kernel::System::PostMaster::Filter::SystemMonitoring::_IncidentStateOperational Line: 187#012 Module: Kernel::System::PostMaster::Filter::SystemMonitoring::_TicketUpdate Line: 458#012 Module: Kernel::System::PostMaster::Filter::SystemMonitoring::Run Line: 569#012 Module: Kernel::System::PostMaster::Run Line: 189#012 Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 220#012 Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86#012 Module: Kernel::System::MailAccount::MailAccountFetch Line: 440#012 Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94#012 Module: (eval) Line: 460#012 Module: Kernel::System::Console::BaseCommand::Execute Line: 454#012 Module: (eval) Line: 150#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 129#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 250#012 Module: (eval) Line: 316#012 Module: main::Start Line: 316#012 Module: bin/otrs.Daemon.pl Line: 138#012#012ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-0 Perl: 5.10.1 OS: linux Time: Mon May 8 17:30:06 2017#012#012 Message: Could not find any CI with the name 'COLETOR_PE_61'. #012#012 Traceback (12681): #012 Module: Kernel::System::PostMaster::Filter::SystemMonitoring::_LinkTicketWithCI Line: 709#012 Module: Kernel::System::PostMaster::Filter::SystemMonitorin
Code: Select all
May 8 17:30:07 corvette postfix/local[12710]: D9D6A3F315: to=<devnull@localhost.redecamara.camara.gov.br>, orig_to=<devnull@localhost>, relay=local, delay=0.01, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered to file: /dev/null)
Samuel
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
-
- Administrator
- Posts: 3934
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 5s log error notifications to root@localhost
Check the content of var/cron/aaa_base, this file contains the MAILTO setting which is used when the Daemon is started via cron. Try a valid e-mail address or set it to
Code: Select all
MAILTO=
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny expert
- Posts: 167
- Joined: 26 Nov 2014, 20:34
- Znuny Version: 6.3.4
- Real Name: Samuel Casimiro
- Company: Câmara dos Deputados
- Contact:
Re: OTRS 5s log error notifications to root@localhost
Thanks root!
But wasn't the cron replaced by the OTRS Daemon?
But wasn't the cron replaced by the OTRS Daemon?
Samuel
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS 5s log error notifications to root@localhost
There's still one cronjob to (re-)start the Daemon...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de