# your code goes here
# your code goes here
from jinja2 import Environment
var_bind_val_map = {'VarBind_1': '0:8:33:41.00', 'VarBind_2': '.1.3.6.1.4.1.46634.1.3.1.0.62', 'VarBind_3': 'EDGE-1', 'VarBind_4': '2', 'VarBind_5': '1', 'VarBind_6': ' ', 'VarBind_7': 'system', 'VarBind_8': '10.110.1.2', 'VarBind_9': '2147483647', 'VarBind_10': '2147483647', 'VarBind_11': '2147483647', 'VarBind_12': '2147483647'}
thresid_map = "BGP_SESSION_DOWN_{{VarBind_7}}_{{VarBind_8}}"
msg = Environment().from_string(thresid_map).render(**var_bind_val_map)
print("msg is: ",msg)
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCiMgeW91ciBjb2RlIGdvZXMgaGVyZQpmcm9tIGppbmphMiBpbXBvcnQgRW52aXJvbm1lbnQKdmFyX2JpbmRfdmFsX21hcCA9IHsnVmFyQmluZF8xJzogJzA6ODozMzo0MS4wMCcsICdWYXJCaW5kXzInOiAnLjEuMy42LjEuNC4xLjQ2NjM0LjEuMy4xLjAuNjInLCAnVmFyQmluZF8zJzogJ0VER0UtMScsICdWYXJCaW5kXzQnOiAnMicsICdWYXJCaW5kXzUnOiAnMScsICdWYXJCaW5kXzYnOiAnICcsICdWYXJCaW5kXzcnOiAnc3lzdGVtJywgJ1ZhckJpbmRfOCc6ICcxMC4xMTAuMS4yJywgJ1ZhckJpbmRfOSc6ICcyMTQ3NDgzNjQ3JywgJ1ZhckJpbmRfMTAnOiAnMjE0NzQ4MzY0NycsICdWYXJCaW5kXzExJzogJzIxNDc0ODM2NDcnLCAnVmFyQmluZF8xMic6ICcyMTQ3NDgzNjQ3J30KdGhyZXNpZF9tYXAgPSAiQkdQX1NFU1NJT05fRE9XTl97e1ZhckJpbmRfN319X3t7VmFyQmluZF84fX0iCm1zZyA9IEVudmlyb25tZW50KCkuZnJvbV9zdHJpbmcodGhyZXNpZF9tYXApLnJlbmRlcigqKnZhcl9iaW5kX3ZhbF9tYXApCnByaW50KCJtc2cgaXM6ICIsbXNnKQo=