coren has submitted this change and it was merged.
Change subject: Labs: Monitor network staturation on labstores
......................................................................
Labs: Monitor network staturation on labstores
First pass; may need sensitivity tuning. Appears to work
since the current 5m spiky behaviour gives us a warning (as
expected)
Bug: T92629
Change-Id: I27d67739ef9501f9ecc55e7210abd3b6b9027c68
---
M manifests/role/labsnfs.pp
M manifests/site.pp
2 files changed, 19 insertions(+), 0 deletions(-)
Approvals:
coren: Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/role/labsnfs.pp b/manifests/role/labsnfs.pp
index d7cd61e..65483b9 100644
--- a/manifests/role/labsnfs.pp
+++ b/manifests/role/labsnfs.pp
@@ -59,5 +59,23 @@
include openstack::project-nfs-storage-service
include openstack::replica_management_service
+ monitoring::graphite_threshold { 'network_out_saturated':
+ description => 'Outgoing network saturation',
+ metric => "servers.${::hostname}.network.bond0.tx_byte.value",
+ from => '30min',
+ warning => '75000000', # roughly 600Mbps / 1Gbps
+ critical => '100000000', # roughly 800Mbps / 1Gbps
+ 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 => '75000000', # roughly 600Mbps / 1Gbps
+ critical => '100000000', # roughly 800Mbps / 1Gbps
+ percentage => '10', # smooth over peaks
+ }
+
}
diff --git a/manifests/site.pp b/manifests/site.pp
index eb14146..2fb32a8 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1325,6 +1325,7 @@
$cluster = 'labsnfs'
role labs::nfs::fileserver
+
}
node 'labstore1003.eqiad.wmnet' {
--
To view, visit https://gerrit.wikimedia.org/r/199297
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I27d67739ef9501f9ecc55e7210abd3b6b9027c68
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: coren <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits