Increasing equipment uptime through in situ moisture monitoring