Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.
This question is answered.
I've been looking through the documentation on docs.rackspace.com and the pyrax documentation but can't find an answer for this one and would like some assistance; is it possible to retrieve the bandwidth information per account (or device would be preferable) via the API or Pyrax?
Unfortunately it looks like we did not update the feature comparison page in the knowledge center when we removed that API call. At this time it is not possible to get that bandwidth through the next-gen API. I have opened a feedback request for that knowledge center article to have them update it so other customers don't deal with the same confusion.
You are correct as well about the account bandwidth being shown instead of a per server basis. Our control panel only shows the aggregate for now.
I'll open this up to the rest of the community to give some ideas. You could possibly look at the bandwidth from the OS level and use the cloud monitoring agent to grab the outgoing network bandwidth. Any other ideas?
Good morning Reis,
I am speaking with our pyrax lead developer now. Can you confirm whether you are looking for server bandwidth, cloud files usage, or load balancer bandwidth? Thanks!
Primarily I'm after the server bandwidth but the other information would be immensely useful to have as well.
I'm still working on seeing if there is another way to get the data, but the pyrax.cloudservers.usage.get call returns 404 errors now. Digging into that I found this in our API developers guide for next-gen servers:
Removed the Bandwidth extension from Chapter 3, Rackspace Extensions since the extension is no longer implemented. It causes an unsustainable load on Nova. Also removed cross-reference from Section 2.1.1, “List Servers” and Section 2.1.3, “Get Server Details”
That explains why we cannot get that data from novaclient, which pyrax uses to connect to cloud servers. I apologize for the inconvenience of this. I am continuing to investigate another option, but am not sure it will be possible at this time.
Reis actually raised this one for me off the back of a support ticket. I was aware that the extension was recently removed due to the load on NOVA which is a bit of a pain, however when looking into this source - http://www.rackspace.com/knowledge_center/article/next-gen-vs-first-gen-feature-comparison it said that there was still an API available.
Should their not be an API this information was also going to be available in the control panel. Now so far as I can see there isn't a server by server breakdown of bandwidth, you can only see an aggregated amount for all your servers. Our next option should the API not be available was going to be screen scraping the info from the CP.. This however doesn't look possible either
so the challenge is that we are in the process of building a cloud management/operations platform (similar to cloudability) but not just cost management. If our customers are using our service they will put in their API key (and username+password) should we be screen scraping, and then we will collect the data for them etc. I don't imagine then that we would be able to use the cloud monitoring agent nor the cloud monitoring API to pull that information from our customers Rackspace control panel?
Hey Even, did you manage to get to the bottom of it?
While I don't have a how to at this time on doing this, the best bet is to require the monitoring agent to be installed on the cloud server. Then enable the agent.network check. You can use our metrics api to pull the stats from that check directly: http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/metrics-api.html
For more info on the announcement about this from April: http://www.rackspace.com/blog/cloud-monitoring-adds-server-monitoring-graphs-and-more/
Hi there c00per!
Have you tried Munin? It has some great tools, here is their demo:http://demo.munin-monitoring.org/
There is an article of how to install here:http://www.rackspace.com/knowledge_center/article/how-to-install-munin-monitoring-systems
I hope this would be a solution for you right now.
The Rackspace Community (“Community”) is provided “AS IS” without warranty of any kind. The information on the Community sites is created by members of the Community and is intended for reference and general discussions only. Although some of the content may contain information provided by Rackspace employees, it does not represent an assessment of a particular customer environment or an assessment of any specific compliance with laws or regulations or constitute advice. We recommend that you engage additional expertise in order to further evaluate applicable requirements for your specific environment. For customer specific support issues please contact your Rackspace Support Team.READ MORE
RACKSPACE MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THE RACKSPACE OPEN CLOUD COMMUNITY SITE. RACKSPACE RESERVES THE RIGHT TO DISCONTINUE OR MAKE CHANGES TO ITS SERVICES OFFERINGS AND SPECIFICATIONS AT ANY TIME WITHOUT NOTICE. USERS MUST TAKE FULL RESPONSIBILITY FOR APPLICATION OF ANY SERVICES AND/OR PROCESSES MENTIONED IN ANY COMMUNITY DISCUSSIONS. EXCEPT AS SET FORTH IN RACKSPACE GENERAL TERMS AND CONDITIONS, CLOUD TERMS OF SERVICE AND/OR OTHER AGREEMENT YOU SIGN WITH RACKSPACE, RACKSPACE ASSUMES NO LIABILITY WHATSOEVER, AND DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO ITS SERVICES INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
ALTHOUGH PART OF THE COMMUNITY GENERATED CONTENT MAY EXPLAIN HOW RACKSPACE SERVICES MAY WORK WITH THIRD PARTY PRODUCTS, THE INFORMATION CONTAINED IN THE COMMUNITY DISCUSSIONS IS NOT DESIGNED TO WORK WITH ALL SCENARIOS. ANY USE OR CHANGES TO THIRD PARTY PRODUCTS AND/OR CONFIGURATIONS SHOULD BE MADE AT THE DISCRETION OF YOUR ADMINISTRATORS AND SUBJECT TO THE APPLICABLE TERMS AND CONDITIONS OF SUCH THIRD PARTY. EVEN THOUGH RACKSPACE EMPLOYEES MAY PARTICIPATE IN THE COMMUNITY DISCUSSIONS, RACKSPACE DOES NOT PROVIDE TECHNICAL SUPPORT FOR THIRD PARTY PRODUCTS, OTHER THAN SPECIFIED IN YOUR HOSTING SERVICES AGREEMENT YOU HAVE SIGNED WITH RACKSPACE AND RACKSPACE ACCEPTS NO RESPONSIBILITY FOR THIRD-PARTY PRODUCTS.READ LESS