Skip to content

Home

jgrevich edited this page Jan 10, 2011 · 20 revisions
Clone this wiki locally

hResponse - Munin plugin to display http response times from local or remote servers

This is a fork from the 'http_response_times' v2 plugin here: http://exchange.munin-monitoring.org/plugins/http-response-times/details . I have modified it to return HTTP response times for a list of URLs (not limited to those within your domain).

System Requirements

Any linux/unix setup with hostname/wget installed.

Installation

sudo -s # or use sudo in front of each command
wget https://github.com/jgrevich/Munin-hResponse/raw/master/h_response --no-check-certificate -O /usr/share/munin/plugins/h_response
chmod 755 /usr/share/munin/plugins/h_response  # you can also use: !$
stop munin-node # upstart capable ubuntu
start munin-node # upstart capable ubuntu

Configuration

[h_response]
    env.ur1 = http://google.com
    env.url2 = http://github.com
    env.url2 = http://github.com

Debug

Below are some suggestions in case you run into trouble.

Logs

Check for errors in:

  1. /var/log/munin/munin-node-configuration.log
  2. /var/log/munin/munin-node.log
  3. /var/log/munin/munin-update.log

Utilities

Inspect the output of the following commands:

munin-run -debug h_response config
munin-run -debug h_response

Force a full run (and time it):

time su - munin --shell=/bin/bash /usr/bin/munin-cron

Check what munin related processes are running:

pgrep -l munin
Something went wrong with that request. Please try again.