Add notify parameter for NRPE check

This commit is contained in:
Tristan PILAT 2021-02-16 11:39:22 +01:00
parent 2889720902
commit 3e11b1d31f
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/bash
echo $1 $2 is in $3 state > /var/run/keepalive.state

View File

@ -26,4 +26,5 @@ vrrp_instance vrrp {
track_script {
chk_sshd
}
notify /etc/keepalived/notify.sh
}