Disable Interface if Pool Member Availability Drops Below Threshold
Problem this snippet solves: This iCall script can be used to disable an interface (int 1.3 in this case) if the member availability of a pool drops below a certain threshold (70% in this example.) ...
Published Mar 09, 2015
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
tcr_rct
Jun 09, 2022Nimbostratus
Hi JRahm,
I want to run a script just if interface 1.2 UP.
how can I do it?
for example;
exec bash -c "ssh user@192.168.1.1 'ip link set ens0 UP'"
thanks