Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to http_response #1239

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

klaus-tux
Copy link
Contributor

This pull request introduces various improvement to the http_response plugin:

  • ignore include during shellcheck
  • check if needed programs are installed
  • use long argument names for graph_args
  • remove un-needed empty definitions
  • improve variable names
  • validate parameter max_time
  • update copyright statement
  • write all configurable arguments into one array
  • use same check for short_label and follow_redirect
  • reformat documentation

In contrast to using http_responsecode and http_loadtime with the same
configuration, this plugin performs only one request per site and munin
run to gather its statistics.
- ignore include during shellcheck
- check if needed programs are installed
- use long argument names for graph_args
- remove un-needed empty definitions
- improve variable names
- validate parameter max_time
- update copyright statement
- write all configurable arguments into one array
- use same check for short_label and follow_redirect
- reformat documentation
@klaus-tux klaus-tux marked this pull request as ready for review September 17, 2021 15:26
@sumpfralle
Copy link
Collaborator

Your changes look good to me, thank you!

One of your commits is a merge commit. Could you please get rid of it? Merge commits make it harder to understand the history.
(in case of doubt: just cherry-pick the real commits into a new branch)

Thank you!

@sumpfralle
Copy link
Collaborator

Ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants