HTTP plugin helper #48

merged 2 commits into from Jan 3, 2013
Commits on Jan 3, 2013
  1. @Flameeyes

    plugins: implement Munin::Plugin::HTTP

    Flameeyes committed Jan 3, 2013
    With this module, it's easier to make all the HTTP-based plugins
    behave the same way (at least those written in Perl), in particular
    responding to the same timeout and providing the same user agent on
    requests (or the same user agent schema, at least).
  2. @Flameeyes

    plugins: implement standard variables for HTTP authentication.

    Flameeyes committed Jan 3, 2013
    Instead of having each plugin handling authentication in a different
    way (some with variables, others with URIs), make available standard
    variables, and provide an authentication callback to libwww-perl
    directly in our module.