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 21600 6hod "Heaven 6 hod" ${siroky} $hrule |
20 | | | $dir/makeobr.sh $device 3600 1hod "Heaven 1 hod" ${siroky} $hrule |
21 | | | done |
22 | | | # pro internet jeste hodinovy - podrobny |
23 | | | |
24 | | | #$dir/makeobr_allinone.sh 21600 6hod_wide "Heaven 6 hod" ${siroky} |
25 | | | #$dir/makeobr_allinone.sh 21600 6hod "Heaven 6 hod" ${uzky} |
26 | | | |
27 | | | #$dir/makeobr_arp.sh 21600 6hod "Heaven 6 hod" ${uzky} |
28 | | | $dir/makeobr_crusader.sh 0 4500 1hod "Heaven 1 hod" ${siroky} |
29 | | | #$dir/makeobr_crusader.sh 0 9000 2hod "Heaven 2 hod" 9000 |
30 | | | #$dir/makeobr_crusader.sh 0 7200 2hod "Heaven 2 hod" ${siroky} |
31 | | | $dir/makeobr_crusader.sh 0 21600 6hod "Heaven 6 hod" ${siroky} |
32 | | | |
33 | | | # 10 GHz (WIA, klfree) |
34 | | | #$dir/makeobr_ping.sh 192_168_19_2 21600 6hod "10 GHz 1aerial na Heavenu, 6 hod" ${uzky} |
35 | | | #$dir/makeobr_ping.sh 192_168_19_3 21600 6hod "10 GHz 1aerial na Sitelu, 6 hod" ${uzky} |
36 | | | |
37 | | | # Linky |
38 | | | $dir/makeobr_ping.sh 81_201_48_193 7200 2hod "Heaven - NFX gw, 2 hod" ${uzky} |
39 | | | $dir/makeobr_ping.sh 81_201_48_193 21600 6hod "Heaven - NFX gw, 6 hod" ${uzky} |
40 | | | $dir/makeobr_ping.sh 78_108_102_209 21600 6hod "Heaven - Lazna NFX, 6 hod" ${uzky} |
41 | | | $dir/makeobr_ping.sh 10_12_34_249 21600 6hod "Heaven - Lazna CZF, 6 hod" ${uzky} |
42 | | | $dir/makeobr_ping.sh 10_12_34_250 21600 6hod "Heaven - Lazna AP, 6 hod" ${uzky} |
43 | | | $dir/makeobr_ping.sh 10_23_0_42 21600 6hod "Heaven - Trebonska, 6 hod" ${uzky} |
44 | | | $dir/makeobr_ping.sh 10_23_13_226 21600 6hod "Crusader 100M, 6 hod" ${uzky} |
45 | | | $dir/makeobr_ping.sh 10_24_0_31 21600 6hod "Heaven - Vykanska, 6 hod" ${uzky} |
46 | | | $dir/makeobr_ping.sh 10_23_22_252 21600 6hod "Heaven - Kaplicka RB, 6 hod" ${uzky} |
47 | | | $dir/makeobr_ping.sh 10_23_22_50 21600 6hod "Heaven - Kaplicka AP, 6 hod" ${uzky} |
48 | | | $dir/makeobr_ping.sh 10_25_9_231 21600 6hod "Heaven - Fojtik ZPnet, 6 hod" ${uzky} |
49 | | | $dir/makeobr_ping.sh 192_168_16_3 21600 6hod "Heaven - Vrsovice, 6 hod" ${uzky} |
50 | | | $dir/makeobr_ping.sh 192_168_16_4 21600 6hod "Heaven - Nusle, 6 hod" ${uzky} |
51 | | | $dir/makeobr_ping.sh 10_23_65_237 21600 6hod "Heaven - K2 @ 5GHz, 6 hod" ${uzky} |
52 | | | $dir/makeobr_ping.sh 10_40_2_233 21600 6hod "Heaven - Hell CZF, 6 hod" ${uzky} |
53 | | | $dir/makeobr_ping.sh 10_40_2_249 21600 6hod "Heaven - Hell 10 GHz, 6 hod" ${uzky} |
54 | | | $dir/makeobr_ping.sh 78_108_102_225 21600 6hod "Heaven - Hell Inet, 6 hod" ${uzky} |
55 | | | $dir/makeobr_ping.sh 10_24_31_65 21600 6hod "Heaven - Strasnice, 6 hod" ${uzky} |
56 | | | $dir/makeobr_ping.sh 192_168_12_3 21600 6hod "Heaven - Rodga, 6 hod" ${uzky} |
57 | | | $dir/makeobr_ping.sh 192_168_14_10 21600 6hod "Heaven - Druzstevni ochoz, 6 hod" ${uzky} |
58 | | | $dir/makeobr_ping.sh 192_168_17_3 21600 6hod "Heaven - SPZ AP, 6 hod" ${uzky} |
59 | | | $dir/makeobr_ping.sh 78_108_103_14 21600 6hod "Heaven - SPZ server, 6 hod" ${uzky} |
60 | | | $dir/makeobr_ping.sh 78_108_103_30 21600 6hod "Heaven - Botic server, 6 hod" ${uzky} |
61 | | | |
62 | | | # Klienti |
63 | | | #$dir/makeobr_ping.sh 192_168_14_15 21600 6hod "Heaven - Liska, 6 hod" ${uzky} |
64 | | | #$dir/makeobr_ping.sh 10_23_13_38 21600 6hod "Vera Jurickova - 6 hod" ${uzky} |
65 | | | #$dir/makeobr_ping.sh 10_23_13_51 21600 6hod "Vladimir - 6 hod" ${uzky} |
66 | | | #$dir/makeobr_ping.sh 10_23_13_102 21600 6hod "Dalibor Klvana - 6 hod" ${uzky} |
67 | | | #$dir/makeobr_ping.sh 10_23_42_2 21600 6hod "Libor - 6hod" ${uzky} |
68 | | | #$dir/makeobr_ping.sh 10_23_42_15 21600 6hod "Antonevich - 6hod" ${uzky} |
69 | | | #$dir/makeobr_ping.sh 10_23_42_36 21600 6hod "Kvirenc - 6hod" ${uzky} |
70 | | | #$dir/makeobr_ping.sh 10_23_42_42 21600 6hod "Stibor - 6hod" ${uzky} |
71 | | | |
72 | | | #$dir/makeobr_system_info.sh 21600 6hod "CPU stats" ${siroky} |
73 | | | #$dir/makeobr_teplota.sh 43200 12hod "Teplota - 12 hod" ${siroky} |
74 | | | |
75 | | | #$dir/makeobr_system_conntrack.sh 21600 6hod "Connection tracking" ${siroky} |