Fix a typo in ifstat.pl
authorIgor Vuk <parcijala@gmail.com>
Sun, 11 Dec 2016 14:32:09 +0000 (15:32 +0100)
committerIgor Vuk <parcijala@gmail.com>
Sun, 11 Dec 2016 14:32:09 +0000 (15:32 +0100)
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-comminity $0 host";
+my $host = shift @ARGV || die "usage: INFLUX=http://127.0.0.1:8086/write?db=snmp COMMUNITY=snmp-community $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';