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-05 11:31:37 +01:00
..
common.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
common.h support warning and critical environment variables 2013-01-30 12:14:28 +01:00
cpu.c teach cpu.c to print steal and guest 2013-01-28 16:56:22 +01:00
entropy.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
forks.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
fw_packets.c made more paths be macros 2013-01-28 13:29:19 +01:00
if_err_.c adapt if_err_.c suggest to the mainline plugin 2013-02-04 21:50:26 +01:00
interrupts.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
load.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
main.c make main.c grepable easier grepable 2013-02-05 11:31:37 +01:00
Makefile added if_err_ plugin 2013-01-28 13:29:19 +01:00
open_files.c made more paths be macros 2013-01-28 13:29:19 +01:00
open_inodes.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
processes.c initial tree 2013-01-28 13:29:19 +01:00
README relicense as GPLv2 2013-01-28 13:29:19 +01:00
swap.c support warning and critical environment variables 2013-01-30 12:14:28 +01:00
uptime.c support warning and critical environment variables 2013-01-30 12:14:28 +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