File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ node /node01/ {
144144 auth_type => 'PASS',
145145 auth_pass => 'secret',
146146 virtual_ipaddress => '10.0.0.1/29',
147- track_script => 'check_nginx',
147+ track_script => [ 'check_nginx'] ,
148148 }
149149}
150150
@@ -163,7 +163,7 @@ node /node02/ {
163163 auth_type => 'PASS',
164164 auth_pass => 'secret',
165165 virtual_ipaddress => '10.0.0.1/29',
166- track_script => 'check_nginx',
166+ track_script => [ 'check_nginx'] ,
167167 }
168168}
169169```
@@ -185,7 +185,8 @@ keepalived::vrrp_instance:
185185 auth_type : ' PASS'
186186 auth_pass : ' secret'
187187 virtual_ipaddress : ' 10.0.0.1/29'
188- track_script : check_nginx
188+ track_script :
189+ - check_nginx
189190` ` `
190191
191192or using process tracking (keepalived 2.0.11+):
@@ -209,7 +210,7 @@ node /node01/ {
209210 auth_type => 'PASS',
210211 auth_pass => 'secret',
211212 virtual_ipaddress => '10.0.0.1/29',
212- track_process => 'check_nginx',
213+ track_process => [ 'check_nginx'] ,
213214 }
214215}
215216```
You can’t perform that action at this time.
0 commit comments