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?
Question about Generic Agent Ticket commands
Moderator: crythias
-
- 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
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Question about Generic Agent Ticket commands
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.
I'm working in a abuse / IRT / CERT Group.
-
- 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
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..
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
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