I use digital loggers switches, have all the features you need including pinging IP’s and automatically reboots ports when sensing no traffic, this exactly what I have for my ISP modem, also very handy with rebooting cable boxes, satellite receivers, Roku, etc.
Have a native driver with C4, I have 2 running for the past 3 years, no issues, it will set you $180/PDU back!
https://dlidirect.com/products/universal-input-voltage-pdu