[Bug 1110371] [NEW] nginx_requests is inconsistent with documentation (and nginx_status)

Viktor Petersson petersson at gmail.com
Wed Jan 30 12:33:01 UTC 2013

Public bug reported:

There are two Nginx-plugins: nginx_status and nginx_requests. According
to the documentation inside the packages, both packages should default
to http://localhost/nginx_status for retrieval of status from Nginx.
That is however untrue for nginx_requests, which expects the

This can of course be overridden in /etc/munin/plugin-conf.d/munin-node,
but it would make a whole lot sense if both plugins behaved the same way
by default.

To resolve this, here's a patch for nginx_requests that changes it to
behave the same way as nginx_status:

< chomp(my $fqdn=`hostname -f 2>/dev/null | hostname`);
< my $URL = exists $ENV{'url'} ? $ENV{'url'} : "http://$fqdn/nginx_status";
> my $URL = exists $ENV{'url'} ? $ENV{'url'} : "http://localhost/nginx_status";

** Affects: munin (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.

  nginx_requests is inconsistent with documentation (and nginx_status)

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list