Use a single function to format output, and remove space in metric name.
print_result deduplicates code a bit; and replacing the space with an underscore is recommended by Icinga's documentation.
Migrated from D2482 (view on Phabricator)
Staging instance, all changes can be removed at any time
print_result deduplicates code a bit; and replacing the space with an underscore is recommended by Icinga's documentation.
Migrated from D2482 (view on Phabricator)