The Internet of Things (IoT) gives a virtual view, via the Internet Protocol, to a huge variety of real life objects, ranging from a car, to a teacup, weather atmosphere etc. The Internet of Things (IoT) is the network of physical objects, devices, vehicles, buildings and other items which are embedded with electronics, software, sensors, and network connectivity, which enables these articles to gather and trade information. WSNs are integrated into the Internet of Things (IoT), where sensor nodes join the Internet dynamically, and use it to collaborate and accomplish their tasks. Wireless sensor networks (WSN) are well suited for long term environmental data acquisition for IoT representation. And we also discuss More and more natural disasters are happening every year: floods, earthquakes, volcanic eruptions, etc. So as to decrease the risk of possible damages, governments all around the world are investing into development of Early Warning Systems (EWS) for environmental applications. The most essential assignment of the EWS is identification of the onset of critical situations affecting environment and population, early enough to inform the authorities and general public. This paper portrays a methodology for observing of surge securities systems based on machine learning methods.