Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

im-archive/prtg-pagerduty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRTG/PagerDuty Notification Integration

Build Status Go Report Card

Goals

  • Create incidents using version 2 of the PagerDuty Events API for triggered PRTG alerts.

  • Automatically resolve alerts when status returns to normal or paused in PRTG.

Build & Installation

Build the package

go get github.com/WTW-IM/prg-pagerduty

go build

From an Adminstrator powershell session:

cp pagerduty.exe "C:\Program Files (x86)\PRTG Network Monitor\Notifications\EXE\"

Configuring notification in PRTG

Create new basic notification. Check "EXECUTE PROGRAM" selecting pagerduty.exe from the Program File dropdown.

Populate the parameter field with the following, substituting the service key with your service integration key

-probe "%probe" -device "%device" -name "%name" -status "%status" -date "%datetime" -linkdevice %linkdevice -message "%message" -servicekey myShineyV2IntegrationKey -severity "critical"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published