Help in design of Alternate Distributed Poller

Gurus need some quick help with at an architecture and code level.

I have a requirement to monitor devices securely in remote branches that have a broadband connection and the only port open for communication is TCP 443. I want to implement a agent that will do SNMP discovery and performance polling and fault isolation and then send those devices back to the main site. All commands will be sent from the central console and then executed at the agent.

Can I extend LibreNMS to achieve this or should I develop from scratch. Thank you for you help in advance.

Unfortunately we dont have anything like that. Code for something would be welcomed. The community is what makes LibreNMS.