[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Nagios Monitoring with xentop


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Ramon Moreno <rammor1@xxxxxxxxx>
  • Date: Fri, 8 May 2009 20:38:21 -0700
  • Delivery-date: Fri, 08 May 2009 20:39:01 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.