According to the docs and Rackspace support the only way to do the Rackspace Cloud Monitoring is to run $ sudo rackspace-monitoring-agent --setup, which is an interactive mode program. It'd be nice if there was a way to do this automatedly.
Perhaps just piping the username and API key with some newlines will work?