
18 Jan
2005
18 Jan
'05
9:43 p.m.
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. Regards, Robert Kehl