was added mysql functionality to monitor.py