Skip to content

Instantly share code, notes, and snippets.

Last active Apr 15, 2020
What would you like to do?
Check the number of error that happened in a cluster

This logs all errors recorded by the cluster by using crm_mon

$ crm_mon --as-xml | xmllint --xpath 'count(//failures/failure)' -

This one dumps current fail count per resource and per operation by using cibadmin

$ cibadmin -Q | grep fail-count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment