Should an RPC server be designed in a farm to monitor the current status of the farm, facilitating centralized management?

I have several farms and want to monitor their current status in real-time and compile statistics. Can I add an RPC server implementation to the repository of my farms?

I don’t think RPC is the answer here, you most likely want application metrics. There is some foundation in the farmer already (see CLI options on how to enable metrics server), then you can visualize things in Grafana and create alerts.