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 777600 1tyden "Heaven 1 tyden" ${uzky} $hrule |
20 | | | done |
21 | | | |
22 | | | #$dir/makeobr_allinone.sh 777600 1tyden "1 tyden" ${uzky} |
23 | | | #$dir/makeobr_allinone.sh 3024000 1mesic "1 mesic" ${uzky} |
24 | | | #$dir/makeobr_allinone.sh 31536000 1rok "1 rok" ${uzky} |
25 | | | |
26 | | | #$dir/makeobr_arp.sh 777600 1tyden "1 tyden" ${uzky} |
27 | | | #$dir/makeobr_arp.sh 2678400 1mesic "1 mesic" ${siroky} |
28 | | | |
29 | | | crs_date=`date "+%F_%T"` |
30 | | | $dir/makeobr_crusader.sh 0 9000 $crs_date "Heaven 2 hod" 9000 |
31 | | | $dir/makeobr_crusader.sh 0 777600 1tyden "1 tyden" ${siroky} |
32 | | | $dir/makeobr_crusader.sh 0 2678400 1mesic "1 mesic" ${siroky} |
33 | | | |
34 | | | # 10 GHz (WIA, klfree) |
35 | | | #$dir/makeobr_ping.sh 192_168_19_2 777600 1tyden "10 GHz 1aerial na Heavenu, 1 tyden" ${uzky} |
36 | | | #$dir/makeobr_ping.sh 192_168_19_3 777600 1tyden "10 GHz 1aerial na Sitelu, 1 tyden" ${uzky} |
37 | | | |
38 | | | # Linky |
39 | | | $dir/makeobr_ping.sh 81_201_48_193 777600 1tyden "Heaven - NFX gw, 1 tyden" ${uzky} |
40 | | | $dir/makeobr_ping.sh 78_108_102_209 777600 1tyden "Heaven - Lazna NFX, 1 tyden" ${uzky} |
41 | | | $dir/makeobr_ping.sh 10_12_34_249 777600 1tyden "Heaven - Lazna CZF, 1 tyden" ${uzky} |
42 | | | $dir/makeobr_ping.sh 10_12_34_250 777600 1tyden "Heaven - Lazna AP, 1 tyden" ${uzky} |
43 | | | $dir/makeobr_ping.sh 10_23_0_42 777600 1tyden "Heaven - Trebonska, 1 tyden" ${uzky} |
44 | | | $dir/makeobr_ping.sh 10_23_13_226 777600 1tyden "Crusader 100M, 1 tyden" ${uzky} |
45 | | | $dir/makeobr_ping.sh 192_168_16_3 777600 1tyden "Heaven - Vrsovice, 1 tyden" ${uzky} |
46 | | | $dir/makeobr_ping.sh 192_168_16_4 777600 1tyden "Heaven - Nusle, 1 tyden" ${uzky} |
47 | | | $dir/makeobr_ping.sh 10_23_65_237 777600 1tyden "Heaven - K2, 1 tyden" ${uzky} |
48 | | | $dir/makeobr_ping.sh 10_40_2_233 777600 1tyden "Heaven - Hell CZF, 1 tyden" ${uzky} |
49 | | | $dir/makeobr_ping.sh 10_40_2_249 777600 1tyden "Heaven - Hell 10G, 1 tyden" ${uzky} |
50 | | | $dir/makeobr_ping.sh 78_108_102_225 777600 1tyden "Heaven - Hell Inet, 1 tyden" ${uzky} |
51 | | | $dir/makeobr_ping.sh 10_24_31_65 777600 1tyden "Heaven - Strasnice, 1 tyden" ${uzky} |
52 | | | $dir/makeobr_ping.sh 10_23_22_252 777600 1tyden "Heaven - Kaplicka RB, 1 tyden" ${uzky} |
53 | | | $dir/makeobr_ping.sh 10_23_22_50 777600 1tyden "Heaven - Kaplicka AP, 1 tyden" ${uzky} |
54 | | | $dir/makeobr_ping.sh 10_25_9_231 777600 1tyden "Heaven - Fojtik ZPnet, 1 tyden" ${uzky} |
55 | | | $dir/makeobr_ping.sh 192_168_14_10 777600 1tyden "Heaven - Druzstevni ochoz, 1 tyden" ${uzky} |
56 | | | $dir/makeobr_ping.sh 192_168_17_3 777600 1tyden "Heaven - SPZ AP, 1 tyden" ${uzky} |
57 | | | $dir/makeobr_ping.sh 78_108_103_14 777600 1tyden "Heaven - SPZ server, 1 tyden" ${uzky} |
58 | | | $dir/makeobr_ping.sh 78_108_103_30 777600 1tyden "Heaven - Botic server, 1 tyden" ${uzky} |
59 | | | |
60 | | | exit 0; |
61 | | | |
62 | | | # Klienti |
63 | | | $dir/makeobr_ping.sh 192_168_14_15 777600 1tyden "Heaven - Liska, 1 tyden" ${uzky} |
64 | | | $dir/makeobr_ping.sh 10_23_13_38 777600 1tyden "Vera Jurickova - 1 tyden" ${uzky} |
65 | | | $dir/makeobr_ping.sh 10_23_13_51 777600 1tyden "Vladimir - 1 tyden" ${uzky} |
66 | | | $dir/makeobr_ping.sh 10_23_13_102 777600 1tyden "Dalibor Klvana - 1 tyden" ${uzky} |
67 | | | $dir/makeobr_ping.sh 10_23_42_15 777600 1tyden "Antonevich - 1 tyden" ${uzky} |
68 | | | $dir/makeobr_ping.sh 10_23_42_36 777600 1tyden "Kvirenc - 1 tyden" ${uzky} |
69 | | | $dir/makeobr_ping.sh 10_23_42_42 777600 1tyden "Stibor - 1 tyden" ${uzky} |
70 | | | |
71 | | | $dir/makeobr_teplota.sh 777600 1tyden "Teplota - 1 tyden" ${siroky} |
72 | | | $dir/makeobr_teplota.sh 3024000 1mesic "Teplota - 1 mesic" ${siroky} |
73 | | | $dir/makeobr_system_conntrack.sh 777600 1tyden "Connection tracking" ${siroky} |
74 | | | $dir/makeobr_system_conntrack.sh 3024000 1mesic "Connection tracking" ${siroky} |