coren has uploaded a new change for review. https://gerrit.wikimedia.org/r/201203
Change subject: Labs: monitor and alert labnet1001 for conntrack ...................................................................... Labs: monitor and alert labnet1001 for conntrack Bug: T90437 Change-Id: I0b3ff3199ca4637a6161fbdc95bb788188561644 --- M manifests/role/nova.pp 1 file changed, 13 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/03/201203/1 diff --git a/manifests/role/nova.pp b/manifests/role/nova.pp index b215547..be652c2 100644 --- a/manifests/role/nova.pp +++ b/manifests/role/nova.pp @@ -356,6 +356,19 @@ } diamond::collector::conntrack { 'conntrack_collector': } + + # The current maximum is 262144; the threshold should be set + # to a faction of *.conntrack_max rather than a literal here + # but graphite_threshold doesn't support that. + monitoring::graphite_threshold { 'conntrack_saturated': + description => 'Connection tracking saturation' + metric => "servers.${::hostname}.ConntrackCollector.network.netfilter.conntrack_count.value", + from => '5min', + warning => '241664', # (~90%) + critical => '258048', # (~98%) + percentage => '1', + } + } class role::nova::wikiupdates { -- To view, visit https://gerrit.wikimedia.org/r/201203 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0b3ff3199ca4637a6161fbdc95bb788188561644 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: coren <mpellet...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits