<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div><div></div><div>From memory a route change will send a syslog message in this scenario. </div><div>From there it should be straight forward. </div><div><br></div><div>Cheers</div><div>Matthew</div><div><br></div><div><br></div><div><div style="font-size:75%;color:#575757">Sent from Samsung Mobile</div></div></div> <br><br><br>-------- Original message --------<br>From: Michael Dale <mdale@dalegroup.net> <br>Date: <br>To: ausnog@lists.ausnog.net <br>Subject: [AusNOG] Email on route change (Juniper SRX) <br> <br><br>Hey All,<br><br>I have a number of clients running Juniper SRX firewalls. Many have dual internet connections (ADSL/ADSL, ADSL/3G etc).<br><br>I would like to generate an email when the backup link is in use.<br><br>Due to the way it is setup both links are always active and it is just the route preference that changes.<br><br>Options I’ve thought about include:<br><br>1) Cacti alert when x amount of traffic goes over backup link (slow and not very accurate).<br>2) Juniper SRX sends an email when the route preference changes (this would be my ideal but cannot see how todo it).<br>3) Some Windows/Linux app that sends an email when the trace route changes (I could write something to track these).<br><br>2) is what I would love todo, but without purchasing extra hardware/software I don’t believe the SRX can do it :(<br><br>I could probably use the JunoScript script API, I even wrote a basic PHP class for it (some info: http://forums.juniper.net/t5/SRX-Services-Gateway/PHP-example-API/m-p/62975#M17637 ), but again effort.<br><br>Anyone got a simply/quick solution? :D<br><br>Thanks,<br>Michael.<br>_______________________________________________<br>AusNOG mailing list<br>AusNOG@lists.ausnog.net<br>http://lists.ausnog.net/mailman/listinfo/ausnog<br></body>