1. A bearing comprising: an inner ring; an outer ring; rolling bodies positioned between the inner and outer rings, one of the inner and outer rings being rotary and a remaining other of the inner and outer rings being fixed; a first module comprising at least one sensor configured to perform successive measurements of at least one parameter representative of vibrations within the bearing; and a second module configured to: determine a frequency representation of signal corresponding to the successive measurements, obtain a set of elements representative of the frequency representation as a function of that frequency representation, and compare at least one representative element of the set of elements with a corresponding reference element to identify a malfunction as a function of the comparison.