X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=cron.d%2Fcopy-logs.sh;fp=cron.d%2Fcopy-logs.sh;h=5c13a00157fe4d8e1a223b6ddd5aafb601d0a536;hb=ecea36bbf6aad3bbd3e544d336b89a45cff4ab34;hp=61754b5bd6c7ed3673fdaacd5850b912a0a1b05c;hpb=36b3183046a4c77cda147b440c6e85d1a036f239;p=monitor.git diff --git a/cron.d/copy-logs.sh b/cron.d/copy-logs.sh index 61754b5..5c13a00 100755 --- a/cron.d/copy-logs.sh +++ b/cron.d/copy-logs.sh @@ -3,6 +3,7 @@ cd /usr/share/monitor source agent.sh &> /dev/null +rsync -qv -az -e ssh root@chloe.cs.princeton.edu:/vservers/www-current/var/log/php.log /var/lib/monitor/httpd-log rsync -qv -az -e ssh root@chloe.cs.princeton.edu:/vservers/www-current/var/log/httpd/*-* /var/lib/monitor/httpd-log rsync -qv -az -e ssh root@chloe.cs.princeton.edu:/vservers/www-current/var/log/httpd/*error* /var/lib/monitor/httpd-log