Closed Bug 961943 Opened 7 years ago Closed 7 years ago

Nagios bug queue check support for paging regardless of severity

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ashish, Assigned: glob)

References

Details

Attachments

(1 file)

Use case: https://bugzilla.mozilla.org/show_bug.cgi?id=948970#c2

> What we're hoping for is a check that will alert when any bug in that
> component (regardless of severity) is unassigned for more than 24h.
Assignee: server-ops → glob
Component: Server Operations → General
Product: mozilla.org → bugzilla.mozilla.org
QA Contact: shyam
Version: other → Production
Attached patch 961943_1.patchSplinter Review
Attachment #8362816 - Flags: review?(dkl)
Attachment #8362816 - Flags: feedback?(ashish)
Attachment #8362816 - Flags: feedback?(ashish) → feedback+
Comment on attachment 8362816 [details] [diff] [review]
961943_1.patch

Review of attachment 8362816 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl by inspection and simple testing.

::: contrib/nagios_blocker_checker.pl
@@ +120,5 @@
>  use constant NAGIOS_NAMES       => [qw( OK WARNING CRITICAL )];
>  
>  my $dbh = Bugzilla->switch_to_shadow_db;
> +my $any_severity = $config->{severity} eq 'any';
> +my($where, @values);

nit: space after my
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/
modified contrib/nagios_blocker_checker.pl
Committed revision 9222.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Attachment #8362816 - Flags: review?(dkl) → review+
You need to log in before you can comment on or make changes to this bug.