Early warning system in disaster management