Project

General

Profile

Actions

Bug #11677

closed

foreman-debug: netstat to print also ESTABLISHED connections

Added by Pavel Moravec about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-debug
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
foreman-debug generates netstat file as an output of "netstat -tulpn" command. -l means only listening sockets are displayed. While it is often important to see also established connections, i.e. celery connected to CDN:443 during repo sync, goferd on a content host to 5647, dispatch router on capsule to 5646, etc. If some such connection is missing, it is a symptom of some problem - but netstat in foreman-debug does not provide that info.

Please provide "netstat putna" output rather (-l -> -a, print all sockets).

Version-Release number of selected component (if applicable):
foreman-debug-1.7.2.34-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. foreman-debug
2. (in extracted tarball): grep ESTAB netstat

Actual results:
no established TCP connection

Expected results:
many established connections, like:

tcp 0 0 1.2.3.4:40912 1.2.3.4:5671 ESTABLISHED 25428/qdrouterd

Additional info:
Same applies to "ss" command as an alternative to netstat

Actions

Also available in: Atom PDF