Methods and apparatus for operating a rod pumping unit for a wellbore are provided. One example method includes measuring vibration data in the time domain using at least one sensor coupled to a housing for a moving component of the rod pumping unit; converting the vibration data in the time domain to vibration data in the frequency domain; determining that: (1) at least one frequency component of the frequency-domain vibration data in a first frequency band has a power above a first threshold; or (2) a number of frequency components of the frequency-domain vibration data in a second frequency band having power above a second threshold is above a third threshold; and outputting an indication based on the determination.