elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Zabbix alert module error

Open himanshurajput32 opened this issue 5 years ago • 0 comments

Hi,

I'm using docker image bitsensor/elastalert:3.0.0-beta.1 to run the elastalert server. I created a new alert using zabbix as an alert module. Here is the my rule file -

`es_host: es_server_address es_port: 9200 name: test-rule type: frequency num_events: 1 timeframe: seconds: 10 filter:

query: query_string: query: "cs-method:POST" index: logstash* timestamp_field: "@timestamp" alert: zabbix zbx_sender_host: zabbix_server_address zbx_sender_port: 10051 zbx_host: elastalert-server zbx_item: elastalert-item` Now I'm getting the following error in elastalert server logs - 12:02:11.551Z ERROR elastalert-server: ProcessController: ERROR:root:Could not load rule rules/test-rule.yaml: Error initiating alert ['zabbix']: Could not import module zabbix: need more than 1 value to unpack 12:02:11.568Z ERROR elastalert-server: ProcessController: ERROR:root:Error connecting to SMTP host: {} Can anyone help me to solve this error?

himanshurajput32 avatar Dec 19 '19 12:12 himanshurajput32