Skip to content

Conversation

@jens-maus
Copy link
Contributor

This PR fixes the always returning of "no filesystem information" for the df_check_filesystem_single call since this function expected the reserved_space to be != None. In addition, the size parameters are now properly converted to MiB to match expectations.

This change fixes the always returning of "no filesystem
information" for the df_check_filesystem_single call since this function
expected the reserved_space to be != None. In addition, the size
parameters are now properly converted to MiB to match expectactions.
@jens-maus
Copy link
Contributor Author

See here for the error (note the "no filesystem size information" being printed):

Bildschirmfoto 2025-10-09 um 10 14 43

And here after the fix (after adding reserved_space=0 to the function call):

Bildschirmfoto 2025-10-09 um 10 41 44

Also note that TiB is printed correctly. Furthermore, please note the following reference to the df_check_filesystem_single function and the corresponding line to output "no filesystem information" in case reserved_space was not set:

https://github.com/Checkmk/checkmk/blob/102e10f2ef25f9e37d43afdea5fef9a52fe4cd1e/cmk/plugins/lib/df.py#L568-L570

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.

1 participant