That's fine as far as it goes, but the typical scenario in my household is my wife forgets to close the garage door while I'm off at work, so without an asynchronous alert of some sort that door might stay open for hours before I happen to notice it.
Some cameras that have discrete inputs as well as relay outputs, in which case you can install a standard alarm system magnetic contact switch to your garage door and connect that to the camera's discrete input, then have the camera (or your VMS) send you an email or text message when the door is left open too long. This would prompt you to log in to your camera and close the door if needed.
Thanks for your kind information