Rush has uploaded a new change for review. https://gerrit.wikimedia.org/r/208293
Change subject: Icinga: ripe atlas alerts more overzealous replace fixing ...................................................................... Icinga: ripe atlas alerts more overzealous replace fixing Change-Id: I4eec637dd3af268b1cbe4ca9df7e629a0c105bc0 --- M modules/icinga/files/check_ripe_atlas.py 1 file changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/93/208293/1 diff --git a/modules/icinga/files/check_ripe_atlas.py b/modules/icinga/files/check_ripe_atlas.py index bf2e27d..48f5dc9 100644 --- a/modules/icinga/files/check_ripe_atlas.py +++ b/modules/icinga/files/check_ripe_atlas.py @@ -16,13 +16,13 @@ UDM_id = sys.argv[1] loss_allowed = sys.argv[2] allowed_failures = sys.argv[3] -msg = "%s - failed %d probes of %d (CRITICALs on %s)" +msg = "%s - failed %d probes of %d (alerts on %s)" def main(): udm = '%s/' % (UDM_id,) - failures = '?permitted_total_CRITICALs=%s' % (allowed_failures,) + failures = '?permitted_total_alerts=%s' % (allowed_failures,) loss = '&max_packet_loss=%s' % (loss_allowed) url = ripeurl + udm + failures + loss @@ -46,6 +46,7 @@ exit(0) if jout['global_alert']: + print msg % ('CRITICAL', len(failed_probes), total_probes, -- To view, visit https://gerrit.wikimedia.org/r/208293 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4eec637dd3af268b1cbe4ca9df7e629a0c105bc0 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Rush <r...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits