
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. The generic agent will then add a note to the issue indicating that the support tech has been paged and will then set the priority back to very high. all works except the command. Any ideas?

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
participants (2)
-
Jack Doyle
-
Robert Kehl