Ticket escalation Notification
Moderator: crythias
-
- Znuny newbie
- Posts: 5
- Joined: 14 Nov 2013, 18:05
- Znuny Version: 3.3.1
- Real Name: Cesar Lisboa
- Company: Abril S/A
Ticket escalation Notification
Hello
I'm receiving notifications from tickets escalations every night at midnight.
I'm looking for by configuration at sysconfig and I dont found any configuration to time controller to sending.
Any idea?
Tks
I'm receiving notifications from tickets escalations every night at midnight.
I'm looking for by configuration at sysconfig and I dont found any configuration to time controller to sending.
Any idea?
Tks
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket escalation Notification
otrs/var/cron
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 62
- Joined: 03 Dec 2014, 18:49
- Znuny Version: OTRS 4
- Location: Portugal
- Contact:
Re: Ticket escalation Notification
Hi,
I'm having the very same problem with 4.0.6, and I don't have any cron job setup to run at 00:00 specifically.
Trying to find if this is by design and whether it can be configurable or not.
rgds
I'm having the very same problem with 4.0.6, and I don't have any cron job setup to run at 00:00 specifically.
Trying to find if this is by design and whether it can be configurable or not.
rgds
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
-
- Znuny wizard
- Posts: 477
- Joined: 20 Nov 2011, 16:08
- Znuny Version: 6.5.11
- Real Name: Schulmann
Re: Ticket escalation Notification
I'd look into the logs (from cron and from otrs) to see what's going on at midnight.voiprodrigo wrote:I don't have any cron job setup to run at 00:00 specifically.
Znuny6/Debian/ESXi
-
- Znuny newbie
- Posts: 62
- Joined: 03 Dec 2014, 18:49
- Znuny Version: OTRS 4
- Location: Portugal
- Contact:
Re: Ticket escalation Notification
I did. As far as I can see , it does the same thing it does every other execution, with the difference that it actually sends out the notifications.
For example, before midnight:
OTRS-otrs.GenericAgent.pl-00[21688]: [Notice][Kernel::System::GenericAgent::JobRun] Run GenericAgent Job 'send escalation notifications' from config file.
OTRS-otrs.GenericAgent.pl-00[21688]: [Notice][Kernel::System::GenericAgent::_JobRunTicket] Use module Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue) for Ticket (0010/28).
This last message repeats for other ticket ID's, but no mails are sent out.
After midnight, it's as above, but it does send mails out, so it shows additionally:
OTRS-otrs.GenericAgent.pl-00[21688]: [Info][Kernel::System::Ticket::Article::SendAgentNotification] Sent agent 'Escalation' notification to 'x@x'.
And then the mail service log for that delivery.
For example, before midnight:
OTRS-otrs.GenericAgent.pl-00[21688]: [Notice][Kernel::System::GenericAgent::JobRun] Run GenericAgent Job 'send escalation notifications' from config file.
OTRS-otrs.GenericAgent.pl-00[21688]: [Notice][Kernel::System::GenericAgent::_JobRunTicket] Use module Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue) for Ticket (0010/28).
This last message repeats for other ticket ID's, but no mails are sent out.
After midnight, it's as above, but it does send mails out, so it shows additionally:
OTRS-otrs.GenericAgent.pl-00[21688]: [Info][Kernel::System::Ticket::Article::SendAgentNotification] Sent agent 'Escalation' notification to 'x@x'.
And then the mail service log for that delivery.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
-
- Znuny wizard
- Posts: 477
- Joined: 20 Nov 2011, 16:08
- Znuny Version: 6.5.11
- Real Name: Schulmann
Re: Ticket escalation Notification
You could start the cron job manually under control of the debugger (with "perl -d ...") to see what is going on.
Maybe the job saves it's last run in a file and does other things when it encounters a new day.
Or you could modify the cron entry to "... -d debug" to get more log entries.
As I didn't test this I'm not sure if it works.
Maybe the job saves it's last run in a file and does other things when it encounters a new day.
Or you could modify the cron entry to "... -d debug" to get more log entries.
As I didn't test this I'm not sure if it works.
Znuny6/Debian/ESXi
-
- Znuny newbie
- Posts: 62
- Joined: 03 Dec 2014, 18:49
- Znuny Version: OTRS 4
- Location: Portugal
- Contact:
Re: Ticket escalation Notification
Debug did not provide better info. But I've posted another topic about this, as I think this is happening because of the how the notifications algorithm observes the sla schedule.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
Re: Ticket escalation Notification
I also have this issue. Could anyone help to solve this issue ?thx!
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket escalation Notification
All, please open new topics as this thread is from 2013. If you have a daily cronjob, look in /etc/cron.daily or /etc/crontab
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 62
- Joined: 03 Dec 2014, 18:49
- Znuny Version: OTRS 4
- Location: Portugal
- Contact:
Re: Ticket escalation Notification
This is by design. Summarizing:
- You have an SLA where the day starts at 00:00 (a 24x7 calendar, for example)
- There's an escalation for one of the targets, you receive a notification when that happens
- Then, UNTIL that escalation is resolved (you resolve or respond, whatever applies) you'll receive a new notification, every day, one single time per day, at the first second of the day that is within the calendar set for the SLA (or the nearest next run of the cron job, of course)
- You have an SLA where the day starts at 00:00 (a 24x7 calendar, for example)
- There's an escalation for one of the targets, you receive a notification when that happens
- Then, UNTIL that escalation is resolved (you resolve or respond, whatever applies) you'll receive a new notification, every day, one single time per day, at the first second of the day that is within the calendar set for the SLA (or the nearest next run of the cron job, of course)
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7