def METHOD_NAME(line):
    """
    Figure out the sections in drbdadm status
    """
    spaces = _count_spaces_startswith(line)
    if spaces is None:
        return ""
    switch = {
        0: "RESOURCE",
        2: {" disk:": "LOCALDISK", " role:": "PEERNODE", " connection:": "PEERNODE"},
        4: {" peer-disk:": "PEERDISK"},
    }
    ret = switch.get(spaces, "UNKNOWN")
    if isinstance(ret, str):
        return ret
    for x in ret:
        if x in line:
            return ret[x]
    return "UNKNOWN"