Feb-26-2018, 03:22 PM
When i tried to print values to test it...
even the below part also looks to work fine.. but I am not sure where i am missing
active
xxx.xx.x.3
inactiveFailed
Node: !!!Alert!!! xxx.xx.x.3 is unhealthy
xxx.xx.x.4
active
even the below part also looks to work fine.. but I am not sure where i am missing
for key2, value2 in dic.items(): print key2 print value2 if value2 != 'active': key2 = ('Node' + ': !!!Alert!!! ' + key2 + ' is unhealthy ') print key2xxx.xx.x.2
active
xxx.xx.x.3
inactiveFailed
Node: !!!Alert!!! xxx.xx.x.3 is unhealthy
xxx.xx.x.4
active