projects
/
influxdb-pipes
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a typo in ifstat.pl
[influxdb-pipes]
/
ifstat.pl
diff --git
a/ifstat.pl
b/ifstat.pl
index
496a7fd
..
5f630d7
100755
(executable)
--- a/
ifstat.pl
+++ b/
ifstat.pl
@@
-3,7
+3,7
@@
use warnings;
use strict;
use autodie;
use strict;
use autodie;
-my $host = shift @ARGV || die "usage: INFLUX=http://127.0.0.1:8086/write?db=snmp COMMUNITY=snmp-comm
i
nity $0 host";
+my $host = shift @ARGV || die "usage: INFLUX=http://127.0.0.1:8086/write?db=snmp COMMUNITY=snmp-comm
u
nity $0 host";
my $community = $ENV{COMMUNITY} || 'public';
my $influx = $ENV{INFLUX} || 'http://127.0.0.1:8086/write?db=snmp';
my $community = $ENV{COMMUNITY} || 'public';
my $influx = $ENV{INFLUX} || 'http://127.0.0.1:8086/write?db=snmp';