Monitoring coal goaf mainly is arrangement of the wireless sensor network node in goaf to monitor the change of gas concentration and environmental temperature. This paper presents a clustering routing algorithm based on event-driven. In conventional circumstances, we adopt an improved LEACH algorithm. In the case of an event occurs, the nodes within the event region form a sub-cluster automatically, electing a cluster head node in cluster center. Cluster head after fusion data, in the direction of the shortest distance with the sink node forms a series of dynamic clustering and transmits the data to the sink node. Through MATLAB simulation studies show that the improved LEACH prolongs network life cycle efficaciously, clustering routing algorithm based on event-driven will transmits the data to the sink node reliably and in real time.