Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alerta.plugins.zabbix[41]: [ERROR] Zabbix: eventId missing from alert attributes #1870

Open
sergeybezlepkin opened this issue Jul 25, 2023 · 0 comments

Comments

@sergeybezlepkin
Copy link

Hey, everybody.

Exchange script problem with Zabbix configured, uploaded plugin to get confirmation but I get an error:
alerta.plugins.zabbix[41]: [ERROR] Zabbix: eventId missing from alert attributes request_id=722a859b-88dd-48f6-8716-55696f3429fd

Defined parameters:
ZABBIX_API_URL
ZABBIX_USER
ZABBIX_PASSWORD

Name: Alerta
Type: Script
Script name: zabbix-alerta
Script parameters:
1st: {ALERT.SENDTO}
2nd: {ALERT.SUBJECT}
3rd: {ALERT.MESSAGE}
Enabled: [x]

Name: Forward to Alerta
Default subject:
{TRIGGER.STATUS}: {TRIGGER.NAME}
Default message:
resource={HOST.NAME1}
event={ITEM.KEY1}
environment=Production
severity={TRIGGER.SEVERITY}
status={TRIGGER.STATUS}
ack={EVENT.ACK.STATUS}
service={TRIGGER.HOSTGROUP.NAME}
group=Zabbix
value={ITEM.VALUE1}
text={TRIGGER.STATUS}: {TRIGGER.NAME}
tags={EVENT.TAGS}
attributes.ip={HOST.IP1}
attributes.thresholdInfo={TRIGGER.TEMPLATE.NAME}: {TRIGGER.EXPRESSION}
type=zabbixAlert
dateTime={EVENT.DATE}T{EVENT.TIME}Z

and RECOVERY according to the documentation.

Help me to understand, I have looked through the error branch but did not find such a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant