Xymon Mailing List Archive search

netstat graph on redhat es release 3 and hpux 11.00

5 messages in this thread

list Marco Avvisano · Mon, 27 Mar 2006 13:11:14 +0200 ·
Hi all,

i have problem on graph netstat0 (network I/O bits second)on my lunux box: all the values are 'nan'.
It's used the ifconfig output to create this graph?

These is my ifconfig output:

 eth0      Link encap:Ethernet  HWaddr 0F:FF:22:33:10:3F
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:35509051 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29209963 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2086303447 (1989.6 Mb)  TX bytes:3414408910 (3256.2 Mb)
          Interrupt:11

eth0:0    Link encap:Ethernet  HWaddr 0F:FF:20:33:10:3F
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:426253408 errors:0 dropped:0 overruns:0 frame:0
          TX packets:426253408 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2727990196 (2601.6 Mb)  TX bytes:2727990196 (2601.6 Mb)
There is something different from other linux version?

On my hpux box :
on netstat1 graph the values UDP In/Out Datagrams are 'nan'
on netstat2 graph the values TCP Failed Attemps and TCP Established Reset are 'nan' 
on netstat3 graph the value TCP Established Connections is 'nan'

Probabily the output from my netstat command is different 

thanks for yours helps

Marco
list Marco Avvisano · Fri, 31 Mar 2006 16:13:10 +0200 ·

  ----- Original Message ----- 
  From: Marco Avvisano 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Monday, March 27, 2006 1:11 PM
  Subject: [hobbit] netstat graph on redhat es release 3 and hpux 11.00


  Hi all,

  i have problem on graph netstat0 (network I/O bits second)on my lunux box: all the values are 'nan'.
  It's used the ifconfig output to create this graph?

  These is my ifconfig output:

   eth0      Link encap:Ethernet  HWaddr 0F:FF:22:33:10:3F
            inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:35509051 errors:0 dropped:0 overruns:0 frame:0
            TX packets:29209963 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:2086303447 (1989.6 Mb)  TX bytes:3414408910 (3256.2 Mb)
            Interrupt:11

  eth0:0    Link encap:Ethernet  HWaddr 0F:FF:20:33:10:3F
            inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            Interrupt:11

  lo        Link encap:Local Loopback
            inet addr:127.0.0.1  Mask:255.0.0.0
            UP LOOPBACK RUNNING  MTU:16436  Metric:1
            RX packets:426253408 errors:0 dropped:0 overruns:0 frame:0
            TX packets:426253408 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:2727990196 (2601.6 Mb)  TX bytes:2727990196 (2601.6 Mb)
  There is something different from other linux version?

  On my hpux box :
  on netstat1 graph the values UDP In/Out Datagrams are 'nan'
  on netstat2 graph the values TCP Failed Attemps and TCP Established Reset are 'nan' 
  on netstat3 graph the value TCP Established Connections is 'nan'

  Probabily the output from my netstat command is different 

  thanks for yours helps

  Marco
list Marco Avvisano · Mon, 3 Apr 2006 11:54:01 +0200 ·
Hi all,

i send my netstat and ifstat client data collected on my linux and hpux box.
Someone have the same problems?   

regards,

Marco


 These is Client Data from redhat box:
[netstat]
Ip:
    688026772 total packets received
    0 forwarded
    0 incoming packets discarded
    686688228 incoming packets delivered
    680646438 requests sent out
Icmp:
    351065 ICMP messages received
    72 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 9012
        echo requests: 3272
        echo replies: 338781
    12887 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 9615
        echo replies: 3272
Tcp:
    54484191 active connections openings
    52931529 passive connection openings
    2036 failed connection attempts
    154 connection resets received
    8 connections established
    678444729 segments received
    670772291 segments send out
    86142 segments retransmited
    6101 bad segments received.
    1157202 resets sent
Udp:
    9154461 packets received
    5637 packets to unknown port received.
    0 packet receive errors
    9446216 packets sent
TcpExt:
    2686 resets received for embryonic SYN_RECV sockets
    1 ICMP packets dropped because socket was locked
    ArpFilter: 0
    52983889 TCP sockets finished time wait in fast timer
    32 time wait sockets recycled by time stamp
    178 packets rejects in established connections because of timestamp
    2177404 delayed acks sent
    372 delayed acks further delayed because of locked socket
    Quick ack mode was activated 15087 times
    9231754 packets directly queued to recvmsg prequeue.
    230543400 packets directly received from backlog
    281878208 packets directly received from prequeue
    24473155 packets header predicted
    9154300 packets header predicted and directly queued to user
    TCPPureAcks: 168672954
    TCPHPAcks: 62537008
    TCPRenoRecovery: 0
    TCPSackRecovery: 90
    TCPSACKReneging: 0
    TCPFACKReorder: 0
    TCPSACKReorder: 0
    TCPRenoReorder: 0
    TCPTSReorder: 0
    TCPFullUndo: 0
    TCPPartialUndo: 0
    TCPDSACKUndo: 1
    TCPLossUndo: 13119
    TCPLoss: 47
    TCPLostRetransmit: 0
    TCPRenoFailures: 0
    TCPSackFailures: 82
    TCPLossFailures: 14
    TCPFastRetrans: 92
    TCPForwardRetrans: 0
    TCPSlowStartRetrans: 4
    TCPTimeouts: 38451
    TCPRenoRecoveryFail: 0
    TCPSackRecoveryFail: 0
    TCPSchedulerFailed: 642
    TCPRcvCollapsed: 0
    TCPDSACKOldSent: 15084
    TCPDSACKOfoSent: 0
    TCPDSACKRecv: 91
    TCPDSACKOfoRecv: 0
    TCPAbortOnSyn: 0
    TCPAbortOnData: 30766
    TCPAbortOnClose: 18016
    TCPAbortOnMemory: 0
    TCPAbortOnTimeout: 3356
    TCPAbortOnLinger: 0
    TCPAbortFailed: 0
    TCPMemoryPressures: 0
[ifstat]
eth0      Link encap:Ethernet  HWaddr 00:0F:20:33:10:FF  
          inet addr:xxxx.xxxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51276509 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43058513 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4151759617 (3959.4 Mb)  TX bytes:513006212 (489.2 Mb)
          Interrupt:11 

eth0:0    Link encap:Ethernet  HWaddr 00:0F:20:33:10:FF  
quoted from Marco Avvisano
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:637642227 errors:0 dropped:0 overruns:0 frame:0
          TX packets:637642227 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1011255518 (964.4 Mb)  TX bytes:1011255518 (964.4 Mb)
These from HPUX 11.00


[netstat]
tcp:
	3133161776 packets sent
		2936909544 data packets (3975500880 bytes)
		19688268 data packets (4051185211 bytes) retransmitted
		195874492 ack-only packets (27085700 delayed)
		46600 URG only packets
		1008401 window probe packets
		26786 window update packets
		153272996 control packets
	2647242420 packets received
		1998009913 acks (for 2481636126 bytes)
		95084432 duplicate acks
		14 acks for unsent data
		1453847925 packets (2634351438 bytes) received in-sequence
		5890 completely duplicate packets (6495459 bytes)
		45913 packets with some dup. data (65276408 bytes duped)
		2990574 out-of-order packets (4040897784 bytes)
		623 packets (889553545 bytes) of data after window
		16005 window probes
		467251804 window update packets
		433001 packets received after close
		173435 segments discarded for bad checksum
		0 bad TCP segments dropped due to state change
	11184351 connection requests
	63395280 connection accepts
	74579631 connections established (including accepts)
	78603118 connections closed (including 4023921 drops)
	1914251 embryonic connections dropped
	1913287649 segments updated rtt (of 1913287649 attempts)
	6980635 retransmit timeouts
		85898 connections dropped by rexmit timeout
	1008401 persist timeouts
	2324279 keepalive timeouts
		2313369 keepalive probes sent
		85359 connections dropped by keepalive
	520963 connect requests dropped due to full queue
	1807389 connect requests dropped due to no listener
udp:
	0 incomplete headers
	0 bad checksums
	0 socket overflows
ip:
	2547934921 total packets received
	3 bad IP headers
	83 fragments received
	0 fragments dropped (dup or out of space)
	6 fragments dropped after timeout
	4 packets forwarded
	0 packets not forwardable
icmp:
 	290366 calls to generate an ICMP error message
	469 ICMP messages dropped
	Output histogram:
	 echo reply: 283304
	 destination unreachable: 6581
 	 source quench: 10
 	 routing redirect: 0
	 echo: 0
	 time exceeded: 2
	 parameter problem: 0
	 time stamp request : 0
	 time stamp reply: 0
	 address mask request: 0
	 address mask reply: 0
	0 bad ICMP messages
	Input histogram:
	 echo reply: 97471
	 destination unreachable: 87685
 	 source quench: 201
 	 routing redirect: 104
	 echo: 283304
	 time exceeded: 10285
	 parameter problem: 5
	 time stamp request : 5
	 time stamp reply: 0
	 address mask request: 1
	 address mask reply: 0
	283304 responses sent
multicast forwarding cache is not accessible
	154940 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	154940 membership queries received
	0 membership queries received with incorrect field(s)
	0 membership reports received
	0 membership reports received with incorrect field(s)
	0 membership reports received for groups to which this host belongs
	0 membership reports sent
quoted from Marco Avvisano


    From: Marco Avvisano 
    To: user-ae9b8668bcde@xymon.invalid 
    Sent: Monday, March 27, 2006 1:11 PM
    Subject: [hobbit] netstat graph on redhat es release 3 and hpux 11.00


    Hi all,

    i have problem on graph netstat0 (network I/O bits second)on my lunux box: all the values are 'nan'.


    On my hpux box :
quoted from Marco Avvisano

    on netstat2 graph the values TCP Failed Attemps and TCP Established Reset are 'nan' 
    on netstat3 graph the value TCP Established Connections is 'nan'

    Probabily the output from my netstat command is different 

    thanks for yours helps

    Marco
list Thomas Seglard · Wed, 5 Apr 2006 16:31:15 +0200 ·
Hi,

I got exactly same behaviour here whith redhat as 2.1, 3 and 4 and hpux. 
On the hobbit server, in rrd-status log I got the following message :

Host pioupiou reports netstat for an unknown OS
Host xxxxxx reports netstat for an unknown OS

I even got these messages for machine under aix or solaris...
Sincerly,

Thomas

"Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid> a écrit sur 
03/04/2006 11:54:01 :
quoted from Marco Avvisano
Hi all,

i send my netstat and ifstat client data collected on my linux and hpux box.
Someone have the same problems? 

regards,

Marco


 These is Client Data from redhat box:
[netstat]
Ip:
    688026772 total packets received
    0 forwarded
    0 incoming packets discarded
    686688228 incoming packets delivered
    680646438 requests sent out
Icmp:
    351065 ICMP messages received
    72 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 9012
        echo requests: 3272
        echo replies: 338781
    12887 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 9615
        echo replies: 3272
Tcp:
    54484191 active connections openings
    52931529 passive connection openings
    2036 failed connection attempts
    154 connection resets received
    8 connections established
    678444729 segments received
    670772291 segments send out
    86142 segments retransmited
    6101 bad segments received.
    1157202 resets sent
Udp:
    9154461 packets received
    5637 packets to unknown port received.
    0 packet receive errors
    9446216 packets sent
TcpExt:
    2686 resets received for embryonic SYN_RECV sockets
    1 ICMP packets dropped because socket was locked
    ArpFilter: 0
    52983889 TCP sockets finished time wait in fast timer
    32 time wait sockets recycled by time stamp
    178 packets rejects in established connections because of timestamp
    2177404 delayed acks sent
    372 delayed acks further delayed because of locked socket
    Quick ack mode was activated 15087 times
    9231754 packets directly queued to recvmsg prequeue.
    230543400 packets directly received from backlog
    281878208 packets directly received from prequeue
    24473155 packets header predicted
    9154300 packets header predicted and directly queued to user
    TCPPureAcks: 168672954
    TCPHPAcks: 62537008
    TCPRenoRecovery: 0
    TCPSackRecovery: 90
    TCPSACKReneging: 0
    TCPFACKReorder: 0
    TCPSACKReorder: 0
    TCPRenoReorder: 0
    TCPTSReorder: 0
    TCPFullUndo: 0
    TCPPartialUndo: 0
    TCPDSACKUndo: 1
    TCPLossUndo: 13119
    TCPLoss: 47
    TCPLostRetransmit: 0
    TCPRenoFailures: 0
    TCPSackFailures: 82
    TCPLossFailures: 14
    TCPFastRetrans: 92
    TCPForwardRetrans: 0
    TCPSlowStartRetrans: 4
    TCPTimeouts: 38451
    TCPRenoRecoveryFail: 0
    TCPSackRecoveryFail: 0
    TCPSchedulerFailed: 642
    TCPRcvCollapsed: 0
    TCPDSACKOldSent: 15084
    TCPDSACKOfoSent: 0
    TCPDSACKRecv: 91
    TCPDSACKOfoRecv: 0
    TCPAbortOnSyn: 0
    TCPAbortOnData: 30766
    TCPAbortOnClose: 18016
    TCPAbortOnMemory: 0
    TCPAbortOnTimeout: 3356
    TCPAbortOnLinger: 0
    TCPAbortFailed: 0
    TCPMemoryPressures: 0
[ifstat]
eth0      Link encap:Ethernet  HWaddr 00:0F:20:33:10:FF 

          inet addr:xxxx.xxxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:
xxx.xxx.xxx.xxx
quoted from Marco Avvisano
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51276509 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43058513 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4151759617 (3959.4 Mb)  TX bytes:513006212 (489.2 Mb)
          Interrupt:11 

eth0:0    Link encap:Ethernet  HWaddr 00:0F:20:33:10:FF 

          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:
xxx.xxx.xxx.xxx
quoted from Marco Avvisano
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:637642227 errors:0 dropped:0 overruns:0 frame:0
          TX packets:637642227 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1011255518 (964.4 Mb)  TX bytes:1011255518 (964.4 Mb)

These from HPUX 11.00


[netstat]
tcp:
3133161776 packets sent
2936909544 data packets (3975500880 bytes)
19688268 data packets (4051185211 bytes) retransmitted
195874492 ack-only packets (27085700 delayed)
46600 URG only packets
1008401 window probe packets
26786 window update packets
153272996 control packets
2647242420 packets received
1998009913 acks (for 2481636126 bytes)
95084432 duplicate acks
14 acks for unsent data
1453847925 packets (2634351438 bytes) received in-sequence
5890 completely duplicate packets (6495459 bytes)
45913 packets with some dup. data (65276408 bytes duped)
2990574 out-of-order packets (4040897784 bytes)
623 packets (889553545 bytes) of data after window
16005 window probes
467251804 window update packets
433001 packets received after close
173435 segments discarded for bad checksum
0 bad TCP segments dropped due to state change
11184351 connection requests
63395280 connection accepts
74579631 connections established (including accepts)
78603118 connections closed (including 4023921 drops)
1914251 embryonic connections dropped
1913287649 segments updated rtt (of 1913287649 attempts)
6980635 retransmit timeouts
85898 connections dropped by rexmit timeout
1008401 persist timeouts
2324279 keepalive timeouts
2313369 keepalive probes sent
85359 connections dropped by keepalive
520963 connect requests dropped due to full queue
1807389 connect requests dropped due to no listener
udp:
0 incomplete headers
0 bad checksums
0 socket overflows
ip:
2547934921 total packets received
3 bad IP headers
83 fragments received
0 fragments dropped (dup or out of space)
6 fragments dropped after timeout
4 packets forwarded
0 packets not forwardable
icmp:
290366 calls to generate an ICMP error message
469 ICMP messages dropped
Output histogram:
echo reply: 283304
destination unreachable: 6581
source quench: 10
routing redirect: 0
echo: 0
time exceeded: 2
parameter problem: 0
time stamp request : 0
time stamp reply: 0
address mask request: 0
address mask reply: 0
0 bad ICMP messages
Input histogram:
echo reply: 97471
destination unreachable: 87685
source quench: 201
routing redirect: 104
echo: 283304
time exceeded: 10285
parameter problem: 5
time stamp request : 5
time stamp reply: 0
address mask request: 1
address mask reply: 0
283304 responses sent
multicast forwarding cache is not accessible
154940 messages received
0 messages received with too few bytes
0 messages received with bad checksum
154940 membership queries received
0 membership queries received with incorrect field(s)
0 membership reports received
0 membership reports received with incorrect field(s)
0 membership reports received for groups to which this host belongs
0 membership reports sent


From: Marco Avvisano 
To: user-ae9b8668bcde@xymon.invalid 
Sent: Monday, March 27, 2006 1:11 PM
Subject: [hobbit] netstat graph on redhat es release 3 and hpux 11.00

Hi all,

i have problem on graph netstat0 (network I/O bits second)on my 
lunux box: all the values are 'nan'.


On my hpux box :

on netstat2 graph the values TCP Failed Attemps and TCP Established 
Reset are 'nan' 
on netstat3 graph the value TCP Established Connections is 'nan'

Probabily the output from my netstat command is different 

thanks for yours helps

Marco

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Henrik Størner · Wed, 3 May 2006 16:17:56 +0200 ·
quoted from Marco Avvisano
On Mon, Mar 27, 2006 at 01:11:14PM +0200, Marco Avvisano wrote:
Hi all,

i have problem on graph netstat0 (network I/O bits second)on my lunux box: all the values are 'nan'.
It's used the ifconfig output to create this graph?
No, it uses the "netstat -s" output. Linux doesn't do byte-counts for
the TCP/IP statistics, only on the entire network interface. So the
"netstat0" graph is not valid on Linux.

In Hobbit 4.2, you will have an "ifstat" graph tracking the number of
bits passing through your network interface.
quoted from Marco Avvisano
On my hpux box :
on netstat1 graph the values UDP In/Out Datagrams are 'nan'
What does your "netstat -s" output look like ? I have a pattern matching
for this where Hobbit looks for a "datagrams received" and "datagrams
output" line.
quoted from Thomas Seglard
on netstat2 graph the values TCP Failed Attemps and TCP Established Reset are 'nan' 
on netstat3 graph the value TCP Established Connections is 'nan'
AFAIK, these counters are not reported by HP-UX.


Regards,
Henrik