WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: Nagios Monitoring with xentop

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Nagios Monitoring with xentop
From: Ramon Moreno <rammor1@xxxxxxxxx>
Date: Fri, 8 May 2009 20:38:21 -0700
Delivery-date: Fri, 08 May 2009 20:39:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=zgOWuzOslEe7+Xnd8AcRd8jhzc4tX5q8tdQJTjJdtic=; b=A07QyWJQRGSXejNH3xbfJWlMpjTeCOdL4s3F1RnzduyQf8fgudpCMuUsBjfac165jb z8xE8oBvoC+q0JXMiaHCpbRzAZZ++GHMFM/YkW88FMRctptNzRy/eg5a3NsjtMkgGu/g Qv7n4l9E9Nsd2MaHlcmIUtXiEFROjpIopNBlU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Gi/I5LsRmGIqIxDINeZv2CaCH6q08LZ22oYf4dmDZFAIdhkpAmlGbhlrAYyvQQ3ihS hDW5vUqgtqlocr6pNfisXXOeKCvJd8p6ii1x5B/6iwqcMUMpEPxLUxR6cl9o6fYV2Krt yfvTZKMrMY15HpEbSsveIc8mupHxh1W2zheHo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e2ad5f700905082033l4a8d120cid0f31c839c94fdee@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <e2ad5f700905082033l4a8d120cid0f31c839c94fdee@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Just to add.. here is what the output looks like:
8 domains: 1 running, 7 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 16645668k total, 16642460k used, 3208k free    CPUs: 4 @ 2592MHz
NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SS    ID
Doma-0 -----r      40091    1.7    1700944   10.2   no limit       n/a
    4    7 98421634 13265150    0        0        0        0        0

xenvm0 --b---       6337    0.6    2096908   12.6    8388608      50.4
    2    1    20353   751308    1     1130    42050   844832        0

xenvm1 --b---       6927    0.5    2096948   12.6    8388608      50.4
    2    1    62437   837364    1     1350    42556   746715        0

xenvm2 --b---       8483    0.3    2097016   12.6    8388608      50.4
    2    1    76944   807142    1     2786    46701  3494832        0

xenvm3 --b---       6593    0.4    2096916   12.6    8388608      50.4
    2    1     8712   712158    1     2116    41090   833166        0

xenvm4 --b---       6752    0.4    2096964   12.6    8388608      50.4
    2    1     9349   721815    1     2113    40708   861770        0

xenvm5 --b---       6545    0.5    2096896   12.6    8388608      50.4
    2    1     8654   711329    1     1890    41140   843672        0

xenvm6 --b---       6717    0.4    2096940   12.6    8388608      50.4
    2    1   197625   986447    1     1970    44147   862676        0


On Fri, May 8, 2009 at 8:33 PM, Ramon Moreno <rammor1@xxxxxxxxx> wrote:
> I am creating some custom nagios plugins and I am scraping data from
> xen using the nagios command:
>
> /usr/sbin/xentop -b -i 2 -d1
>
> I am trying to get the network tx / rx data, however I think I am
> missing something here.
>
> NETTX(k) NETRX(k)
>
> So total network bandwidth is 1048576 k if the above header from xentop is 
> true.
>
> So I am wondering why the output for each vm exceeds the theoretical
> max, Is it really not measured in kilobits, or maybe there is
> something screwy with the counters?
>
> Any help is much appreciated.
>
> If I add up all my vm values for RX I get:
>
> 5527563 k
>
> This is greater than my gigabit connection which is:
>
> 1048576 k
>
> Thank you!
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>