Module: check_mk
Branch: master
Commit: 7897c335b3087225fa6b4248e494ab653f684f23
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7897c335b30872…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Sat Nov 17 19:36:44 2012 +0100
FreeBSD Agent: tcp_conn_stats no longer looking at wrong value
---
agents/check_mk_agent.freebsd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/agents/check_mk_agent.freebsd b/agents/check_mk_agent.freebsd
index f6b863f..7a16ddc 100755
--- a/agents/check_mk_agent.freebsd
+++ b/agents/check_mk_agent.freebsd
@@ -266,7 +266,7 @@ fi
# Number of TCP connections in the various states
echo '<<<tcp_conn_stats>>>'
-netstat -na | awk ' /^tcp/ { c[$7]++; } END { for (x in c) { print x, c[x]; } }'
+netstat -na | awk ' /^tcp/ { c[$6]++; } END { for (x in c) { print x, c[x]; } }'
# Postfix mailqueue monitoring