首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > tcp-watcher

tcp-watcher

  • 资源大小:2.81 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This small ruby script is written as a school project. [M00kaw@teh-geek ~]$ ruby --version ruby 1.9.3p194 (2012-04-20 revision 35410) [x86\_64-linux] The intention is to monitor ports over TCP connection. Append the results in a MySQL database, and notify via gmail / google apps mail, if a port isn"t connectable. You could run it as a cron job, or make a while true .... sleep 300 Remember to install the gems. [M00kaw@teh-geek ~]$ gem list LOCAL GEMS mysql (2.8.1) parseconfig (1.0.2) tlsmail (0.0.1) (ignore the warnings from tlsmail when the script is executed) MySQL instructions: check the wiki Remember to replace the websites and ports in sites.conf Remember to insert your own values in login.conf

文 件 列 表

TCP-Watcher
send_mail.rb
port_status.rb
tcp_watcher.rb
login.conf
sites.conf
insert_sql.rb

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.161624s