def METHOD_NAME():
    """The main function. Hier spielt die Musik.
    """
    # parse the command line, exit with UNKNOWN if it fails
    try:
        args = parse_args()
    except SystemExit:
        sys.exit(STATE_UNKNOWN)
    # fetch data
    if args.TEST is None:
        # fetch data from PBX, but first from cache
        data = lib.cache.get(args.HOSTNAME, filename='linuxfabrik-monitoring-plugins-starface.db')
        if not data:
            data = lib.base.coe(lib.net.fetch(args.HOSTNAME, args.PORT, timeout=args.TIMEOUT))
            lib.cache.set(args.HOSTNAME, data, lib.time.now() + args.CACHE_EXPIRE*60, filename='linuxfabrik-monitoring-plugins-starface.db')
    else:
        # do not call the command, put in test data
        stdout, stderr, retc = lib.test.test(args.TEST)
        data = stdout
    if not data:
        lib.base.cu('Got no valuable response from {}:{}.'.format(args.HOSTNAME, args.PORT))
    # extract data
    result = lib.txt.extract_str(data, '<<<starface_backups>>>', '<<<').splitlines()
    # init some vars
    msg = ''
    state = STATE_OK
    perfdata = ''
    old_timestamp = 0
    # analyze the data
    for row in result:
        if not row:
            continue
        # [HDD] 1623885428016 de.vertico.backup.successful'
        # [SMB]192.168.1.6:/Backup_Starface 1556666025340 de.vertico.backup.mountfail
        row = row.split(' ')
        row[1] = int(row[1])/1000
        if row[1] > old_timestamp:
            # we found a more recent backup
            target = row[0]
            timestamp = row[1]
            retc = row[2]
            old_timestamp = row[1]
    # get the states
    now = lib.time.now()
    delta = now - timestamp
    delta_state = lib.base.get_state(delta,
        args.WARN * 60 * 60 if args.WARN is not None else None,
        args.CRIT * 60 * 60 if args.CRIT is not None else None
    )
    state = lib.base.get_worst(delta_state, state)
    backup_state = STATE_WARN if not retc.endswith('successful') else STATE_OK
    state = lib.base.get_worst(backup_state, state)
    # build the message
    msg += 'Last Backup to {} at {} ({} ago{}) {}{}.'.format(
        target,
        lib.time.epoch2iso(timestamp),
        lib.human.seconds2human(delta),
        lib.base.state2str(delta_state, prefix=' '),
        'was successful' if backup_state == STATE_OK else 'failed ({})'.format(retc),
        lib.base.state2str(backup_state, prefix=' '),
    )
    # over and out
    lib.base.oao(msg, state, perfdata, always_ok=args.ALWAYS_OK)