Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate-limited events should be deferred, not dropped #4

Open
danielparks opened this issue Jun 14, 2015 · 0 comments
Open

Rate-limited events should be deferred, not dropped #4

danielparks opened this issue Jun 14, 2015 · 0 comments

Comments

@danielparks
Copy link

pagerduty_icinga.pl line 184 seems like it should be return 0. Or do you mean to drop rate-limited events?

    elsif ($resp->code == '403') {
      syslog(LOG_WARNING, "Icinga event in file %s DEFERRED due to rate limiting. Server says: %s", $filename, $resp->content);
      unlink($filename);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant