How to create monitoring alerts based on metrics reaches limit?

Hi,
In Opennebula 5.0.2 Integration using XML-RPC method, thought of creating monitoring alerts when metrics reaches user’s limit and sending emails to admin. Is there any way in Opennebula?