17.03.2018

FastNetMon Advanced JSON notify script in Python

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 keep it in mind!

This script implemented in Python 2 and does not need any additional libraries.

It prints all information received from FastNetMon to log file /tmp/fastnetmon_notify_script.log:

Please put it to file

And set executable bit for it:

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

More documentation about JSON formats you could find here