Skip to content

script to ack zabbix event(s), created for use as an agi script for asterisk

Notifications You must be signed in to change notification settings

mcilley/zabbix-ack-event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

zabbix-ack-event

Script to ack zabbix event(s), created for use as an agi script for asterisk

Used in https://github.com/mcilley/asterisk-zabbix-phone-escalation As this was created for use with phone alerting agi script above, this script will ack all prior unacknoleged alerts (otherwise current alerting event not noted as being acknoleged).

Example Usage in Asterisk - extensions.conf:

 ;;PLayback the name of the digit and ack alert in zabbix
 exten => 1,1,Set(RESPOND=1)
 exten => 1,n,agi(ackEvents.agi,"--name=${NAME}","--triggerId=${ALERTID}")
 exten => 1,n,agi(ttsGoogle.agi,"You have Pressed ${EXTEN} to Accept this issue, Goodbye!")
 exten => 1,n,Hangup()

About

script to ack zabbix event(s), created for use as an agi script for asterisk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages