Question about Generic Agent Ticket commands

Moderator: crythias

Locked
Galdrin
Znuny newbie
Posts: 3
Joined: 21 Mar 2014, 16:07
Znuny Version: 3.3.5

Question about Generic Agent Ticket commands

Post by Galdrin »

Hi all,

We are in the process of moving from RT to OTRS and I have got the nice job of trying to recreate all the automatic jobs that was set up on our old ticketing system. I've tried to search online and in the OTRS manual but haven't found an answer so I'm trying here instead.

As we have a lot of completed shell-scripts that work today we are interested in executing scripts and returning data via the Generic Agent. My question is if it's even possible to return data to OTRS from a script initiated through Ticket commands?
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: Question about Generic Agent Ticket commands

Post by reneeb »

Can you give an example of what you try to achieve?
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
Galdrin
Znuny newbie
Posts: 3
Joined: 21 Mar 2014, 16:07
Znuny Version: 3.3.5

Re: Question about Generic Agent Ticket commands

Post by Galdrin »

One example is a Shell script that we have that takes an IP and a timestamp and compares it to our syslogs over network logons to return a userID. Another example is a quite complicated script that takes a letter with a complaint about copyright infringments and extracts data from the freetext letter used by Sony and others and compares them with our network logs.

I'm working in a abuse / IRT / CERT Group.
skullz
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: Question about Generic Agent Ticket commands

Post by skullz »

yes..possible..
the script at TicketCommand will be executed and return the ticket id / ticket number to the script..
From ticket number / ticket id, you can get ticket details or update the ticket via webservices..
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
Locked