Low-cost and distributed health monitoring system for critical buildings