Thanks for the update on xenstats. xenupdate.py runs fine and creates the rrd files. However when running xengraph.py, it gives the following error:
--imgformat PNG --unit % --vertical-label CPU% DEF:id0raw=/home/anand/root/xen-development/xen-graphs/Domain-
0.rrd:cpu:LAST CDEF:id0percent=id0raw,10,/ CDEF:id0zero=id0percent,DUP,UN,EXC,0,EXC,IF DEF:id1raw=/home/anand/root/xen-development/xen-graphs/vm01.rrd:cpu:LAST CDEF:id1percent=id1raw,10,/ CDEF:id1zero=id1percent,DUP,UN,EXC,0,EXC,IF AREA:id0zero#000000:Domain-0 GPRINT:id0percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j" STACK:id1zero#FF0000:vm01 GPRINT:id1percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j"
ERROR: unknown option '--unit' --imgformat PNG --unit % --vertical-label CPU% DEF:id0raw=/home/anand/root/xen-development/xen-graphs/Domain-0.rrd:cpu:LAST CDEF:id0percent=id0raw,10,/ CDEF:id0zero=id0percent,DUP,UN,EXC,0,EXC,IF DEF:id1raw=/home/anand/root/xen-development/xen-graphs/vm01.rrd:cpu:LAST CDEF:id1percent=id1raw,10,/ CDEF:id1zero=id1percent,DUP,UN,EXC,0,EXC,IF AREA:id0zero#000000:Domain-0 GPRINT:id0percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j" STACK:id1zero#FF0000:vm01 GPRINT:id1percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j"
ERROR: unknown option '--unit' --imgformat PNG --unit % --vertical-label CPU% DEF:id0raw=/home/anand/root/xen-development/xen-graphs/Domain-0.rrd:cpu:LAST CDEF:id0percent=id0raw,10,/ CDEF:id0zero=id0percent,DUP,UN,EXC,0,EXC,IF DEF:id1raw=/home/anand/root/xen-development/xen-graphs/vm01.rrd:cpu:LAST CDEF:id1percent=id1raw,10,/ CDEF:id1zero=id1percent,DUP,UN,EXC,0,EXC,IF AREA:id0zero#000000:Domain-0 GPRINT:id0percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j" STACK:id1zero#FF0000:vm01 GPRINT:id1percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j"
ERROR: unknown option '--unit' --imgformat PNG --unit % --vertical-label CPU% DEF:id0raw=/home/anand/root/xen-development/xen-graphs/Domain-0.rrd:cpu:LAST CDEF:id0percent=id0raw,10,/ CDEF:id0zero=id0percent,DUP,UN,EXC,0,EXC,IF DEF:id1raw=/home/anand/root/xen-development/xen-graphs/vm01.rrd:cpu:LAST CDEF:id1percent=id1raw,10,/ CDEF:id1zero=id1percent,DUP,UN,EXC,0,EXC,IF AREA:id0zero#000000:Domain-0 GPRINT:id0percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j" STACK:id1zero#FF0000:vm01 GPRINT:id1percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j"
ERROR: unknown option '--unit' --imgformat PNG --unit % --vertical-label CPU% DEF:id0raw=/home/anand/root/xen-development/xen-graphs/Domain-0.rrd:cpu:LAST CDEF:id0percent=id0raw,10,/ CDEF:id0zero=id0percent,DUP,UN,EXC,0,EXC,IF DEF:id1raw=/home/anand/root/xen-development/xen-graphs/vm01.rrd:cpu:LAST CDEF:id1percent=id1raw,10,/ CDEF:id1zero=id1percent,DUP,UN,EXC,0,EXC,IF AREA:id0zero#000000:Domain-0 GPRINT:id0percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j" STACK:id1zero#FF0000:vm01 GPRINT:id1percent:AVERAGE:"Average CPU usage\: %02.0lf%%\j"
ERROR: unknown option '--unit'
Its complaining about --unit. Any help would be appreciated.
On 1/10/06, Tim Freeman <
tfreeman@xxxxxxxxxxx> wrote:On Sat, 7 Jan 2006 20:33:51 +0100 Goetz Bock <
bock@xxxxxxxxxxx> wrote:
> Dear list, > > as my Xen3 server is finaly becomming ready for production I was > wondering if anyone has written a xen usage monitoring/logging tool?
> > Something like xm top, but with continuose logging to a (rr)database.
There is this for CPU time -> rrd http://skaya.enix.org/wiki/XenStats
I needed to change a tiny something to get it working in Xen3:
diff xenupdate.py modified.xenupdate.py 16c16 < name,id,mem,cpu,state,cputime,console=re.split
("[\t ]+",domain) --- > name,id,mem,cpu,state,cputime=re.split("[\t ]+",domain)
Tim
> > Or a munin plugin? > > I can't remember seeing anything simmilar on the list.
> > BTW: where does xm top get the NETTX(k) and NETRX(k) from? > > For a munin plugin I'd imagin two modes: > > - just monitor cpu usage off all domains (dom0 and domU) in one graph.
> This can be parsed from xm list, or as suggested 2004/12/xx using some > more low level xen api. But I don't know how to figure out which of > the real CPU was used, otoh this information might not be relevant at
> all. > - monitor just one domain. But all data, like xm top does. > -- > /"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting > \ / (c) 2006 Creative Commons, Attribution-ShareAlike
2.0 de > X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ] > / \ [ 3. Reply to the list - 4. Read the archive *before* you post ] > > _______________________________________________
> Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users >
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
--
regards,
Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|