[Pkg-nagios-devel] Bug#579049: nagios-plugins: check_linux_raid reports unknown state and warnings
Gabriele Tozzi
gabriele at tozzi.eu
Sat Apr 24 19:24:51 UTC 2010
Package: nagios-plugins
Version: 1.4.14-4
Severity: normal
check_linux_raid gives the following error when ran from nagios:
**ePN /usr/lib/nagios/plugins/check_linux_raid: "Use of
uninitialized value within %status in pattern match (m//) at
(eval 1) line line 83, <MDSTAT> line 26.".
There's a simple patch suggested on #nagios by RoyK <roy at karlsbakk.net>
and trondham_:
on line 2, insert:
# nagios: -epn
on line 82, insert:
next unless (defined($status{$k}));
here is the resulting script:
http://pastebin.com/HTiNuzYE
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.33.2transylvania (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nagios-plugins depends on:
ii nagios-plugins-basic 1.4.14-4 Plugins for the nagios network mon
ii nagios-plugins-standard 1.4.14-4 Plugins for the nagios network mon
nagios-plugins recommends no packages.
Versions of packages nagios-plugins suggests:
ii nagios3 3.2.0-5 A host/service/network monitoring
-- no debconf information
More information about the Pkg-nagios-devel
mailing list