diff options
Diffstat (limited to 'clients')
-rwxr-xr-x | clients/fetch-cubemap-munin.sh | 4 | ||||
-rwxr-xr-x | clients/snmpfetchng.pl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clients/fetch-cubemap-munin.sh b/clients/fetch-cubemap-munin.sh index 7dc1526..2beb8bc 100755 --- a/clients/fetch-cubemap-munin.sh +++ b/clients/fetch-cubemap-munin.sh @@ -5,6 +5,6 @@ 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" +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" diff --git a/clients/snmpfetchng.pl b/clients/snmpfetchng.pl index 67fc1c7..fa7c227 100755 --- a/clients/snmpfetchng.pl +++ b/clients/snmpfetchng.pl @@ -121,7 +121,7 @@ sub ckcall $dbh->commit; } my @values = ('ifName','ifHighSpeed','ifHCOutOctets','ifHCInOctets'); -my $query = "INSERT INTO polls2 (switch,time"; +my $query = "INSERT INTO polls (switch,time"; foreach my $val (@values) { $query .= ",$val"; } |