Hi Michael,
the fix for a overrun looks good to me. But your code still has the
problem that loop back traffic is counted, too.
perfstat_netinterface_total is the sum of all network devices including
lo0, etc.
Best regards
Andreas
Michael Perzl schrieb:
Andreas,
thank you for taking
@lists.sourceforge.net; [EMAIL PROTECTED]
*Subject:* Re: [Ganglia-general] Help! I have a petabyte/s network
(Martin Knoblauch)
Andreas,
thank you for taking the blame but you are off the hook here. ;-)
If I understood David correctly, he is using my AIX Ganglia RPM
packages with POWER5 extensions. Here
Hi Andreas,
please see my other email with regards to the overrun.
The problem that the loopback traffic is counted also is part of the
perfstat_netinterface_total() routine. When looking at some of the
metric implementations for bytes_in I found the following:
- AIX, your version and my
.
Sorry I had promised to fix the problems, but there was to much other
work ...
Best regards
Andreas
Date: Thu, 29 Mar 2007 08:21:38 -0700 (PDT)
From: Martin Knoblauch [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Subject: Re: [Ganglia-general] Help! I have a petabyte/s network
Hi Michael,
to subtract the traffic on lo0: will do for lost installations of cause.
But if the loop back device has an other name or if there is more then
one, it wont fit.
An more flexible way would be to loop over all network devices with
collecting perfstat_netinterface and sum all that have
Hi Andreas,
I went for the easy way first but you are right. Here is a version which
loops over all network interfaces and omits all loopback devices:
g_val_t
bytes_in_func( void )
{
g_val_t val;
perfstat_id_t name;
perfstat_netinterface *nif_buf, *p;
static u_longlong_t last_bytes_in
to astonishing data transfer rate in ganglia.
Sorry I had promised to fix the problems, but there was to much other
work ...
Best regards
Andreas
Date: Thu, 29 Mar 2007 08:21:38 -0700 (PDT)
From: Martin Knoblauch [EMAIL PROTECTED]
Subject: Re: [Ganglia-general] Help! I have a petabyte/s network
, but there was to much other
work ...
Best regards
Andreas
Date: Thu, 29 Mar 2007 08:21:38 -0700 (PDT)
From: Martin Knoblauch [EMAIL PROTECTED]
Subject: Re: [Ganglia-general] Help! I have a petabyte/s network
To: David Wong [EMAIL PROTECTED], [EMAIL PROTECTED],
ganglia-general
@lists.sourceforge.net
Subject: Re: [Ganglia-general] Help! I have a petabyte/s network
David,
as far as I remember, the AIX metrics code had an
overflow/wrap-around
problem prior to 3.0.4. Maybe the fixes are not thorough enough.
The packets/sec are of course less affected.
Cheers
Martin
]
-Original Message-
From: Martin Knoblauch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 12:00 PM
To: David Wong; ganglia-general@lists.sourceforge.net
Subject: Re: [Ganglia-general] Help! I have a petabyte/s network
David,
as far as I remember, the AIX metrics code
Ganglia is reporting that I'm pushing up to 200 Petabytes/s through my
network. Nobody tell the network admin!
I'm running Ganglia 3.0.4 with the Power5 add-ons on AIX5.3
Bytes in and out statistics generally appear to have the right values.
However at random times, I get spikes in the
You may want to run one of the removespikes.pl or killspikes scripts. I
have seen this before especially with MRTG when e.g. a firewall is
restarted or similar. You need to act quickly before the Petabytes gets
into the averages.
Another note, before you run removespikes.pl make sure you back
Vladimir Vuksan wrote:
You may want to run one of the removespikes.pl or killspikes scripts. I
have seen this before especially with MRTG when e.g. a firewall is
restarted or similar. You need to act quickly before the Petabytes gets
into the averages.
You can find removespikes.pl at
David,
as far as I remember, the AIX metrics code had an overflow/wrap-around
problem prior to 3.0.4. Maybe the fixes are not thorough enough.
The packets/sec are of course less affected.
Cheers
Martin
--- David Wong [EMAIL PROTECTED] wrote:
Ganglia is reporting that I'm pushing up to 200
14 matches
Mail list logo