Add this command in Configure > Core Config Manager > Commands:
Command Name: check_nwc_health
Command Line: $USER1$/check_nwc_health --hostname $HOSTADDRESS$ -t 60 --community $ARG1$ --mode $ARG2$ $ARG3$
Then setup your service like this:
Check Command: check_nwc_health
$ARG1$: 'Public'
$ARG2$: hardware-health
Then you can use $ARG3$ for any additional options you may want to add such as warning/critical thresholds.
You can see the plugin help for other options:
/usr/local/nagios/libexec/check_nwc_health -h
monitor a fortigate200E
Re: monitor a fortigate200E
MUCHAS GRACIAS PODEMOS CERRAR EL CASO