Update escalation_action_monitoring.py

Modified the code with comments