I have implemented the code for BGP and RADIUS monitoring in Python. You can find the details in this topic.