System shut down problem

hi,
i am facing the problem of the system gets restart automatically,when the current failure..this s happen only when i turned off my moniter only..
i am using numeric ups..
i dont want problem is....?