The invention provides a method and device for generating an attention indication for a dairy animal that is kept in an environment with a freely accessible robotic milking system, including measuring a plurality of visit intervals, milking intervals, respectively of said dairy animal, determining a value of a statistical parameter regarding the measured plurality of intervals from the measured intervals, generating the attention indication, in particular a mastitis alarm signal, if the value exceeds a predetermined threshold value. Precious information can be derived from the spread of or change in the values.