Skip to content

Zabbix API Error: Invalid Parameter 'auth' When Acknowledging Alerts from JSM #76

@rept89

Description

@rept89

Since Zabbix version 6.2, the Zabbix API requires an API token for authentication instead of a username and password. When acknowledging an alert from JIRA, the message is sent back to the Zabbix server, but the following error is returned:

DEBUG:root:Zabbix response: {'jsonrpc': '2.0', 'error': {'code': -32600, 'message': 'Invalid request.', 'data': 'Invalid parameter "/": unexpected parameter "auth".'}, 'id': 1}

Steps to Reproduce:

  • Trigger an alert from Zabbix
  • Acknowledge the created alert on JSM

Expected Result: The acknowledgment should be reflected in Zabbix.

Actual Result: The error message above is returned in the output.txt file, and the acknowledgment is not reflected in Zabbix.

Additional Information:

Zabbix version: 7.2.4
Script set in jec-config.json: jec_action_executor_for_zabbix6.py also tested with jec_action_executor_for_zabbix4.py
jsm-integration-script version: zabbix-1.0.3_jec-1.0.5

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