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:
        result = lib.nodebb.get_data(args, '/api/admin/dashboard')
    else:
        # do not call the command, put in test data
        stdout, stderr, retc = lib.test.test(args.TEST)
        result = json.loads(stdout)
    # init some vars
    perfdata = ''
    # analyze data
    installed_version = result['version']
    latest_version = result['latestVersion']
    perfdata = lib.base.get_perfdata('nodebb-version', lib.version.version2float(installed_version), None, None, None, 0, None)
    # build the message
    if not result['upgradeAvailable']:
        state = STATE_OK
        msg = 'NodeBB v{} is up to date'.format(installed_version)
    else:
        state = STATE_WARN
        msg = 'NodeBB v{} installed, NodeBB v{} available'.format(
            installed_version,
            latest_version,
        )
    if result['lastrestart']['timestamp']:
        last_restart = result['lastrestart']['timestamp'] / 1000
        msg += ', Last restart: {} by {} <{}> ({} ago)'.format(
            lib.time.epoch2iso(last_restart),
            result['lastrestart']['user']['username'],
            result['lastrestart']['user']['email'],
            lib.human.seconds2human(lib.time.now(as_type='epoch') - last_restart),
        )
    # over and out
    lib.base.oao(msg, state, perfdata, always_ok=args.ALWAYS_OK)