Thursday, 08 September 2011 11:34
This script will check the traffic and status of an interface, in just about the same way as check_iftraffic.pl does.
The only difference is that it was written in PHP and was optimized for Fortinet devices. It leaves out the Absolute in and out traffic since these are reset each time a Fortinet reboots.
Run the script without parameters to get an overview of the paramters.
e.g: php check_iftraffic.php
check_iftraffic.php -H -C -i
-I -O -w