Before you could check the profile compliance of an ESXi host, it should be attached to the Host Profile. Read the instructions in the recipe, Attaching/Detaching ESXi hosts to/from Host Profile to achieve the same.