Chkservd Investigations

Check for failure/restarts

Today

grep $(date +"%Y-%m-%d") /var/log/chkservd.log | grep -v Done

Alternate

echo -e "\nchekservd fails\n" && egrep  '\[\[check command:-\]' /var/log/chkservd.log  | egrep -o '(20[0-9]{2}(-[0-9]{2}){2}\ [0-9]{2}(:[0-9]{2}){2}|[a-z]* \[\[check command:-\])'| sed 's/\[\[check command:-\]//'g