check_connections

1  2011-01-06 10:10:13 exit
    2  2011-01-06 17:38:56 cpan ExtUtils::MakeMaker File::Slurp Nagios::Plugin Nagios::Plugin::Getopt Nagios::Plugin::Threshold
    3  2011-01-06 17:42:31 cd /opt/
    4  2011-01-06 17:42:32 ls
    5  2011-01-06 17:43:19 ls
    6  2011-01-06 17:44:37 tar xzvf check_connections-2.1.1.tar.gz
    7  2011-01-06 17:44:39 cd check_connections-2.1.1
    8  2011-01-06 17:44:43 perl Makefile.PL
    9  2011-01-06 17:44:58 make && make install
   10  2011-01-06 17:45:09 cp /usr/lib/nagios/plugins/contrib/check_connections /usr/local/nagios/libexec/
   11  2011-01-06 17:45:17 /usr/local/nagios/libexec/check_connections -w 200 -c 300
   12  2011-01-06 17:45:25 cpan version
   13  2011-01-06 17:45:38 /usr/local/nagios/libexec/check_connections -w 200 -c 300

[root@localhost check_connections-2.1.1]# /usr/local/nagios/libexec/check_connections -w 200 -c 300
CHECK_CONNECTIONS OK - 14 connections | TIME_WAIT=2;; CLOSING=0;; CLOSE_WAIT=0;; SYN_SENT=0;; SYN_RECEIVED=0;; IDLE=0;; BOUND=0;; FIN_WAIT1=0;; CLOSED=0;; LAST_ACK=0;; ESTABLISHED=1;; FIN_WAIT2=0;; UNKNOWN=0;; LISTEN=3;; TOTAL=14;; TCP=6;; UDP=8;; UDP_LISTEN=0;; ICMP=0;; ICMP_LISTEN=0;;

你可能感兴趣的:(职场,cacti,nagios,check,休闲)