diff options
author | Joachim Tingvold <joachim@tingvold.com> | 2015-04-02 23:37:38 +0200 |
---|---|---|
committer | root <root@einstein.tg15.gathering.org> | 2015-04-02 23:37:38 +0200 |
commit | 247524e087a9d44eba3cca6f5f2e50764027e45c (patch) | |
tree | 688b6df347c74391917ba3f0eaccc39bed9b7e7e /clients/snmpfetchng.pl | |
parent | a4fe4862c69d22ec8a2068bfc1f93a9d3d08d92e (diff) |
More changes. Lawl.
Diffstat (limited to 'clients/snmpfetchng.pl')
-rwxr-xr-x | clients/snmpfetchng.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } |