From 331d5a43dc76f9d26d7d446e57eb18a1c295ed0e Mon Sep 17 00:00:00 2001 From: Kenyon Ralph Date: Mon, 30 Apr 2012 01:07:12 -0700 Subject: [PATCH] remove plugin existing in main munin repository --- plugins/network/tcp | 96 --------------------------------------------- 1 file changed, 96 deletions(-) delete mode 100755 plugins/network/tcp diff --git a/plugins/network/tcp b/plugins/network/tcp deleted file mode 100755 index 04bccbcf..00000000 --- a/plugins/network/tcp +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -: < - -=head1 LICENSE - -GPLv2 - -=begin comment - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; version 2 dated June, 1991. - -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, -USA. - -=end comment - -=head1 MAGIC MARKERS - - #%# family=manual - #%# capabilities=autoconf - -=cut - -EOF - -case $1 in - config) - cat < - -cat /proc/net/tcp* | awk ' - - match ($4, /0[0-9A-B]/) { - STATE[$4]++; - } - - END { - printf "established.value %d\n", STATE["01"]; - printf "syn_sent.value %d\n", STATE["02"]; - printf "syn_recv.value %d\n", STATE["03"]; - printf "fin_wait1.value %d\n", STATE["04"]; - printf "fin_wait2.value %d\n", STATE["05"]; - printf "time_wait.value %d\n", STATE["06"]; - printf "close.value %d\n", STATE["07"]; - printf "close_wait.value %d\n", STATE["08"]; - printf "last_ack.value %d\n", STATE["09"]; - printf "listen.value %d\n", STATE["0A"]; - printf "closing.value %d\n", STATE["0B"]; - }'