Commissioning of the beam conditions monitor of the LHCb experiment at CERN