in a network simulator 2 its sense temperature or takes temperature manually on a interface and route this temperature to other nodes by using leach [login to view URL] create a alert zone whenever the fix set temperature reaches its sent a alert or route that information to through leach algorithm on the basis of that generate performance graph.