Changeset 2377

Show
Ignore:
Timestamp:
08/27/09 10:23:43 (3 years ago)
Author:
janl
Message:

* freebsd/netstat: Match reset$ instead of reset. Closes #708 with regards to trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugins/node.d.freebsd/netstat.in

    r2293 r2377  
    6767fi 
    6868 
    69 /usr/bin/netstat -s | awk '/connection requests/ { print "active.value " $1 } /connection accepts/ { print "passive.value " $1 } /bad connection/ { print "failed.value " $1 } /reset/ { print "resets.value " $1 } /connections established/ { print "established.value " $1 }' 
     69/usr/bin/netstat -s | awk '/connection requests/ { print "active.value " $1 } /connection accepts/ { print "passive.value " $1 } /bad connection/ { print "failed.value " $1 } /reset$/ { print "resets.value " $1 } /connections established/ { print "established.value " $1 }' 
    7070