Skip to main content

Sensors for munin

Project description

Requirements

  • Python >= 2.7

  • psutil for Python

  • Monit

  • Munin-node

  • Nginx

Configure

Go in ./etc and create custom.py file. All variable in custom.py will override env.py value. Modify the path in according of your host setup.

To use runner_aggr, you have to configure nginx log in this way: - add the following new log define

log_format combined2 ‘$remote_addr - $remote_user [$time_local] ‘

‘”$request” $status $body_bytes_sent ‘ ‘”$http_referer” “$http_user_agent” [[$request_time]]’;

  • change every access_log directive in virtualhost, adding combined2 at the end

    access_log /some/where/<somename>.log combined2;

Install

The fast way to install, is using generate.py. The help can show you the options

# generate -h

USAGE:

generate [opts]

Options:

-h, –help: show this help -f: force creation of all symlinks without asking -n: force creation of new symlinks without asking

If you call generate.py without arguments, you will have to answers to a question for every symlink.

Restart munin-node, munin-async (if you use that) and enjoy.

More details at

http://cippino.wordpress.com/tag/munin/ https://github.com/cippino/munin_plugins https://pypi.python.org/pypi/munin_plugins

Known Problems

1 - Keep attection if you use SELinux or other kind of Security access framework, because you have to configure all rights correctly. Usually, my choice is to put down, because the call of monit get error about access denied.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

munin_plugins-4.1.tar.gz (15.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page