Package: munin
Version: 1.999.4508-1.3
Severity: normal

Hello,

rather a visual thing, nevertheless confusing.

If a plugin announces a "warning" threshold, mc-g will draw a line at
that level. If however in the master configuration that threshold is
overwritten, the line is still drawn at the level provided by the
plugin. This should be the value as set in the master.


How to repeat:

Use this script as a plugin, named "test":

    #!/bin/sh
    if [ "$1" = "config" ] ; then
        echo 'graph_title test'
        echo 'graph_info Single-field plugin, with threshold, no limits'
        echo 'test1.label test1'
        echo 'test1.warning 1.1'
        echo 'test1.critical 1.2'
        echo 'graph_args --lower-limit 0 --upper-limit 1.3'
        exit 0
    fi
    echo 'test1.value 1'
    exit 0

In the master, add

    test.test1.warning 1.05

in the according section.

Wait a few minutes and open the according service page in the browser.


Expected:

1. A green line at y=1, just at the very end.
2. In the description at the bottom, the value 1.05 under "Warn".
3. A warning level line, full width, at y=1.05


Seen:

1. That's fine.
2. (squeeze only) The value shown is "1.1".
3. (both squeeze and experimental) The line is at y=1.1


Sorry, Santa didn't bring a patch.

    Christoph

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages munin depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  cron                   3.0pl1-116        process scheduling daemon
ii  libcgi-fast-perl       5.10.1-17squeeze2 CGI::Fast Perl module
ii  libdate-manip-perl     6.11-1            module for manipulating dates
pn  libdigest-md5-perl     <none>            (no description available)
ii  libfile-copy-recursive 0.38-1            Perl extension for recursively cop
ii  libhtml-template-perl  2.9-2             module for using HTML Templates wi
ii  libio-socket-inet6-per 2.65-1.1          Object interface for AF_INET6 doma
ii  liblog-log4perl-perl   1.29-1            A Perl port of the widely popular 
ii  librrds-perl           1.4.3-1           time-series data storage and displ
pn  libstorable-perl       <none>            (no description available)
ii  liburi-perl            1.54-2            module to manipulate and access UR
ii  munin-common           1.999.4508-1.3    network-wide graphing framework (c
ii  perl [libtime-hires-pe 5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  perl-modules           5.10.1-17squeeze2 Core Perl modules
ii  rrdtool                1.4.3-1jj1        time-series data storage and displ
ii  ttf-dejavu             2.31-1            Metapackage to pull in ttf-dejavu-

Versions of packages munin recommends:
pn  munin-node                    <none>     (no description available)

Versions of packages munin suggests:
pn  libnet-ssleay-perl     <none>            (no description available)
ii  lighttpd [httpd]       1.4.28-2+squeeze1 A fast webserver with minimal memo
pn  www-browser            <none>            (no description available)

-- Configuration Files:
/etc/logrotate.d/munin changed [not included]
/etc/munin/munin.conf changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to