As per a legend, Vayu Bhaghvan and Adiseshan had a dispute to find out who is superior, to prove the superiority adiseshan encircled the Kailasam, Vayu tried to remove this encircle by creating santamarutham (Twister). Because of the santamarutham, 8 kodumudigal (parts) fell from Kailasam into 8 different places which are Thirugonamalai (Trincomalee, Sri Lanka), Thirukalahasti, Thiruchiramalai rock fort, Thiruenkoimalai, Rajathagiri, Neerthagiri, Ratnagiri (Ayyar Malai), and Suwethagiri or Thirupangeeli. The Ayyar malai temple attracts lot of visitors during full moon days and (Mondays) during the Tamil Month of Karthigai.