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

[#SUPPORT] Ignore "overlay" device in disk-space alert #1675

Merged
merged 1 commit into from Dec 11, 2018

Conversation

keymon
Copy link
Contributor

@keymon keymon commented Dec 11, 2018

What

The "overlay" device is for the containers of the applications, and
the space is restricted to the allowed disk for the application.

We do not want to alert if an application runs out of space, that
is up for the tenant to monitor.

Because that, we also ignore the overlay device.

Example output of a df command:

overlay 1024 998 27 98% /var/vcap/data/grootfs/store/unprivileged/images/ab308816-7857-4c76-5020-9114/rootfs

How to review

Code review

Who can review

Not me

The "overlay" device is for the containers of the applications, and
the space is restricted to the allowed disk for the application.

We do not want to alert if an application runs out of space, that
is up for the tenant to monitor.

Because that, we also ignore the overlay device.

Example output of a df command:

overlay             1024   998        27  98% /var/vcap/data/grootfs/store/unprivileged/images/ab308816-7857-4c76-5020-9114/rootfs
@bandesz bandesz self-requested a review December 11, 2018 12:41
@bandesz bandesz merged commit 4ce2b23 into master Dec 11, 2018
bandesz pushed a commit that referenced this pull request Dec 11, 2018
…sage

[#SUPPORT] Ignore "overlay" device in disk-space alert
@bandesz bandesz deleted the do-not-alert-on-overlay-disk-usage branch December 11, 2018 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants