[monitor] Fix shellcheck warnings, typo

Change-Id: Iccedb32e03eb2b446497d040cc5533ced5a4979a
1 file changed