NetXMS Support Forum

English Support => General Support => Topic started by: xatteg on June 25, 2012, 12:14:59 PM

Title: Agent network interface statistics
Post by: xatteg on June 25, 2012, 12:14:59 PM
Hello Victor,

I have compiled static agent under CentOS 6.1 and installed it on remote machine running RHEL 5.2. All readings are OK except network interface statistics like Net.Interface.BytesOut(ifname) and Net.Interface.BytesIn(ifname). The number of TXed/RXed bytes has reached 4294967295 and does not change, although there is active traffic. As far as I understand it is stuck with 'unsigned int' limitation. The numbers of TXed and RXed packets are growing but they still have not reached that limit.

Best regards,
Roman
Title: Re: Agent network interface statistics
Post by: Victor Kirhenshtein on June 28, 2012, 10:36:31 AM
Hi!

Can you please send me content of your /proc/net/dev file?

Best regards,
Victor
Title: Re: Agent network interface statistics
Post by: xatteg on July 02, 2012, 12:38:57 PM
Here is it, I ran it several times:

[root@crmdb ~]# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo: 9578769    9315    0    0    0     0          0         0  9578769    9315    0    0    0     0       0          0
  eth2:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth3:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth1:548135446519 1534725341    0    0    0     0          0     13256 3021810219311 2402835835    0    0    0     0       0          0
  eth0:13516617  203334    0    0    0     0          0        28     6115      28    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
[root@crmdb ~]# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo: 9578769    9315    0    0    0     0          0         0  9578769    9315    0    0    0     0       0          0
  eth2:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth3:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth1:548136728863 1534727685    0    0    0     0          0     13256 3021812811220 2402838469    0    0    0     0       0          0
  eth0:13516617  203334    0    0    0     0          0        28     6115      28    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
[root@crmdb ~]# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo: 9578769    9315    0    0    0     0          0         0  9578769    9315    0    0    0     0       0          0
  eth2:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth3:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth1:548136992519 1534728206    0    0    0     0          0     13256 3021813390065 2402839057    0    0    0     0       0          0
  eth0:13516617  203334    0    0    0     0          0        28     6115      28    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
[root@crmdb ~]#

Could you please move this topic to general support? I missed the right forum subtree. :(
Title: Re: Agent network interface statistics
Post by: xatteg on July 25, 2012, 11:14:37 AM
Problem solved when I deployed 1.2.2 agent package.