X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=automate.sh;h=0a105f6b459c47532df5a42ffc9f96ac812cd2df;hb=dee691cab200c81c553a2c03e566a7574754f18c;hp=2c021ee06bd0ef2cbf53c50098ffe2dfbe5c3599;hpb=83f273d94a778aa4ff59ba08fa1edf3004a14d36;p=monitor.git diff --git a/automate.sh b/automate.sh index 2c021ee..0a105f6 100755 --- a/automate.sh +++ b/automate.sh @@ -4,18 +4,4 @@ set -e cd $HOME/research/planetlab/svn/monitor/ source ssh.env.sh export SSH_AUTH_SOCK -rm -f pdb/production.findbad2.pkl -./findbad.py --cachenodes --debug=0 --dbname="findbad2" -# rename, and copies to golf. -cp pdb/production.findbad2.pkl pdb/production.findbad.pkl -scp pdb/production.findbad2.pkl soltesz@golf.cs.princeton.edu:monitor3/pdb/production.findbad.pkl -scp soltesz@golf.cs.princeton.edu:monitor3/pdb/production.act_all.pkl ~/public_html/cgi-bin/pdb/debug.act_all.pkl -# make available for local cgi-bin scripts -cp pdb/production.findbad2.pkl ~/public_html/cgi-bin/pdb/debug.findbad.pkl -# generate badcsv for tux/public_html scripts. -./printbadcsv.py | grep -v loading | tr -d ' ' > badcsv.txt -scp badcsv.txt soltesz@tux.cs.princeton.edu:public_html/ - - -ssh soltesz@pl-virtual-03 "cd monitor3; ./findbadpcu.py --increment --refresh --debug=0 --dbname=findbadpcus" -scp soltesz@pl-virtual-03:monitor3/pdb/production.findbadpcus.phpserial pdb/ +ssh -A soltesz@pl-virtual-03 "monitor/automate_pl03.sh"