node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

The status value of TCP close_cait cannot be counted, but it actually has a value

Open mashuangwei opened this issue 1 year ago • 1 comments

Host operating system: output of uname -a

node_exporter version: output of node_exporter --version

node_exporter command line flags

./node_exporter --collector.tcpstat

node_exporter log output

Are you running node_exporter in Docker?

What did you do that produced an error?

I want to see ' node_tcp_connection_states{state="close_wait"} 5', but it doesnt have

What did you expect to see?

node_tcp_connection_states{state="close_wait"} 5 node_tcp_connection_states{state="established"} 2 node_tcp_connection_states{state="wait_time"} 9 node_tcp_connection_states{state="fin_wait1"} 1 node_tcp_connection_states{state="syn_recv"} 1

What did you see instead?

TYPE node_tcp_connection_states gauge

node_tcp_connection_states{state="established"} 2 node_tcp_connection_states{state="wait_time"} 9 node_tcp_connection_states{state="fin_wait1"} 1 node_tcp_connection_states{state="syn_recv"} 1

mashuangwei avatar Sep 11 '24 02:09 mashuangwei

could you provide the close wait details? use netstat -ton | grep CLOSE_WAIT

chengjoey avatar Sep 12 '24 02:09 chengjoey