mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
[http_load_] Better User-Agent
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
caea776610
commit
17b36345fa
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ my $debug=$ENV{MUNIN_DEBUG};
|
|||
my $timeout=10;
|
||||
my $max_redirects=10;
|
||||
my $scriptname="http_load_";
|
||||
my $useragent="Mozilla/5.0";
|
||||
my $useragent="Mozilla/5.0 (Munin; $scriptname)";
|
||||
|
||||
# Function to read the $url_file and return the contents in a hash
|
||||
sub read_urls{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue