projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adayevskaya to buster
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-mirrorsync
diff --git
a/dsa-nagios-checks/checks/dsa-check-mirrorsync
b/dsa-nagios-checks/checks/dsa-check-mirrorsync
index
5a45e0c
..
c2445f1
100755
(executable)
--- 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'};