1 | 1 | simandl | #!/bin/bash |
2 | | | |
3 | | | dir="/opt/statistiky" |
4 | | | cd $dir |
5 | | | |
6 | | | . ./collect_rates.conf |
7 | | | devices="$RATES_DEVICES" |
8 | | | |
9 | | | . makeobr.conf |
10 | | | |
11 | | | limit="$(( $inet_rate * 1024 ))" |
12 | | | |
13 | | | for device in $devices sitel |
14 | | | do |
15 | | | hrule="0" |
16 | | | if [ "$device" = "$inet_device" ]; then |
17 | | | hrule="$limit" |
18 | | | fi |
19 | | | $dir/makeobr.sh $device 108000 1den "Heaven posledni den" ${uzky} $hrule |
20 | | | done |
21 | | | |
22 | | | #$dir/makeobr_allinone.sh 108000 1den "posledni 1 den" ${uzky} |
23 | | | |
24 | | | #$dir/makeobr_arp.sh 108000 1den "posledni den" ${uzky} |
25 | | | $dir/makeobr_crusader.sh 0 108000 1den "posledni den" ${siroky} |
26 | | | #$dir/makeobr_crusader.sh 0 9000 2hod "Heaven 2 hod" 9000 |
27 | | | |
28 | | | # 10 GHz (WIA, klfree) |
29 | | | #$dir/makeobr_ping.sh 192_168_19_2 108000 1den "10 GHz 1aerial na Heavenu, 1 den" ${uzky} |
30 | | | #$dir/makeobr_ping.sh 192_168_19_3 108000 1den "10 GHz 1aerial na Sitelu, 1 den" ${uzky} |
31 | | | |
32 | | | # Linky |
33 | | | $dir/makeobr_ping.sh 81_201_48_193 108000 1den "Heaven - NFX gw, 1 den" ${uzky} |
34 | | | $dir/makeobr_ping.sh 78_108_102_209 108000 1den "Heaven - Lazna NFX, 1 den" ${uzky} |
35 | | | $dir/makeobr_ping.sh 10_12_34_250 108000 1den "Heaven - Lazna AP, 1 den" ${uzky} |
36 | | | $dir/makeobr_ping.sh 10_12_34_249 108000 1den "Heaven - Lazna CZF, 1 den" ${uzky} |
37 | | | $dir/makeobr_ping.sh 10_23_0_42 108000 1den "Heaven - Trebonska, 1 den" ${uzky} |
38 | | | $dir/makeobr_ping.sh 10_23_13_226 108000 1den "Crusader 100M, 1 den" ${uzky} |
39 | | | $dir/makeobr_ping.sh 10_24_0_31 108000 1den "Heaven - Vykanska, 1 den" ${uzky} |
40 | | | $dir/makeobr_ping.sh 10_23_22_252 108000 1den "Heaven - Kaplicka RB, 1 den" ${uzky} |
41 | | | $dir/makeobr_ping.sh 10_23_22_50 108000 1den "Heaven - Kaplicka AP, 1 den" ${uzky} |
42 | | | $dir/makeobr_ping.sh 10_25_9_231 108000 1den "Heaven - Fojtik ZPnet, 1 den" ${uzky} |
43 | | | $dir/makeobr_ping.sh 192_168_16_3 108000 1den "Heaven - Vrsovice, 1 den" ${uzky} |
44 | | | $dir/makeobr_ping.sh 192_168_16_4 108000 1den "Heaven - Nusle, 1 den" ${uzky} |
45 | | | $dir/makeobr_ping.sh 10_23_65_237 108000 1den "Heaven - K2 @ 5 GHz, 1 den" ${uzky} |
46 | | | $dir/makeobr_ping.sh 10_40_2_233 108000 1den "Heaven - Hell CZF, 1 den" ${uzky} |
47 | | | $dir/makeobr_ping.sh 10_40_2_249 108000 1den "Heaven - Hell 10G, 1 den" ${uzky} |
48 | | | $dir/makeobr_ping.sh 78_108_102_225 108000 1den "Heaven - Hell Inet, 1 den" ${uzky} |
49 | | | $dir/makeobr_ping.sh 10_24_31_65 108000 1den "Heaven - Strasnice, 1 den" ${uzky} |
50 | | | $dir/makeobr_ping.sh 192_168_14_10 108000 1den "Heaven - Druzstevni ochoz, 1 den" ${uzky} |
51 | | | $dir/makeobr_ping.sh 192_168_17_3 108000 1den "Heaven - SPZ AP, 1 den" ${uzky} |
52 | | | $dir/makeobr_ping.sh 78_108_103_14 108000 1den "Heaven - SPZ server, 1 den" ${uzky} |
53 | | | $dir/makeobr_ping.sh 78_108_103_30 108000 1den "Heaven - Botic server, 1 den" ${uzky} |
54 | | | |
55 | | | # Klienti |
56 | | | #$dir/makeobr_ping.sh 192_168_14_15 108000 1den "Heaven - Liska, 1 den" ${uzky} |
57 | | | #$dir/makeobr_ping.sh 10_23_13_38 108000 1den "Vera Jurickova - 1 den" ${uzky} |
58 | | | #$dir/makeobr_ping.sh 10_23_13_51 108000 1den "Vladimir - 1 den" ${uzky} |
59 | | | #$dir/makeobr_ping.sh 10_23_13_102 108000 1den "Dalibor Klvana - 1 den" ${uzky} |
60 | | | #$dir/makeobr_ping.sh 10_23_42_2 108000 1den "Libor - 1 den" ${uzky} |
61 | | | #$dir/makeobr_ping.sh 10_23_42_15 108000 1den "Antonevich - 1 den" ${uzky} |
62 | | | #$dir/makeobr_ping.sh 10_23_42_36 108000 1den "Kvirenc - 1 den" ${uzky} |
63 | | | #$dir/makeobr_ping.sh 10_23_42_42 108000 1den "Stibor - 1 den" ${uzky} |
64 | | | |
65 | | | #$dir/makeobr_system_info.sh 108000 1den "CPU stats" ${siroky} |
66 | | | #$dir/makeobr_system_conntrack.sh 108000 1den "Connection tracking" ${siroky} |
67 | | | #$dir/makeobr_teplota.sh 108000 1den "Teplota - 1 den" ${siroky} |