Removed unnecessary `sudo`s from the monitoring agent install script.