Correct the order of arguments in calls to monitoring_check.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>