blob: 150eb197a360f69f7d346cb518eec93bc27eb3b3 [file] [log] [blame]
Devin Lim7ff61422018-04-14 00:25:12 -07001#!/bin/bash
2export PYTHONPATH=/home/sdn/TestON:/home/sdn/sts
3
4#Run LogReport
5#/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
6
7#Copy generated wiki report file from TestON .rpt to /tmp
8#/var/lib/jenkins/Jenkins_getresult.py > /tmp/CHOresults.txt
9
10cd ~/CHO_Jenkins_Scripts
11# Generate the cvs files for plotting
12bash log-summary
13#source log-summary-cumulative 500
14
15# Refrest the images generated by Monitorix
16#curl http://10.128.40.41:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
17#curl http://10.128.40.42:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
18#curl http://10.128.40.43:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
19#curl http://10.128.40.50:8080/monitorix-cgi/monitorix.cgi?mode=localhost\&graph=all\&when=1week\&color=black > /dev/null
20
21# Download required images to workspace folder
22#curl -o onos1cpu.png http://10.128.40.41:8080/monitorix/imgs/system1z.1week.png
23#curl -o onos1mem.png http://10.128.40.41:8080/monitorix/imgs/system3z.1week.png
24#curl -o onos1net.png http://10.128.40.41:8080/monitorix/imgs/net01z.1week.png
25#curl -o mininetcpu.png http://10.128.40.50:8080/monitorix/imgs/system1z.1week.png
26#curl -o mininetnet.png http://10.128.40.50:8080/monitorix/imgs/net01z.1week.png