X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=dsa-nagios-checks%2Fchecks%2Fdsa-check-mirrorsync;h=c2445f11395e173b3a90d03c2584921200252eea;hb=8deb3b867e05cc6e2fc4e6570fbcd5f94d1edc81;hp=5a45e0c35aadb5578a00e3e16b8e4a2c69755bb4;hpb=6b23f07c2d4436cb8de3f7925f8419212d07f738;p=mirror%2Fdsa-nagios.git diff --git a/dsa-nagios-checks/checks/dsa-check-mirrorsync b/dsa-nagios-checks/checks/dsa-check-mirrorsync index 5a45e0c..c2445f1 100755 --- a/dsa-nagios-checks/checks/dsa-check-mirrorsync +++ b/dsa-nagios-checks/checks/dsa-check-mirrorsync @@ -111,6 +111,7 @@ my $schema = $params->{'ssl'} ? 'https' : 'http'; foreach my $slave (@slaves) { my $ua = LWP::UserAgent->new; + $ua->agent("dsa-check-mirrorsync"); $ua->timeout(10); $ua->proxy('http', "$schema://$slave"); print "Requesting $schema://$host/$path from $slave\n" if $params->{'verbose'};