Sanity check is used to check if the various components in the issue tracker are functioning properly.
Use the scripts available in: Scripts you can use with CollabNet TeamForge to run some standard sanity checks.