How to monitor TrueNAS from Nagios?

Hi;

I need to monitor some TrueNAS Scale volumes from Nagios. Nagios should alert me in case of disk failures and if a volume reaches n% capacity.

What is the best way to accomplish this? SNMP? Some agents (NSClient++) on TrueNAS?

TrueNAS systems to monitor are 24.10.2 on Supermicro hardware. Nagios runs on a Debian 12 VM and comes from the Debian distro.

Thanks.