[AusNOG] Email on route change (Juniper SRX)

Matthew VK3EVL hitman at itglowz.com
Mon Feb 10 12:36:34 EST 2014


From memory a route change will send a syslog message in this scenario. 
From there it should be straight forward. 

Cheers
Matthew


Sent from Samsung Mobile

-------- Original message --------
From: Michael Dale <mdale at dalegroup.net> 
Date:  
To: ausnog at lists.ausnog.net 
Subject: [AusNOG] Email on route change (Juniper SRX) 
 
Hey All,

I have a number of clients running Juniper SRX firewalls. Many have dual internet connections (ADSL/ADSL, ADSL/3G etc).

I would like to generate an email when the backup link is in use.

Due to the way it is setup both links are always active and it is just the route preference that changes.

Options I’ve thought about include:

1) Cacti alert when x amount of traffic goes over backup link (slow and not very accurate).
2) Juniper SRX sends an email when the route preference changes (this would be my ideal but cannot see how todo it).
3) Some Windows/Linux app that sends an email when the trace route changes (I could write something to track these).

2) is what I would love todo, but without purchasing extra hardware/software I don’t believe the SRX can do it :(

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.

Anyone got a simply/quick solution? :D

Thanks,
Michael.
_______________________________________________
AusNOG mailing list
AusNOG at lists.ausnog.net
http://lists.ausnog.net/mailman/listinfo/ausnog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ausnog.net/pipermail/ausnog/attachments/20140210/38169186/attachment.html>


More information about the AusNOG mailing list