Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11720] 'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default #4184

Closed
icinga-migration opened this issue May 3, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented May 3, 2016

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11720

Created by pregopresto on 2016-05-03 20:12:04 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2016-05-06 14:10:08 +00:00)
Target Version: 2.4.8
Last Update: 2016-05-06 14:10:08 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

The default check_disk command doesn't exclude 'cgroup' and 'tracefs' which results in an error message on Ubuntu 16.04 systems. I suggest to add this two to the vars.disk_exclude_type array.

The default command and the error messages when it's not excluded:

icinga@hs2:/root$ /usr/lib/nagios/plugins/check_disk -c 10% -w 20% -K 10% -W 20% -X none -X tmpfs -X sysfs -X proc -X devtmpfs -X devfs -X mtmfs -X debugfs -m
DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Keine Berechtigung
icinga@hs2:/root$ /usr/lib/nagios/plugins/check_disk -c 10% -w 20% -K 10% -W 20% -X none -X tmpfs -X sysfs -X proc -X devtmpfs -X devfs -X mtmfs -X debugfs -X tracefs -m
DISK CRITICAL - /run/lxcfs/controllers/freezer is not accessible: Keine Berechtigung
icinga@hs2:/root$ /usr/lib/nagios/plugins/check_disk -c 10% -w 20% -K 10% -W 20% -X none -X tmpfs -X sysfs -X proc -X devtmpfs -X devfs -X mtmfs -X debugfs -X tracefs -X cgroup -m
DISK OK - free space: / 97096 MB (97% inode=98%);| /=2150MB;83665;94123;0;104582
icinga@hs2:/root$ 

Changesets

2016-05-06 14:05:40 +00:00 by mfriedrich 9baa08d

'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default

fixes #11720

2016-05-12 09:08:20 +00:00 by mfriedrich 65e91ed

'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default

fixes #11720
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented May 6, 2016

Updated by mfriedrich on 2016-05-06 13:59:15 +00:00

  • Subject changed from ITL - check_disk: exclude 'cgroup' and 'tracefs' by default to 'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default
  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Target Version set to 2.4.8
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented May 6, 2016

Updated by mfriedrich on 2016-05-06 14:10:08 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 9baa08d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.