Hi Aatrox,
Configure IP-link to check the reachability of the interface to 8.8.8.8. When ISP1 fails, the status of ip-link isp1 goes Down, the default route disappears, and traffic is switched to ISP2. The configuration is as follows:
ip-link check enable
ip-link name isp1
destination x.x.8.8 interface GigabitEthernet1/0/0 mode icmp next-hop 192.168.1.1
ip-link name isp2
destination x.x.8.8 interface GigabitEthernet1/0/1 mode icmp next-hop 192.168.2.1
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 track ip-link isp1
ip route-static 0.0.0.0 0.0.0.0 192.168.2.1 track ip-link isp2
I hope it helps!