BGP alerting: separate ipv4 and ipv6

Hi guys, is there a way to alert on ipv6 bgp peer failure and ipv4 separately just like it was done on Observium?

Thanks in advance