Package: munin-plugins-core
Version: 2.0.49-1
Severity: important


-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.107-1.pvops.qubes.x86_64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages munin-plugins-core depends on:
ii  munin-common  2.0.49-1
ii  perl          5.28.1-6

Versions of packages munin-plugins-core recommends:
ii  libnet-snmp-perl  6.0.1-5

Versions of packages munin-plugins-core suggests:
pn  acpi | lm-sensors                 <none>
pn  conntrack                         <none>
pn  default-mysql-client              <none>
ii  ethtool                           1:4.19-1
ii  hdparm                            9.58+ds-1
pn  libcache-cache-perl               <none>
pn  libdbd-mysql-perl                 <none>
pn  libdbd-pg-perl                    <none>
ii  libhttp-date-perl                 6.02-1
pn  liblwp-useragent-determined-perl  <none>
pn  libnet-dns-perl                   <none>
pn  libnet-ip-perl                    <none>
pn  libnet-irc-perl                   <none>
pn  libnet-ldap-perl                  <none>
pn  libnet-netmask-perl               <none>
pn  libnet-telnet-perl                <none>
ii  libxml-parser-perl                2.44-4
pn  libxml-simple-perl                <none>
pn  logtail                           <none>
ii  net-tools                         1.60+git20180626.aebd88e-1
ii  python3                           3.7.3-1
ii  ruby                              1:2.5.1
pn  smartmontools                     <none>

-- no debconf information

Steps to reproduce. First setup depends:

```
sudo su -
apt-get install varnish munin
echo -e '\n[varnish*]\nuser root\n' > /etc/munin/plugin-conf.d/z-varnish
```

Then running the 'varish_' plugin with the 'uptime' aspect produces nothing.


```
root@mail:/etc/munin# munin-run --debug --pidebug  varnish_uptime
# Processing plugin configuration from /etc/munin/plugin-conf.d/README
# Processing plugin configuration from /etc/munin/plugin-conf.d/dhcpd3
# Processing plugin configuration from /etc/munin/plugin-conf.d/munin-node
# Processing plugin configuration from /etc/munin/plugin-conf.d/spamstats
# Processing plugin configuration from /etc/munin/plugin-conf.d/zzz-myconf
# Setting /rgid/ruid/ to /118/0/
# Setting /egid/euid/ to /118 118/0/
# Setting up environment
# About to run '/etc/munin/plugins/varnish_uptime'
root@mail:/etc/munin#
```

But if I manually edit the 'varnish_' script to set DEBUG=1, then it says:

```
root@mail:/etc/munin# munin-run --debug --pidebug  varnish_uptime
# Processing plugin configuration from /etc/munin/plugin-conf.d/README
# Processing plugin configuration from /etc/munin/plugin-conf.d/dhcpd3
# Processing plugin configuration from /etc/munin/plugin-conf.d/munin-node
# Processing plugin configuration from /etc/munin/plugin-conf.d/spamstats
# Processing plugin configuration from /etc/munin/plugin-conf.d/zzz-myconf
# Setting /rgid/ruid/ to /118/0/
# Setting /egid/euid/ to /118 118/0/
# Setting up environment
# About to run '/etc/munin/plugins/varnish_uptime'
Error: uptime not part of varnishstat.
root@mail:/etc/munin#
```

Reply via email to