Skip to content

christopwner/zabbix-snow-alertscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zabbix ServiceNow Alertscript

Script for allowing a Zabbix server to create incidents in ServiceNow with alerts.

Setup

Requires the following parameters (config in Zabbix during custom media type setup):

  • {ALERT.SENDTO} (snow url)
  • user
  • pass
  • {ALERT.SUBJECT}
  • {ALERT.MESSAGE}

Must modify default subject in action to include {TRIGGER.NSEVERITY} and {EVENT.ID} as these macros are unavailable through media type. Should look like the following:

Problem {TRIGGER.NSEVERITY} : {EVENT.ID} {TRIGGER.NAME}

Resolved {TRIGGER.NSEVERITY} : {EVENT.ID} {TRIGGER.NAME}

Carriage returns are usually added to the default message but will be removed by this script. Consider adding semi-colons or another delimiter between fields.

Priority

Priority is calculated based on urgency/impact and will impact downstream processes if set directly. We opted to set urgency to 1 for every alert and map trigger severity to impact.

Requirements

About

Script for creating incidents in ServiceNow from Zabbix alerts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages