发表于 2019-1-26 14:14:58

falcon 服务器文件监控

alcon是一款基于inotify-tools 开发的Web服务器文件监控平台
官方文档:http://www.secrule.com/falcon/index.html
https://github.com/secrule/falcon/archive/master.zip
# unzip falcon-master.zip
Release
check.sh
检查程序依赖环境,根据提示自行安装相应软件包
配置监控程序数据库相关信息
# vi src/conf/global.conf
#mysql config
mysqlport="3306"
mysqlpwd=""
monitorfiletype="php"
#the webpath to monitor,must end of the "/"   监控目录,必须以 / 结尾
编译安装生成falcon执行文件
# make
将日志生成到falcon.log里
配置web
# vi ./falconconsole/public/config.inc.php
$dbhost = "localhost";                           // 数据库主机名
$dbpass = "";                                          // 数据库密码
// 数据表名
$table2 = "f_monitor";
http://blog.运维网.com/cqfish/../attachment/201302/140911174.jpg
页: [1]
查看完整版本: falcon 服务器文件监控