If you are connecting to 12671 Nilgiri Express which leaves Chennai at 21.00 in theory you will still have nearly 2 hours to make the connection. However, engineering work can sometimes overrun its time. I think you will probably be O.K., but it will be a nervous time for you, I fear.
Best of luck.