Cacti监控TCP连接状态

admin2012-10-09linux122
Cacti服务端新建TCP状态获取脚本:
wget http://py.10isp.com/cdn/tcp-connections.zip
unzip tcp-connections.zip
修改get_tcp_connections脚本目录:
CACTIDIR=/var/www/html/cacti/scripts
将get_tcp_connections脚本上传到/var/www/html/cacti/scripts目录下 修改cacti_graph_template_tcp_connections.xml模板内脚本路径:
/bin/bash /var/www/html/cacti/scripts/get_tcp_connections
然后在Cacti模版界面导入cacti_graph_template_tcp_connections.xml模板。 监控效果如下: