-
Notifications
You must be signed in to change notification settings - Fork 0
Home
coolcer edited this page Dec 15, 2015
·
1 revision
Welcome to the report wiki!
第一次写php脚本,写的不好 这是根据自己的需求,编写的报警系统。 这里仅仅是从数据库里将报警,通过邮件发出来 1、report_monitor.php用来收集报警并分析做处理 2、report.php,是将报警通知到相关人员,报警的次数和频率暂时都是根据crontab来完成的
3、以下crontab
-
-
-
-
- /coolcer/server/report/report.php >>/coolcer/logs/check/report.log
-
-
-
-
-
-
-
- sleep 20; /coolcer/server/report/report.php >>/coolcer/logs/check/report.log
-
-
-
-
-
-
-
- sleep 40; /coolcer/server/report/report.php >>/coolcer/logs/check/report.log
-
-
-