Skip to content

cyrus-mc/pagerduty_ack_to_nagios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

pd_ack_to_nagios_ack_poller.pl

to supplement https://github.com/PagerDuty/pagerduty-nagios-pl

pagerduty_nagios.pl does a good job of getting nagios events into pagerduty... this script provides the reverse, for a more round-trip-synced experience

more specifically, it polls pagerduty for new events since the last poll, checks whether they are acks or resolves, and if so applies those to their corresponding nagios alerts. i.e., if you ack in pagerduty, via sms or web ui or phone app, that ack will find it's way back to your nagios instance.

set up a cron like so:

* * * * * nagios /usr/local/bin/pd_ack_to_nagios_ack_poller.pl -p [my_pagerduty_token] -u [my_pagerduty_domain]

About

pagerduty_act_to_nagios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%