04-17-2012 04:03 AM
We have two SRX240h's Currently we have them configured in HA we have set up the reth## for our Dual ISP configured the nexthop metric's so that when reth2.0 is down it switches to reth3.0 tested and working. The issue is that if the internet link goes down it can still be showing as up on the Juniper Boxes upon research we have found a rpm ping probe and event script is the way forward to disable the reth and then we can manually return the link back up once we have had time to diagnose the issue.
above is the Automation event script that we are using to diable the interface we have edited thes script to show which interface that we require to be disabled but when we come to Commit the changes we are given the below error
unexpected T_BARE, expecting K_VERSION before 'junos'
now this seemed to be because of the below part of the script:
any ideas anyone or better suggestions would be greatly appreciated
04-17-2012 05:19 AM
checked through the Document doesnt seem to be the case i have uploaded the script that we are using if anyone is able to see any obvious mistakes i may have made. i have downloaded this straight from the Juniper Automation Library so would expect either everyone downloading it to have the problem or there to be an updated version with the issue fixed.
we are running release 12.1r1.9 if this at all helps