Miniature schnauzers are great watchdogs because they inherently bark at anything that moves!!
Be sure to teach your schnauzer to “be quiet” after acknowledging their alert. They learn any command fairly quickly, so this shouldn’t be a problem if consistently enforced. A mini schnauzer that is not taught the “quiet” command will never shut up!