A distributed networked approach for fault detection of large-scale systems