def get_cluster_macros(statobj, nodeid):
    """Get the cluster and node LLD macros"""
    cluster_name = statobj.client.cluster.health()['cluster_name']
    nodeinfo = statobj.cached_read('nodeinfo')['nodes']
    nodename = nodeinfo[nodeid]['name']
    entries = {
        '{#CLUSTERNAME}': cluster_name,
        '{#NODEID}':nodeid,
        '{#NODENAME}':nodename
    }
    return entries