Add notify parameter for NRPE check
This commit is contained in:
parent
2889720902
commit
3e11b1d31f
2
keepalived/files/notify.sh
Normal file
2
keepalived/files/notify.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo $1 $2 is in $3 state > /var/run/keepalive.state
|
|
@ -26,4 +26,5 @@ vrrp_instance vrrp {
|
||||||
track_script {
|
track_script {
|
||||||
chk_sshd
|
chk_sshd
|
||||||
}
|
}
|
||||||
|
notify /etc/keepalived/notify.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue