Author: glen                         Date: Wed Jan 21 14:18:36 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cleanup

---- Files affected:
SOURCES:
   cacti-plugin-snmp_tcp_connection_status.sh (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/cacti-plugin-snmp_tcp_connection_status.sh
diff -u SOURCES/cacti-plugin-snmp_tcp_connection_status.sh:1.2 
SOURCES/cacti-plugin-snmp_tcp_connection_status.sh:1.3
--- SOURCES/cacti-plugin-snmp_tcp_connection_status.sh:1.2      Wed Jan 21 
15:10:24 2009
+++ SOURCES/cacti-plugin-snmp_tcp_connection_status.sh  Wed Jan 21 15:18:30 2009
@@ -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... ;)
 # [email protected]
-#
-# modified by Elan Ruusamäe <[email protected]>
 
-TMPDIR=/tmp
+# convert to use awk by Elan Ruusamäe <[email protected]>
 
 snmpnetstat -v 2c -c "$2" -Can -Cp tcp "$1" | awk '
        $1 == "tcp" {
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/cacti-plugin-snmp_tcp_connection_status.sh?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to