Our OTRS system is configured to retrieve emails from a few different mailboxes. A few days ago one of the passwords on those mailboxes expired and the system stopped being able to retrieve new tickets and new ticket responses.
We found out about this because of a "why isn't anyone answering me?" complaint from an internal customer.
Once we looked in the Admin Log we could see the issue:
OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10 CommunicationLog(ID:317775,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:376544)::Kernel::System::MailAccount::POP3 => POP3: Auth for user [mailbox]/[mailserver] failed!
... but ideally we would like to have been sent an email indicating that PostMaster was failing.
Short of writing code to parse log files for strings, is there a "built in" / better way to establish push notifications of critical errors?
Possible to get system error notifications?
Moderator: crythias
-
- Znuny superhero
- Posts: 658
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Possible to get system error notifications?
Generally, mail account fetch is one of the scheduler..hence you will be able to forward *all* scheduler error to specific email address..
https://doc.otrs.com/doc/manual/admin/6 ... orker.html
good luck
https://doc.otrs.com/doc/manual/admin/6 ... orker.html
good luck
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
-
- Administrator
- Posts: 4250
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Possible to get system error notifications?
Hi Ian,
Do you use a monitoring solution like Icinga2, etc.? I recommend configuring a check instead of parsing logfiles.
- Roy
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 newbie
- Posts: 4
- Joined: 12 Aug 2020, 22:50
- Znuny Version: 6.0.x
- Real Name: Ian Darke
- Company: Writers guild of America West
Re: Possible to get system error notifications?
Thanks for the suggestion. I just made this change in the config and committed it and then I modified the password so it would fail and waited for the scheduler to run. I see the error logged, but I didn't receive an email notification.skullz wrote: ↑13 Aug 2020, 04:36 Generally, mail account fetch is one of the scheduler..hence you will be able to forward *all* scheduler error to specific email address..
https://doc.otrs.com/doc/manual/admin/6 ... orker.html
good luck
I thought it might be because we used SendmailModule Kernel::System::Email::SMTP in the system and didn't have postfix running so I started postfix up and confirmed it can deliver email, but I haven't seen any messages.
am I missing something?
Last edited by iandarke on 19 Aug 2020, 19:41, edited 1 time in total.
-
- Znuny newbie
- Posts: 4
- Joined: 12 Aug 2020, 22:50
- Znuny Version: 6.0.x
- Real Name: Ian Darke
- Company: Writers guild of America West
Re: Possible to get system error notifications?
as the ScheduleTaskWorker didn't seem to be sending out emails, I ended up implementing a syslog based solution.
Thanks for the suggestions!
Thanks for the suggestions!