Skip to content

About

Edge encryption support + priority mapping

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

Coverage

Compatible with Opsgenie's generic API integration (do not use this with the "built-in" Zabbix integration) and/or Edge Encryption.

Other changes:

  • Priority Mapping
  • Config is independent of Marid/OEC
  • Logs to /etc/opsgenie/zabbix2opsgenie.log by default because of OEC log directory permissions.

Config path: confPath

Log path: logPath

Install

Using Go:

go get github.com/r-pratt/zabbix2opsgenie

ln -s $GOPATH/bin/zabbix2opsgenie /etc/opsgenie/zabbix2opsgenie

ln -s $GOPATH/src/github.com/r-pratt/zabbix2opsgenie/zabbix2opsgenie.json /etc/opsgenie/zabbix2opsgenie.json

Without Go:

mkdir /etc/opsgenie && cd /etc/opsgenie

curl -O 'https://raw.githubusercontent.com/r-pratt/zabbix2opsgenie/master/zabbix2opsgenie'

curl -O 'https://raw.githubusercontent.com/r-pratt/zabbix2opsgenie/master/zabbix2opsgenie.json'

chmod +x zabbix2opsgneie

Zabbix Action Command:

/etc/opsgenie/zabbix2opsgenie -triggerName='{TRIGGER.NAME}' -triggerId='{TRIGGER.ID}' -triggerStatus='{TRIGGER.STATUS}' -triggerSeverity='{TRIGGER.SEVERITY}' -triggerDescription='{TRIGGER.DESCRIPTION}' -triggerUrl='{TRIGGER.URL}' -triggerValue='{TRIGGER.VALUE}' -triggerHostGroupName='{TRIGGER.HOSTGROUP.NAME}' -hostName='{HOST.NAME}' -ipAddress='{IPADDRESS}' -eventId='{EVENT.ID}' -date='{DATE}' -time='{TIME}' -itemKey='{ITEM.KEY}' -itemValue='{ITEM.VALUE}' -recoveryEventStatus='{EVENT.RECOVERY.STATUS}'

About

Edge encryption support + priority mapping

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址