PagerDuty / pagerduty-nagios-pl

Nagios Integration for PagerDuty via Perl Wrapper
11 stars 17 forks source link

be able to have a "queue handler" callback #6

Open filippog opened 11 years ago

filippog commented 11 years ago

Hi, it'd be nice to have a callback mechanism every time an event is pulled off the queue, say a process that gets forked (with a timeout) and the result from the API passed somehow (say stdin). This way it would be possible to chain the pagerduty queue with other systems, case in point I'd like to integrate PD with JIRA and have the two linked, however when I enqueue to pagerduty-nagios I don't know the incident ID and thus can't link that to the JIRA issue I am going to create. I could use both HTTP APIs directly but that would mean giving up on pagerduty-nagios which has proven quite reliable.

thanks!