Register a check

Adds a new check to the local agent.