NAME

munin_stats_plugins - Report the time it takes to run all munin plugins

SYNOPSIS

In /etc/munin/plugin-conf.d/munin-node, because we invoke plugins with munin-run, some of which may need root privileges:

    [munin_stats_plugins]
    user root

Put this in cron somewhere:

    # Refresh the statistics
    MUNIN_STATS_PLUGINS_RELOAD=1 munin-run munin_stats_plugins

E.g.:

    40 4  * * * root MUNIN_STATS_PLUGINS_RELOAD=1 munin-run munin_stats_plugins

Then run it:

    # Get the statistics
    munin-run munin_stats_plugins

DESCRIPTION

Runs all the munin plugins in /etc/munin/plugins and reports the time it takes to run each one with system and Time::HiRes. Since running all the plugins again on each munin-update run would lead to epic recursive failure, you have to reload the statistics database yourself by reloading it in cron somewhere.

AUTHOR

Ævar Arnfjörð Bjarmason <avar@cpan.org>

LICENSE

This program is in the public domain.

MAGIC MARKERS

 #%# family=manual