Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-02-2014, 11:46 AM   #1
LQ Newbie
Registered: Nov 2014
Posts: 2

Rep: Reputation: 0
Openxenmanager, unable to view performance graphs

I installed openxenmanager on Debian Wheezy. I can connect to the xen server but I see nothing in the Performance tab. There are no Performance Graphs.

In the console I can see the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 552, in __bootstrap_inner
  File "/usr/lib/python2.7/", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/openxenmanager/", line 708, in update_performance
    if ds[name[:3]].count([name, desc]) == 0:
UnboundLocalError: local variable 'name' referenced before assignment
rrdtool is installed.

Last edited by deleted77; 11-02-2014 at 12:26 PM.
Old 11-13-2014, 03:04 PM   #2
LQ Newbie
Registered: Nov 2014
Posts: 2

Original Poster
Rep: Reputation: 0
I found a sollution. I had to modify the file: /usr/share/openxenmanager/ .
The problem is with the lines 708, 709, 710 and 711. For testing you can just comment lines 708, 709, 710 and 711. If you comment those lines of code, you will be able to see the graphics without any errors, but I don't know if are there any adverse effects with the lines missing (commented).

The propper way of solving the problem without any adverse effects is to keep those lines and just ident the block of code starting with
if ds[name[:3]].count([name, desc]) == 0:......
inside the block starting with
if data_source['enabled']: ....

Last edited by deleted77; 11-13-2014 at 03:24 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to view graphs with dnsgraph for Bind9 Statistics on Debian zayed162 Linux - Server 4 02-08-2016 09:47 PM
Perf-graphs (performance monitoring graphs) on linux ekcr Linux - General 10 12-09-2011 09:57 PM
Configuring MRTG, can view graphs of unrequired interfaces only... geek chic Linux - Networking 0 04-26-2011 11:14 PM
Unable to create graphs with rrdtool athreyavc Linux - General 1 09-06-2009 09:00 AM
Zenoss- add Performance graphs uks Linux - Server 0 02-03-2009 01:14 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration