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:
parent
6eeb457fc2
commit
2d95020da7
4 changed files with 12 additions and 12 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue