Skip to content

JEC fails to execute zabbix server script #68

@artm

Description

@artm

When trying to acknowledge an alarm from JSM using zabbix-1.0.3_jec-1.0.4, JEC action handler starts, but fails calling out to the python script with:

Received 1 messages from the queue[...]. 
Job[...] is being submitted 
Job[...] is submitted to worker[...] 
Message[...] is deleted from the queue[...]. 
Action[Acknowledge] execution of message[...] failed: exit status 2 Stderr: usage: 
    jec_action_executor.py [-h] 
        -payload QUEUEPAYLOAD -apiKey APIKEY -jsmUrl JSMURL -logLevel LOGLEVEL 
        [-command_url COMMAND_URL] [-user USER] [-password PASSWORD]
jec_action_executor.py: error: unrecognized arguments: 
    --jecNamedPipe /var/tmp/jec/jecCallbackPipe-... 
Job[...] has been processed by worker[...]. 
Current Worker: 4, Idle Worker: 4, Queue Size: 0, Queue load: 0 
Successfully sent result of message[...] to Jira Service Management and it took 0.800652 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions