1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-07 14:43:13 +00:00

NOAA decommissioned weather.noaa.gov

Change weather.noaa.gov -> tgftp.nws.noaa.gov
This commit is contained in:
Samuel Smith 2016-08-29 12:23:25 -05:00
parent 6eeb457fc2
commit 2d95020da7
4 changed files with 12 additions and 12 deletions

View file

@ -2,7 +2,7 @@
#
# Copyright (C) 2006 Lars Strand
#
# Plugin to fetch temperature from weather.noaa.gov
# Plugin to fetch temperature from tgftp.nws.noaa.gov
#
# Parameters supported:
#
@ -15,7 +15,7 @@
use strict;
# Find areacodes here http://weather.noaa.gov/
# Find areacodes here http://tgftp.nws.noaa.gov/
my @wcode = undef;
if (defined($ENV{wcode})) {
@ -43,7 +43,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "autoconf") {
}
}
my $datasource = "http://weather.noaa.gov/pub/data/observations/metar/decoded/";
my $datasource = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/";
my $ua = LWP::UserAgent->new(timeout => 30);
$ua->agent('Munin');