Glauber dynamics in a single-chain magnet: From theory to real systems