There is MySQL monitoring subagent, it could possibly work on MariaDB as well, but it seems to be not documented. You can get some information from it's source code here - https://github.com/netxms/netxms/tree/master/src/agent/subagents/mysql and I will ask next week to update administration guide as well.
Best regards,
Victor