The invention relates to a solution for cleaning a milking plant, which includes a milk line system (MLS), connectable to a collecting means, and is adapted to deliver milk that has been withdrawn from animals to a milk storage means (250). The milking plant also includes milk storage valve means (100 235, 240), arranged between the milk line system (MLS) and the milk storage means (250). The valve means (240) are selectively adjustable to prevent fluid communication between the milk line system (MLS) and the milk storage means (250) during cleaning of the milk line system (MLS). Moreover, the valve means (100 235, 240) are associated with a monitoring arrangement (275, EPS), which is adapted to determine an amount of leakage through the valve means (100 235, 240) during the cleaning of the milk line system (MLS), and produce a valve health status signal (Sv) reflecting the amount of leakage. Hence, the functionality status of the valve means (100 235, 240) may be qualitatively evaluated.