def METHOD_NAME(queue):
    if not queue:
        exit_with_error('--munin-config called without a --queue parameter')
    tasks = [n for n, q in get_tasks().items() if q == queue]
    print('graph_title Waiting tasks for queue %s' % queue)
    print('graph_vlabel Nb of tasks')
    print('graph_category celery')
    for task in tasks:
        print('%s.label %s' % (format_field_for_munin(task), short_name(task)))