Skip to content

Instantly share code, notes, and snippets.

@4383

4383/check.md

Last active Apr 15, 2020
Embed
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
You can’t perform that action at this time.