Welcome to LinuxQuestions.
Not much information to go on but what is the make / model of your UPS? Is the UPS connected to the server via serial or USB cable?
What UPS software if any is running on the server?
How old is the battery? Do you know if the UPS and battery are functioning correctly?