The characters \ / : ? * " < > | as well as leading and trailing spaces in file and directory names are generally problematic and cannot be used at all on some systems, e.g. the question mark on Windows.
At Icinga Summit 2024 in Berlin, Linuxfabrik ran the workshop Write your own monitoring plugin in Python using the Linuxfabrik Libraries.