Package: munin-node
Version: 1.2.6-10~lenny2
Severity: normal
Tags: patch

I notice the number of netstat passive connections is constantly increasing
in a linear fashion.

I run netstat and get something like this:

netstat -s|grep active
3339672 active connections openings
7574 active connections rejected because of time stamp

it’s the active connections rejected that’s confusing munin


patch proposed:

diff /usr/share/munin/plugins/netstat /usr/local/share/munin/plugins/netstat 
11,15d10
< # Bugs:
< #       At least one SuSE netstat appears to report
< #         "passive connections rejected because of time stamp"
< #        We have never seen that, patch requested.
< #
74c69
< netstat -s | awk '/active connections/ { print "active.value " $1 }
/passive connection ope/ { print "passive.value " $1 } /failed connection/ {
print "failed.value " $1 } /connection resets/ { print "resets.value " $1 }
/connections established/ { print "established.value " $1 }'
---
> netstat -s | awk '/active connections ope/ { print "active.value " $1 }
/passive connection ope/ { print "passive.value " $1 } /failed connection/ { 
print "failed.value " $1 } /connection resets/ { print "resets.value " $1 }
/connections established/ { print "established.value " $1 }'


-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages munin-node depends on:
ii  adduser                 3.110            add and remove users and groups
ii  gawk                    1:3.1.5.dfsg-4.1 GNU awk, a pattern scanning and pr
ii  libnet-server-perl      0.97-1           An extensible, general perl server
ii  lsb-base                3.2-20           Linux Standard Base 3.2 init scrip
ii  perl                    5.10.0-19lenny2  Larry Wall's Practical Extraction 
ii  procps                  1:3.2.7-11       /proc file system utilities

Versions of packages munin-node recommends:
pn  libnet-snmp-perl              <none>     (no description available)

Versions of packages munin-node suggests:
pn  acpi | lm-sensors             <none>     (no description available)
pn  ethtool                       <none>     (no description available)
pn  libdbd-pg-perl                <none>     (no description available)
pn  liblwp-useragent-determined-p <none>     (no description available)
pn  libnet-irc-perl               <none>     (no description available)
pn  libwww-perl                   <none>     (no description available)
pn  munin                         <none>     (no description available)
pn  munin-plugins-extra           <none>     (no description available)
pn  mysql-client                  <none>     (no description available)
ii  python                        2.5.2-3    An interactive high-level object-o
pn  smartmontools                 <none>     (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to