Adjust keepalived monitoring script to use pgrep

Issue: https://github.com/rcbops/chef-cookbooks/issues/974