Cacti监控TCP连接状态

Cacti监控TCP连接状态


tcp-connections.zip

Cacti服务端新建TCP状态获取脚本:

1
2
wget http://www.micoder.cc/attachment.php?fid=279
unzip tcp-connections.zip

修改get_tcp_connections脚本目录:
1
CACTIDIR=/cactipath/scripts

修改cacti_graph_template_tcp_connections.xml模板内脚本路径:
1
/bin/bash /var/www/htdocs/cacti/scripts/get_tcp_connections

然后在Cacti界面导入cacti_graph_template_tcp_connections.xml模板。