def METHOD_NAME(cls, hostnames, data):
    host_stats = [('hostname', 'total', 'per minute')]
    for h in hostnames:
        h_safe = safe_name(h)
        prefix = f'awx_{h_safe}'
        messages_total = data.get(f'{prefix}_messages_received', '0')
        messages_per_minute = data.get(f'{prefix}_messages_received_per_minute', '0')
        host_stats.append((h, str(int(messages_total)), str(int(messages_per_minute))))
    return host_stats