Here is the details on How To Install Rackspace Monitoring Agent on Cloud Server and Set Monitoring Client on Dashboard to Get Nice Graphs. Please note that;
raxmon was not free to use before, it has been free now. Those who have Rackspace Cloud Account without extra level of management will not have this feature enabled by default. If you have a setup like that described on our guide on how to Install WordPress on Rackspace Cloud Server, then possibly you will require to measure the metrics for memory consumption and CPU usage.
Install Rackspace Monitoring Agent (Free) on Cloud Server : First Work on Rackspace Cloud Dashboard
We have created a kind of info graphics for easy understanding :
At the time of writing; Rackspace has docs on how to create an alert from dashboard :
It is very easy to create an alert from the graphical user interface. It will report that monitoring agent is not installed. It will not be able to show any graphs at this step.
Install Rackspace Monitoring Agent (Free) on Cloud Server : Work From SSH to Complete
SSH to your Server, copy paste this for Ubuntu 14.04 server :
sudo sh -c 'echo "deb http://stable.packages.cloudmonitoring.rackspace.com/ubuntu-14.04-x86_64 cloud monitoring main" > /etc/apt/sources.list.d/rackspace-monitoring-agent.list'
For other OS, you should read the official doc :
If you run
sudo apt-get update command at this step; you will face error. Because you need to add this key before :
curl https://monitoring.api.rackspacecloud.com/pki/agent/linux.asc | sudo apt-key add -
Now you can run :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install rackspace-monitoring-agent
Now, we need to setup the monitoring agent and start it :
sudo rackspace-monitoring-agent --setup
# use your username in lowercase and API as password
# start the agent
sudo service rackspace-monitoring-agent start
# you can edit the config from command line
# nano /etc/rackspace-monitoring-agent.conf.d/main_disk_check.yaml
Obviously – you can set or unset the daemon as autostart to reboot.
Follow the Author of this article :