X-Git-Url: http://git.rot13.org/?p=influxdb-pipes;a=blobdiff_plain;f=ifstat.pl;h=5f630d7176bedddb1273d1352d33755d8cf4b3ae;hp=496a7fd0ed3a77b6f0a6e6b43e8aed811139f6c0;hb=9f40a76e048736a1efe9f0cd5581ef4fdd6886b1;hpb=1ab8c23aeee8e0e2655406648f430a08eb83deba diff --git a/ifstat.pl b/ifstat.pl index 496a7fd..5f630d7 100755 --- 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-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';