Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /system scheduler
- add disabled=no interval=10s comment="MONITORING SQUID-WCCP" name=service-squid on-event=":global SQUID\r\
- \n:if ([/ip firewall address-list find list=wccp2] = \"\") do={\r\
- \n:if (\$SQUID != \"down\") do={\r\
- \n/ip firewall mangle disable [find comment=\"tproxy\"]\r\
- \n:set SQUID \"down\"\r\
- \n:log info \"SQUID DOWN\"\r\
- \n}\r\
- \n} else={\r\
- \n:if (\$SQUID != \"hidup\") do={\r\
- \n/ip firewall mangle enable [find comment=\"tproxy\"]\r\
- \n:set SQUID \"hidup\"\r\
- \n:log info \"SQUID HIDUP\"\r\
- \n}\r\
- \n}" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api start-date=nov/14/2014 start-time=\
- 00:00:00
Advertisement
Add Comment
Please, Sign In to add comment