Ema has uploaded a new change for review.

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

Change subject: Disk space icinga check: pass --exclude-type=tracefs
......................................................................

Disk space icinga check: pass --exclude-type=tracefs

The check_disk plugin tries to enumerate all filesystems, failing on
/sys/kernel/debug/tracing that cannot be accessed by the nagios
user.

Explicitly exclude tracefs.

Ref: https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1516451
Change-Id: I28f1c314370a34732b2ae75a0e7c4c0b9ceb97fe
---
M modules/base/manifests/monitoring/host.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/276712/1

diff --git a/modules/base/manifests/monitoring/host.pp 
b/modules/base/manifests/monitoring/host.pp
index 24cdef4..752235c 100644
--- a/modules/base/manifests/monitoring/host.pp
+++ b/modules/base/manifests/monitoring/host.pp
@@ -25,7 +25,7 @@
     $contact_group = hiera('contactgroups', 'admins'),
     # the -A -i ... part is a gross hack to workaround Varnish partitions
     # that are purposefully at 99%. Better ideas are welcome.
-    $nrpe_check_disk_options = '-w 6% -c 3% -l -e -A -i "/srv/sd[a-b][1-3]"',
+    $nrpe_check_disk_options = '-w 6% -c 3% -l -e -A -i "/srv/sd[a-b][1-3]" 
--exclude-type=tracefs',
     $nrpe_check_disk_critical = false,
 ) {
     include base::puppet::params # In order to be able to use some variables

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I28f1c314370a34732b2ae75a0e7c4c0b9ceb97fe
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to