This script implements example notify script in Perl which implements JSON interface for FastNetMon Advanced.

NB! JSON based script uses different arguments from text based notify script.

Please install JSON processing library for Perl:

sudo apt-get install -y libjson-perl

It prints all information received from FastNetMon to log file /tmp/fastnetmon_notify_script.log. You need to download it from GitHub:

chmod +x
sudo cp /usr/local/bin/

You need to use following mode from FastNetMon to use this script properly:

sudo fcli set main notify_script_enabled enable
sudo fcli set main notify_script_format json
sudo fcli set main notify_script_path /usr/local/bin/
sudo fcli commit

More documentation about JSON formats you could find here.

24/7 Tech Support

Email Us