
I posted earlier, I was just wondering if there were any thoughts on this one: (thanks in advance) Robert... thanks for the reply. No, the patch didn't work. My Generic Agent was totally broken after the patch. I posted the error to the list yesterday afternoon (eastern us time). I did make a backup of GenericAgent.pm before the patch, so I just restored that. What do you mean by "Post the call to the script in GenericAgent and eventually the script itself"? I created my Generic Agent job, and put the full patch to my shellscript, but it gave me the error I mentioned. I'm not sure what I did wrong. -----Original Message----- From: Robert Kehl [mailto:mailinglists@robertkehl.de] Sent: Tuesday, January 18, 2005 4:43 PM To: User questions and discussions about OTRS. Subject: Re: [otrs] Generic Agent Command Jack Doyle schrieb:
I'm trying to run a shell script from the generic agent. However, when I execute the Generic Agent it gives me an internal server error and says bad header. it gives the ticket number as the supposed header. What I'm doing is using a custom priority (99 pager) to page support personnel. If an issue is changed to that priority, it will execute the script and page the personnel. The script works fine from
the command line.
Post the call to the script in GenericAgent and eventually the script itself. Btw, did the patch to GA concerning the Ansered state succeed? If not, it is most likely your GA is broken now. Revert the patch by copying over Kernel/System/GenericAgent.pm from source.