diff options
Diffstat (limited to 'clients/fetch-cubemap-munin.sh')
-rwxr-xr-x | clients/fetch-cubemap-munin.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clients/fetch-cubemap-munin.sh b/clients/fetch-cubemap-munin.sh new file mode 100755 index 0000000..7dc1526 --- /dev/null +++ b/clients/fetch-cubemap-munin.sh @@ -0,0 +1,10 @@ +#!/bin/bash +#cp -p "/var/cache/munin/www/tg15.gathering.org/seamus.tg15.gathering.org/cubemap-day.png" "/root/tgmanage/examples/tg15/streamstats/cubemap_seamus_-`date +%Y%m%d_%H%M`.png" +#cp -p "/var/cache/munin/www/tg15.gathering.org/maggie.tg15.gathering.org/cubemap-day.png" "/root/tgmanage/examples/tg15/streamstats/cubemap_maggie_-`date +%Y%m%d_%H%M`.png" + +epoch_to=`date +%s` +let "epoch_from = epoch_to - (60 * 60 * 24)" + +wget -qO"/root/tgmanage/examples/tg15/streamstats/cubemap_maggie_detailed_-`date +%Y%m%d_%H%M`.png" "http://munin.tg15.gathering.org/munin-cgi/munin-cgi-graph/tg15.gathering.org/maggie.tg15.gathering.org/cubemap-pinpoint=$epoch_from,$epoch_to.png?&lower_limit=&upper_limit=&size_x=1280&size_y=720" +wget -qO"/root/tgmanage/examples/tg15/streamstats/cubemap_seamus_detailed_-`date +%Y%m%d_%H%M`.png" "http://munin.tg15.gathering.org/munin-cgi/munin-cgi-graph/tg15.gathering.org/seamus.tg15.gathering.org/cubemap-pinpoint=$epoch_from,$epoch_to.png?&lower_limit=&upper_limit=&size_x=1280&size_y=720" + |