This was an issue I found with Rackspace Cloud Monitoring install on Debian 6 (Squeeze). After running through the initial run-through found here:
On step 5 - Install the agent.
sudo apt-get install rackspace-monitoring-agent
After running this the results were:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
apt-get install rackspace-monitoring-agent Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: rackspace-monitoring-agent 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded. Need to get 0 B/3,799 kB of archives. After this operation, 10.6 MB of additional disk space will be used. Selecting previously deselected package rackspace-monitoring-agent. (Reading database ... 15499 files and directories currently installed.) Unpacking rackspace-monitoring-agent (from .../rackspace-monitoring-agent_0.1.9-89_amd64.deb) ... Setting up rackspace-monitoring-agent (0.1.9-89) ... update-rc.d: using dependency based boot sequencing Stopping rackspace-monitoring-agent: rackspace-monitoring-agent failed!
The only info in the logs was:
Fri Feb 21 07:37:37 2014 INF: Log file started (pid 1055, path=/var/log/rackspace-monitoring-agent.log) Fri Feb 21 07:37:37 2014 ERR: 'monitoring_token' is missing from 'config'
Great, not really telling me much. So I looked around and came across a git located here https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent.
After running through the git install.
1 2 3 4 5
git clone https://github.com/racker/virgo virgo-0.1.9 cd virgo-0.1.9 git submodule update --init --recursive ./configure && make make install
You will want to make sure you have the following installed:
build-essential && devscripts
From here you can proceed to installing the rackspace-monitoring-agent by following the Rackspace guide mentioned above and then you should be able to run through the installation as normal.