The amount of moisture discharged from within a fuel cell is increased by a simple construction. The device main body includes component container detachably housing a component. The magnetic detecting portion 2 is made up of magnetic sensors arranged in a direction circumferentially of the race members 32, 33 and each capable of providing an analog output.