Xymon Mailing List Archive search

netstat statistic problem

2 messages in this thread

list Dirk Kastens · Wed, 18 May 2005 10:22:39 +0200 ·
Hi,

I just discovered a problem with hobbit and netstat
statistics. It seems that hobbit cannot handle values
greater than 2^31. When I look at the netstat graphs
of some of our hosts, the values of the in and out packets
suddenly fell down to zero. When I call netstat -s on
the hosts, the number of segments received or send out
are above 2^31. The graphs from hosts where the values
are below this limit are normal.

Regards,
Dirk
list Henrik Størner · Sat, 21 May 2005 14:36:59 +0200 ·
quoted from Dirk Kastens
On Wed, May 18, 2005 at 10:22:39AM +0200, Dirk Kastens wrote:
I just discovered a problem with hobbit and netstat
statistics. It seems that hobbit cannot handle values
greater than 2^31. When I look at the netstat graphs
of some of our hosts, the values of the in and out packets
suddenly fell down to zero. When I call netstat -s on
the hosts, the number of segments received or send out
are above 2^31. The graphs from hosts where the values
are below this limit are normal.
You're right, there's an "atol" conversion that shouldn't 
happen. On 32-bit systems like most Intel-based systems, that 
is bad.

Will fix ...


Henrik