2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/tools/munin-plugins-busybox
2013-02-10 10:02:26 +01:00
..
.gitignore mnc: conditional make of munin-plugins-busybox 2013-02-09 14:11:56 +01:00
common.c autoconf should exit with 0 when writing no 2013-02-05 12:50:13 +01:00
common.h refactor code 2013-02-05 12:38:12 +01:00
cpu.c refactor code 2013-02-05 12:38:12 +01:00
entropy.c refactor code 2013-02-05 12:38:12 +01:00
forks.c refactor code 2013-02-05 12:38:12 +01:00
fw_packets.c refactor code 2013-02-05 12:38:12 +01:00
if_err_.c fix resource leak in if_err_.c 2013-02-05 12:40:56 +01:00
interrupts.c refactor code 2013-02-05 12:38:12 +01:00
load.c refactor code 2013-02-05 12:38:12 +01:00
main.c mpb: convert threads arg parsing to plain one 2013-02-10 10:02:26 +01:00
Makefile mpb: add threads.c plugin 2013-02-05 13:12:43 +01:00
open_files.c refactor code 2013-02-05 12:38:12 +01:00
open_inodes.c refactor code 2013-02-05 12:38:12 +01:00
processes.c mpb: stop advertising processes.c 2013-02-08 11:20:49 +01:00
README relicense as GPLv2 2013-01-28 13:29:19 +01:00
swap.c refactor code 2013-02-05 12:38:12 +01:00
threads.c mpb: add threads.c plugin 2013-02-05 13:12:43 +01:00
uptime.c refactor code 2013-02-05 12:38:12 +01:00

What is this?
~~~~~~~~~~~~~
This is a rewrite of commonly used munin plugins in C as a single binary.
The purpose is reducing resource usage:
 * disk space: the binary is smaler than the plugins together
 * more diskspace: it has no dependencies on other programs
 * less forks: it does not fork internally
 * faster startup: it doesn't start perl or shell
 * less memory: just a small C program
 * less file accesses: one binary for many plugins
This can be useful for machines with restricted resources like embedded
machines.

What plugins are included?
~~~~~~~~~~~~~~~~~~~~~~~~~~
cpu entropy forks fw_packets interrupts load open_files open_inodes
processes swap uptime

Disadvantages?
~~~~~~~~~~~~~~
You lose flexibility. You can no longer just edit the plugin and if you try
you have to be very careful not to break it. If you want to deploy this you
have to create one binary for each architecture.

How to use?
~~~~~~~~~~~
After compiling there will be binary munin-plugins-busybox. You can just
replace symlinks in /etc/munin/plugins/ with symlinks to this binary.

License?
~~~~~~~~
(C) 2008 Helmut Grohne <helmut@subdivi.de>
At your choice GPLv2 or GPLv3 applies to *.c *.h and Makefile

# vim7:spelllang=en
# vim:textwidth=75