blob: 586ad1fd0df7e53fe141ffc9cd7843fe80eb101e [file] [log] [blame]
#!/bin/bash
export PYTHONPATH=/home/admin/TestON:/home/admin/sts
#Run LogReport
#/var/lib/jenkins/LogReport.py --nodes '10.128.40.41' '10.128.40.42' '10.128.40.43' --terms 'WARN' 'ERROR' 'Except' > /tmp/LogReport.txt
#Copy generated wiki report file from TestON .rpt to /tmp
#/var/lib/jenkins/Jenkins_getresult.py > /tmp/CHOresults.txt
cd ~/CHO_Jenkins_Scripts
# Generate the cvs files for plotting
bash log-summary
#source log-summary-cumulative 500
# Refrest the images generated by Monitorix
#curl http://10.128.40.41:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
#curl http://10.128.40.42:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
#curl http://10.128.40.43:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
#curl http://10.128.40.50:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
# Download required images to workspace folder
#curl -o onos1cpu.png http://10.128.40.41:8080/monitorix/imgs/system1z.1week.png
#curl -o onos1mem.png http://10.128.40.41:8080/monitorix/imgs/system3z.1week.png
#curl -o onos1net.png http://10.128.40.41:8080/monitorix/imgs/net01z.1week.png
#curl -o mininetcpu.png http://10.128.40.50:8080/monitorix/imgs/system1z.1week.png
#curl -o mininetnet.png http://10.128.40.50:8080/monitorix/imgs/net01z.1week.png