A security system having a magnetic displacement sensor system and an analytics system. The magnetic displacement sensor system includes a displacement sensor for detecting a magnetic field strength from a magnet. The analytics system determines a status of the magnetic displacement sensor system based on a comparison of the detected magnetic field strength and a profile for the magnetic displacement sensor system.