]> git.pld-linux.org Git - packages/cacti-template-snmp_tcp_connection_status.git/commitdiff
- cleanup
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 21 Jan 2009 14:18:30 +0000 (14:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-template-snmp_tcp_connection_status.sh -> 1.3

cacti-template-snmp_tcp_connection_status.sh

index 6a13e2f2e82c886b6460e43859869c6e1c9c957e..2d69a69a7f63c3be24bd591fc2e5b6c690360025 100644 (file)
@@ -1,14 +1,12 @@
 #!/bin/sh
-
 # get number of tcp connection
 # $1 = hostname
 # $2 = snmp community
+
 # lots of ways to do this with more style... ;)
 # jbrooks@oddelement.com
-#
-# modified by Elan Ruusamäe <glen@pld-linux.org>
 
-TMPDIR=/tmp
+# convert to use awk by Elan Ruusamäe <glen@pld-linux.org>
 
 snmpnetstat -v 2c -c "$2" -Can -Cp tcp "$1" | awk '
        $1 == "tcp" {
This page took 0.077347 seconds and 4 git commands to generate.