Closed alanvalen closed 7 years ago
Sorry that I didn't reply earlier, but with the new version it is possible to use white/blacklists with regex support, so that should also fit the need.
Nevertheless, thanks for the contribution! I really appreciate it.
I modify the script to add a modificator -I and a vpn mode "ns" to be able to monitor a single IPSEC vpn:
the command will look like this $USER1$/check_fortigate.pl -H $HOSTADDRESS$ -C $_HOSTSNMP_COMMUNITY$ -T vpn -V ns -I $ARG1$
$USER1$/check_fortigate.pl -H 192.168.0.1 -C public -T vpn -V ns -I 1
And the $ARG1$ would be the index number of the fortinet ipsec vpn table.
Returning OK or Critical and 1 or 0 as perf data