Permalink
Commits on Feb 25, 2013
  1. Merge remote-tracking branch 'origin/stable-2.0' into devel

    Conflicts:
    	.gitignore
    	master/_bin/munin-limits.in
    	plugins/node.d.linux/df.in
    	plugins/node.d/asterisk_channels.in
    	plugins/node.d/asterisk_channelstypes.in
    	plugins/node.d/asterisk_codecs.in
    	plugins/node.d/asterisk_meetme.in
    	plugins/node.d/asterisk_meetmeusers.in
    	plugins/node.d/asterisk_sipchannels.in
    	plugins/node.d/asterisk_sippeers.in
    	plugins/node.d/asterisk_voicemail.in
    	plugins/node.d/snmp__df.in
    Flameeyes committed Feb 25, 2013
  2. dir-locals: customize Emacs settings for Perl syntax.

    This follows most of Steve's requests and should make it easier to
    have a decent code style over the place.
    Flameeyes committed Feb 1, 2013
  3. perlcritic: do not require rcs keywords.

    The $Id$ keyword is meaningless with git, so there is no reason to
    require it.
    Flameeyes committed Feb 1, 2013
Commits on Feb 1, 2013
  1. pod: declare all POD-processed files as utf8 encoded.

    This allows proper handling of UTF-8 strings when the system is not
    set up to use UTF-8 by default, and makes sure that names won't get
    mangled.
    Flameeyes committed Feb 1, 2013
  2. master: provide a default to graph_strategy.

    This allows $config->{graph_strategy} to be usable instead of
    requiring munin_get.
    Flameeyes committed Jan 31, 2013
  3. master: simplify logic for mapping images to their path.

    This is equivalent but we split the logic of deciding where the path
    is going to be from setting it, using a single map() call.
    Flameeyes committed Jan 31, 2013
  4. master: always initialize the default cgiurl_graph value.

    The cgiurl_graph parameter in $config is not set by defaule the same
    way as the other values in Config.pm, as it may be calculated from
    $config->{cgiurl}, if present.
    
    Instead of initializing only when the revision does not match, do so
    every time after loading the datafile section, as to avoid the
    following warning:
    
        Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/vendor_perl/Munin/Master/HTMLConfig.pm line 486.
    Flameeyes committed Jan 31, 2013
  5. Update .gitignore.

    Flameeyes committed Nov 13, 2012
Commits on Jan 31, 2013
  1. procfs: merge load and uptime plugins.

    The new plugin with the new Framework code makes it cleaner to just
    have one place where most of the /proc files are read.
    Flameeyes committed Jan 14, 2013
  2. procsys: implement a new plugin to replace entropy, open_files and op…

    …en_inodes.
    
    This new plugin uses the new Framework to create graphs for all the
    sysctl-related data as a signle round-trip.
    
    There is only one change compared to the previous plugins: open_inodes
    produces a more meaningful graph of allocated and free inodes, rather
    than the previous one that used a fake max value (as it was actually
    the kernel's allocation).
    
    Both open_files and open_inodes graphs now use areastacks instead of lines.
    Flameeyes committed Jan 14, 2013
  3. plugins: start implementing a new framework for plugins writing.

    Munin::Plugin::Framework allows a much easier way to write new plugins
    by abstracting the underlying protocol between node and master.
    
    The idea is to have the plugins only declare what they want to have
    displayed, eventually merging the code for configuration and
    value-setting, and leaving it to the framework to generate the
    configuration and fetch output.
    Flameeyes committed Jan 31, 2013
  4. procfs: create an aggregated plugin for all data coming from /proc/stat

    The list of plugins currently merged in is:
    
     - cpu;
     - forks;
     - interrupts;
     - swap.
    
    The new plugin, written in Perl, leverages multigraph so that
    /proc/stat is only accessed once, and instead of having multiple awk
    calls among different plugins getting the same data.
    
    Additional changes to the graph compared to the previous plugins:
    
     * the cpu graph now output the guest_nice data (which was added to
       the kernel back in 2009);
     * the swaps graph is only generated if /proc/swaps is present as
       not everybody has swaps enabled at all.
    Flameeyes committed Jan 7, 2013
  5. df: improve plugin and merge with df_inode.

    The new plugin is simplified and refactored, but also includes support
    for graphing inode usage, if linked as df_inode rather than just df.
    
    Additionally, it supports dirtyconfig so that only one execution of
    `df` is needed per update.
    Flameeyes committed Jan 7, 2013
  6. load: rewrite plugin in Perl.

    The old load plugin looked more like an example plugin that a real
    one, but since it's one of the most commonly used ones, it's a good
    idea to have this _not_ fork.
    
    The rewritten plugin outputs all three load values, as sometimes the
    trend with them helps identifying problems. It also supports proper
    autoconfiguration (when /proc is not accessible), and dirtyconfig.
    
    The 5-minutes load average is preserved as 'load', but 'load1' and
    'load15' are added.
    Flameeyes committed Jan 7, 2013
  7. uptime: rewrite plugin in Perl

    The new version no longer has to fork and use awk to process
    /proc/uptime, but handles everything within Perl. Furthermore it
    supports dirtyconfig.
    Flameeyes committed Jan 6, 2013
  8. hwmon: introduce a new, multigraph and /sys-based plugin for hardware…

    … sensors.
    
    This plugin replaces both the acpi thermal zone plugin and the
    lm_sensors based one. It will graph the same data, even though with
    different labels (but that involves mostly legacy systems).
    Flameeyes committed Jan 5, 2013
  9. entropy: rewrite plugin in Perl.

    This allows us to not have to execute multiple commands to be able to
    get the entropy (which could, by themselves, deplete it!).
    
    Additionally, this version fixes the vlabel, and sets the upper limit,
    as well as the maximum reading values, to the poolsize.
    
    Since the poolsize is constant for a given kernel, this allows to have
    a better, proportioned view of how the entropy varies in the system.
    Flameeyes committed Jan 5, 2013
  10. plugins: introduce a readfile() function to Munin::Plugin

    Especially on Linux where most of the information for the system
    status data is read out of /sys or /proc, it's easiest to have a
    convenience function that reads a whole file in a scalar variable.
    Flameeyes committed Jan 6, 2013
  11. squid: introduce new Squid plugin to replace the old ones.

    Again this plugin uses multigraph and supports virtualnode, and
    collapses the five previous squid plugins, reducing the number of
    requests coming in for the proxy itself.
    
    Neither output nor configuration ports directly to the new plugin,
    unfortunately, but it does allow for saner output and store (in
    particular killing cdefs).
    Flameeyes committed Jan 5, 2013
  12. apache: replace old Apache plugin with new, multigraph-capable one.

    The new apache_status plugin provides the previous three graphs as
    multigraphs, with a single request to Apache.
    
    It also works as a virtual-node plugin, by querying a remote server.
    Flameeyes committed Jan 3, 2013
  13. asterisk: introduce a new, multigraph-capable plugin for asterisk.

    The new plugin replaces all seven of the old plugins, with a single,
    common and collapsed configuration, by drawing multiple graphs with a
    single set of transactions to the server.
    
    It also supports autoconf (which was not supported by the old asterisk
    plugins), and wildcard/virtual node mode, when monitoring a remote
    server.
    Flameeyes committed Jan 3, 2013
Commits on Jan 10, 2013
  1. hddtemp*: avoid using the degrees symbol in vlabel.

    The encodings between the different files don't match, and besides, it
    seems like even on a fully configured UTF-8 system, an UTF-8 degrees
    symbol can throw rrd off.
    
    Every other temperature graph out there uses a variant of 'degrees
    Celsius', and that's what the new freeipmi and hwmon plugins use as
    well, so that looks like the standard.
    Flameeyes committed with steveschnepp Jan 5, 2013
Commits on Jan 9, 2013
  1. snmp__df: restore old fieldname before rewrite.

    In 19f0399, get_name_by_mp() was edited to
    have saner field names. Yet, changing the field names of an existing plugin is
    bad as you loose history connectivity.
    
    This commit reverts to the non-sane, but history compatible, field names.
    Flameeyes committed with steveschnepp Nov 5, 2012
  2. snmp__df.in: convert to use Munin::Plugin::SNMP.

    This basically removes lots of boilerplate code that is already
    available in that module, and simplifies the plugin a lot. It does not
    change the output beside for dropping the final _ in the services'
    names.
    Flameeyes committed with steveschnepp Oct 5, 2012
Commits on Jan 5, 2013
  1. hddtemp*: avoid using the degrees symbol in vlabel.

    The encodings between the different files don't match, and besides, it
    seems like even on a fully configured UTF-8 system, an UTF-8 degrees
    symbol can throw rrd off.
    
    Every other temperature graph out there uses a variant of 'degrees
    Celsius', and that's what the new freeipmi and hwmon plugins use as
    well, so that looks like the standard.
    Flameeyes committed Jan 5, 2013
  2. master: make it possible to configure the default cgi-tmp directory.

    This allows distributions to use, for instance, /var/cache/munin-cgi,
    so that /var/lib preserves its designed purpose.
    Flameeyes committed Nov 4, 2012
  3. plugins: use the get method on the Munin::Plugin::HTTP instance inste…

    …ad of request.
    
    This allows to get rid of most references to HTTP::Request (with the
    exception of hp2000_), as no extra headers are usually passed.
    
    The Apache plugins are left untouched because a replacement for them
    is already standing by.
    Flameeyes committed Jan 5, 2013
Commits on Jan 4, 2013
  1. test: use the syntax that Steve used for ARRAYREFs.

    Instead of declaring a temporary variable to store and get the ref of,
    just use [] to get an ARRAYREF.
    Flameeyes committed Jan 4, 2013
  2. build: no longer ignore the result of tests.

    All the tests have been fixed to pass, so there is no good reason to
    ignore the results.
    Flameeyes committed Nov 11, 2012
  3. node: use Net::Domain::hostfqdn instead of Sys::Hostname::hostname to…

    … get the hostname.
    
    This actually makes the test work correctly, but might change the
    returned values for some hosts.
    Flameeyes committed Nov 11, 2012
  4. master: restore _extract_name_from_greeting and fix its tests.

    The function was removed to simplify in
    575a352 but it was used by the tests.
    This restores the function and updates the tests for the slightly
    changed semantics.
    Flameeyes committed Nov 11, 2012