File: //var/lib/pcp/config/pmie/crontab.docker
#
# Performance Co-Pilot crontab entries for a monitored site with one or more
# pmie instances running in the pcp-pmie Docker container. Note this is run
# by the host cron service, hence the docker exec calls.
#
# daily processing of pmie logs (with compression enabled)
10 0 * * * root docker exec pcp-pmie /usr/libexec/pcp/bin/pmie_daily -X xz -x 3 >/dev/null 2>&1; exit 0
# every 30 minutes, check pmie instances are running
25,55 * * * * root docker exec pcp-pmie /usr/libexec/pcp/bin/pmie_check -C >/dev/null 2>&1; exit 0
# for DEBUGGING use, uncomment the following
# */10 * * * * root docker exec pcp-pmie /usr/libexec/pcp/bin/pmpost "pcp-pmie cron is active" >/dev/null 2>&1; exit 0