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

RE: [Xen-users] Re: Nagios Monitoring with xentop

To: "'Ramon Moreno'" <rammor1@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Re: Nagios Monitoring with xentop
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Mon, 11 May 2009 09:33:49 -0400
Cc:
Delivery-date: Mon, 11 May 2009 06:34:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e2ad5f700905082038u1cfb0960p178e7eb943a4554@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>
Organization: PRD, Inc.
References: <e2ad5f700905082033l4a8d120cid0f31c839c94fdee@xxxxxxxxxxxxxx> <e2ad5f700905082038u1cfb0960p178e7eb943a4554@xxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnQV7L2XFcAkKD4SGG1FteT4BfR+gB5VuGQ
I could be wrong, but I think you are reading the data wrong.
I believe NETTX(k) and NETRX(k) are counters for the dom0 and domUs that
show the total amount of data that has passed through their respective vif
interfaces since they were started.  To verify, you could start a new domU,
or restart an existing one.  If I am correct, you can run the command you
used to get the output below, and your numbers should all be the same or
higher.
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ramon Moreno
Sent: Friday, May 08, 2009 23:38
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Nagios Monitoring with xentop

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



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

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