update monitor.go, add remote cmd support.
just like a remote command framework.

Signed-off-by: toby.zxj <toby.zxj@gmail.com>