標題:
FTP LOG SCRIPT
[打印本頁]
作者:
swee
時間:
2009-1-7 20:51
標題:
FTP LOG SCRIPT
大家好, 自己想設計一個簡單程式, 用來capture ftp error log , 如果發現有ftp error , 就send email to administrator. 否則就保存error log.
請問點寫呢?
我用default shell
作者:
直擊報導
時間:
2009-1-8 17:13
Usually is /var/log/xferlog .....
Login error is usually /var/log/auth.log or /var/log/security
作者:
swee
時間:
2009-1-8 21:40
多謝你的解答, 但是我使用Solaris SYSTEM, 而且我又要自動SEND MAIL TO ADM, 我可以利用SCRIPT 在CRON JOB , 定期檢查.
請師兄可以幫手
作者:
直擊報導
時間:
2009-1-18 18:27
Under Linux, there is a set of scripts called logcheck (google "linux logcheck").
See if you could use it in Solaris.
歡迎光臨 UFunFun 討論區 (http://ufunfun.com/)
Powered by Discuz! 6.0.0