Periodical scan the log file , if find a row with a keyword, send email or message to you ,simple and easy to use
1 send message module , labroom
2 scan log program
{"switch_username":"sshagent","switch_password":"WVdSdGFXNDZZV0hCUVkwQTVSRzl3TG14d1FIQmhjM04zTUhKaw==","switch_Cmd_level":2, "switch_command": "ip route-static 10.201.88.0 255.255.255.0 10.10.88.129","switch_ipandport":"10.10.88.151:22","switch_timeout":10}