Taebu / prq

prq.co.kr
MIT License
1 stars 0 forks source link

cafe24 prq.co.kr 개발시작 #1

Closed Taebu closed 8 years ago

Taebu commented 8 years ago

자꾸만 다운 된다. 12-10 12-14 12-17 벌써 3번째 다운 네트워크 드라이버 교체하고 추이를 지켜 보기로 했다.

어떤일이 있을지 두고 보기로 했다.

Taebu commented 8 years ago

지금 현재 까지 큰 문제가 없는 것으로 보인다. crontab -e 로 현재 모니터 할 수 있도록 로그 발생 중 #

time setting

14 3 * * * /usr/bin/rdate -s time.bora.net; /sbin/hwclock --systohc

disk backup

0 5 * * * /root/backup/rsync_backup.sh

check system

/5 * * * * /root/monitor/checkSystemAll.sh > /dev/null 2>&1 /5 * * * * /root/monitor/apache.py > /var/log/_apache.log 2>&1 /5 * * * * /root/monitor/disk.py > /var/log/_disk.log 2>&1 /5 * * * * /root/monitor/mysql.py > /var/log/_mysql.log 2>&1 /5 * * * * /root/monitor/network.py > /var/log/_network.log 2>&1 /5 * * * * /root/monitor/uptime.py > /var/log/_uptime.log 2>&1 /5 * * * * /root/monitor/systeminfo.py > /var/log/_uptime.log 2>&1 /5 * * * * /root/monitor/checkSystem2.sh swap xml > /var/log/_checkSystem2.log 2>&1 /5 * * * * /root/monitor/checkSystem2.sh io xml > /var/log/_checkSystem2.log 2>&1 /5 * * * * /root/monitor/checkSystem2.sh count xml > /var/log/_checkSystem2.log 2>&1 /5 * * * * /root/monitor/checkSystem2.sh resource xml > /var/log/_checkSystem2.log 2>&1 /5 * * * * /root/monitor/checkSystem2.sh memory xml > /var/log/_checkSystem2.log 2>&1 /5 * * * \ /root/monitor/checkSystem2.sh etc xml > /var/log/_checkSystem2.log 2>&1