nginx_requests is inconsistent with documentation (and nginx_status)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munin (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
There are two Nginx-plugins: nginx_status and nginx_requests. According to the documentation inside the packages, both packages should default to http://
This can of course be overridden in /etc/munin/
To resolve this, here's a patch for nginx_requests that changes it to behave the same way as nginx_status:
64,66c64
< chomp(my $fqdn=`hostname -f 2>/dev/null | hostname`);
<
< my $URL = exists $ENV{'url'} ? $ENV{'url'} : "http://
---
> my $URL = exists $ENV{'url'} ? $ENV{'url'} : "http://
Changed in munin (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: patch |