Nexus monitoring scripts - Python