It all depends on the sensors you use. But no, this is definitely not right.
You're not supplying your uC with power, and the two signal lines should go to separate pins on the uC. Also, I think you need to supply 5V to the vibration sensor and hook it up to the uC input instead of ground. But that depends on the exact vibration sensor. Do you have a part number?