diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2001-06-17 18:44:59 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2001-06-17 18:44:59 +0000 |
commit | f2509c31a84a1461cb59b309c318fc3ceec63ff2 (patch) | |
tree | 8e030fe47717f63a36d932ec6352016e18a05170 /src/zabbix_agent/zabbix_agent.c | |
parent | 4b40f44cda5a796915763f9a82e49ab0bcac3c1e (diff) | |
download | zabbix-f2509c31a84a1461cb59b309c318fc3ceec63ff2.tar.gz zabbix-f2509c31a84a1461cb59b309c318fc3ceec63ff2.tar.xz zabbix-f2509c31a84a1461cb59b309c318fc3ceec63ff2.zip |
Zabbix_sucker will fork N (default=10) copies of himself to ensure getting
of monitored parameters just in time.
git-svn-id: svn://svn.zabbix.com/trunk@82 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent/zabbix_agent.c')
-rw-r--r-- | src/zabbix_agent/zabbix_agent.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/zabbix_agent/zabbix_agent.c b/src/zabbix_agent/zabbix_agent.c index a64f187d..043480a8 100644 --- a/src/zabbix_agent/zabbix_agent.c +++ b/src/zabbix_agent/zabbix_agent.c @@ -72,13 +72,13 @@ COMMAND commands[]= {"ping" ,PING, 0}, {"tcp_count" ,EXECUTE, "netstat -tn|grep EST|wc -l"}, - {"net[listen_21]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':21 '|wc -l"}, - {"net[listen_22]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':22 '|wc -l"}, - {"net[listen_23]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':23 '|wc -l"}, - {"net[listen_25]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':25 '|wc -l"}, - {"net[listen_80]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':80 '|wc -l"}, - {"net[listen_110]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':110 '|wc -l"}, - {"net[listen_143]" ,EXECUTE, "netstat -ln|grep tcp|grep -v grep|grep ':143 '|wc -l"}, + {"net[listen_21]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':21 '|wc -l"}, + {"net[listen_22]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':22 '|wc -l"}, + {"net[listen_23]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':23 '|wc -l"}, + {"net[listen_25]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':25 '|wc -l"}, + {"net[listen_80]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':80 '|wc -l"}, + {"net[listen_110]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':110 '|wc -l"}, + {"net[listen_143]" ,EXECUTE, "netstat -lnt|grep -v grep|grep ':143 '|wc -l"}, {0 ,0} }; |