coren has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/199297

Change subject: Labs: Monitor network staturation on labstores
......................................................................

Labs: Monitor network staturation on labstores

First pass; may need sensitivity tuning.

Bug: T92629
Change-Id: I27d67739ef9501f9ecc55e7210abd3b6b9027c68
---
M manifests/site.pp
1 file changed, 23 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/97/199297/1

diff --git a/manifests/site.pp b/manifests/site.pp
index ef01667..d4473e4 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1363,6 +1363,29 @@
 
     class { 'ldap::role::client::labs': ldapincludes => $ldapincludes }
 
+    #
+    # This is all going in the labs_storage module once that one
+    # is ready.
+    #
+
+    monitoring::graphite_threshold { 'network_out_saturated':
+        description     => 'Outgoing network saturation',
+        metric          => "servers.${::hostname}.network.bond0.tx_byte.value",
+        from            => '30min',
+        warning         => '50000000', # roughly half of the 100Mbps
+        crirical        => '75000000', # roughly 75%
+        percentage      => '10',       # smooth over peaks
+    }
+
+    monitoring::graphite_threshold { 'network_in_saturated':
+        description     => 'Incoming network saturation',
+        metric          => "servers.${::hostname}.network.bond0.rx_byte.value",
+        from            => '30min',
+        warning         => '50000000', # roughly half of the 100Mbps
+        crirical        => '75000000', # roughly 75%
+        percentage      => '10',       # smooth over peaks
+    }
+
 }
 
 node 'labstore1003.eqiad.wmnet' {

-- 
To view, visit https://gerrit.wikimedia.org/r/199297
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I27d67739ef9501f9ecc55e7210abd3b6b9027c68
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: coren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to