Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Beacon diskusage reporting incorrect diskusage value. #49174
Description of Issue/Question
The Beacon diskusage is reporting the incorrect diskusage in the event.
This is due to wrong value being referenced. In the diskusage beacon module.
I corrected this by referencing
This will set _current_usage with the partition found using the regex and not the one listed in the config. This should also correct the issue of triggering an exception that occurs when trying to get usage of a mount from the beacon config that is a regular expression.
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
Setup a diskusage beacon.
(Provided by running
Can you submit a PR with this fix?