ticket_history

Allgemein Fragen, deutsche News, Ankündigungen & Events zu Znuny
Locked
hrban
Znuny advanced
Posts: 109
Joined: 06 Sep 2013, 10:56
Znuny Version: 3.2.10
Real Name: Chris
Company: bitc

ticket_history

Post by hrban »

Hallo,

ich hab mal ne Frage zur History in der Datenbank.
Ein Ticket wird geöffnet, bearbeitet und bei Erledigung geschlossen.
Selektiere ich dann mal in der History alle Daten zum zugehörigen Ticket (Ticket_id),
dann finde ich Einträge bis zum jetzigen Datum, obwohl das Ticket schon längst geschlossen ist?!?

Was macht das für einen Sinn? Ist das irgendwo abzustellen?

Hier mal so ein Eintrag, der jede Stunde dazu kommt (.
125723922 %%CustomerID=XXXX;CustomerUser=; 21 13261 NULL 1 31 24 3 2 1 2014-08-07 22:01:46.000 1 2014-08-07 22:01:46.000 1
125730591 %%CustomerID=XXXX;CustomerUser=; 21 13261 NULL 1 31 24 3 2 1 2014-08-07 23:01:41.000 1 2014-08-07 23:01:41.000 1
125737268 %%CustomerID=XXXX;CustomerUser=; 21 13261 NULL 1 31 24 3 2 1 2014-08-08 00:02:03.000 1 2014-08-08 00:02:03.000 1
125743937 %%CustomerID=XXXX;CustomerUser=; 21 13261 NULL 1 31 24 3 2 1 2014-08-08 01:01:45.000 1 2014-08-08 01:01:45.000 1


Hat hier mal jemand einen Tipp?

Danke,
Chris
reneeb
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: ticket_history

Post by reneeb »

Dann schau mal, was das für ein Eintrag ist: Schaue, welche ID bei history_type_id eingetragen ist und schaue dann nach, welche Art von Eintrag zu dieser ID in ticket_history_type gespeichert ist.
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
hrban
Znuny advanced
Posts: 109
Joined: 06 Sep 2013, 10:56
Znuny Version: 3.2.10
Real Name: Chris
Company: bitc

Re: ticket_history

Post by hrban »

Hallo,

danke für die Info. history_type_id = 21
Also es handelt sich um:
id name
21 CustomerUpdate

Dieses Ticket ist aber eben schon geschlossen mit 07.08.2014...

Hast du eine Idee?

Daaanke,
Chris
reneeb
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: ticket_history

Post by reneeb »

Hast Du mal bei den Cronjobs und GenericAgents geschaut was da so alles ausgeführt wird?
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
hrban
Znuny advanced
Posts: 109
Joined: 06 Sep 2013, 10:56
Znuny Version: 3.2.10
Real Name: Chris
Company: bitc

Re: ticket_history

Post by hrban »

moment
Last edited by hrban on 04 Nov 2014, 14:12, edited 1 time in total.
hrban
Znuny advanced
Posts: 109
Joined: 06 Sep 2013, 10:56
Znuny Version: 3.2.10
Real Name: Chris
Company: bitc

Re: ticket_history

Post by hrban »

Anbei wie gewünscht. Fällt die hier etwas ungewöhnliches auf?

Danke!!!
Chris

Hier die Cron_Jobs:
MAILTO="root@localhost"
20 0 * * 0 C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.DeleteCache.pl --expired
30 0 * * 0 C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.LoaderCache.pl -o delete
*/10 * * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.GenericAgent.pl -c db
*/20 * * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.GenericAgent.pl
45 */2 * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.PendingJobs.pl
*/2 * * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.PostMasterMailbox.pl
01 01 * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.RebuildTicketIndex.pl
55 */2 * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.DeleteSessionIDs.pl --expired
35 * * * * C:\Perl\bin\perl.exe C:/OTRS/OTRS/bin/otrs.UnlockTickets.pl --timeout

Hier die GenericAgent:
# --
# Kernel/Config/GenericAgent.pm - config file of generic agent
# Copyright (C) 2001-2012 xxx, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

package Kernel::Config::GenericAgent;

use strict;
use warnings;
use utf8;

use vars qw(@ISA @EXPORT %Jobs);
use Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(%Jobs);

# -----------------------------------------------------------------------
# config options
# -----------------------------------------------------------------------
%Jobs = (

# GenericAgent job that sends escalation notifications.
# Activate this if you want to use these notifications in your system.
'send escalation notifications' => {
Escalation => 1,
# new ticket properties
New => {
Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue',
},
},


# GenericAgent job that triggers escalation forewarn and escalation start events.
# Activate this if you want to use these events in your system.
'trigger escalation events' => {
Escalation => 1,
# new ticket properties
New => {
Module => 'Kernel::System::GenericAgent::TriggerEscalationStartEvents',
},
},
# insert your jobs (see Kernel/Config/GenericAgent.pm.examples)
);
# -----------------------------------------------------------------------
# end of config options
# -----------------------------------------------------------------------
1;
hrban
Znuny advanced
Posts: 109
Joined: 06 Sep 2013, 10:56
Znuny Version: 3.2.10
Real Name: Chris
Company: bitc

Re: ticket_history

Post by hrban »

Hallo,

ich habe den schuldigen gefunden. es war wirklich ein genericAgent Job....

danke für den Tipp!!!
Locked