Shut down C-7 Hub via NAS commanded from a UPS

This specific post will help you: