Own check for monitoring total disk usage of a host not working

Thanks a lot for all the help.

But I’m afraid it is still not working. The cmk --debug command gave no exception.
I also tried to put a “,” after the None in the check function. But that didn’t help either.

#!/usr/bin/env python3

from .agent_based_api.v1 import *

def discover_filesystem_df_total(section):
    yield Service(item="Filesystem total")

def check_filesystem_df_total(item, params, section):
    yield Result(state=State.OK, summary="Here Iam")

register.check_plugin(
    name="filesystem_df_total",
    service_name="%s",
    check_default_parameters={},
    discovery_function=discover_filesystem_df_total,
    check_function=check_filesystem_df_total,
)

def parse_filesystem_df_total(string_table):
    section=string_table
    return section if section else None,

register.agent_section(
    name="filesystem_df_total",
    parse_function=parse_filesystem_df_total,
)