Page 3 of 3

Re: monitor a fortigate200E

Posted: Mon Apr 26, 2021 9:46 am
by gsmith
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

Re: monitor a fortigate200E

Posted: Wed May 19, 2021 2:06 pm
by abpro
MUCHAS GRACIAS PODEMOS CERRAR EL CASO