added helper function for mon_check_command creation