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 :
---
1 2 3 | http://www.rackspace.com/knowledge_center/article/creating-a-monitoring-check-using-the-cloud-control-panel # API http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/service-alarm-examples.html |
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 :
1 | 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 :
1 | http://www.rackspace.com/knowledge_center/article/install-the-cloud-monitoring-agent#Ubuntu |
If you run sudo apt-get update
command at this step; you will face error. Because you need to add this key before :
1 | curl https://monitoring.api.rackspacecloud.com/pki/agent/linux.asc | sudo apt-key add - |
Now you can run :
1 2 3 | 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 :
1 2 3 4 5 6 | 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.
Tagged With free rackspace monitoring agent , how to uninstall rackspace cloud server agent service , what can raclspace monitorong agent do