projects
/
influxdb-pipes
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1ab8c23
)
Fix a typo in ifstat.pl
author
Igor Vuk
<parcijala@gmail.com>
Sun, 11 Dec 2016 14:32:09 +0000
(15:32 +0100)
committer
Igor Vuk
<parcijala@gmail.com>
Sun, 11 Dec 2016 14:32:09 +0000
(15:32 +0100)
ifstat.pl
patch
|
blob
|
history
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;
-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';