[Pkg-nagios-devel] Bug#742943: check_raid: wants mpt-statusd / mptctl
Daniel Pocock
daniel at pocock.com.au
Sat Mar 29 08:13:08 UTC 2014
Package: nagios-plugins-contrib
Version: 4.20120702
I'm using check_raid for an md RAID (managed by mdadm)
However, I get errors if mptctl is not loaded:
# /usr/lib/nagios/plugins/check_raid
open /dev/mptctl: No such file or directory
Try: mknod /dev/mptctl c 10 220
Make sure mptctl is loaded into the kernel
OK: md:[md0(raid1):UU]
The errors are on stderr, regular status info is on stdout
Loading mptctl manually makes the errors go away:
# modprobe mptctl
but it would be nice if I didn't have to make any workaround like this.
If I don't have the mpt-statusd package on my system at all, check_raid
gives spurious warnings:
# /usr/lib/nagios/plugins/check_raid
OK: md:[md0(raid1):UU]mpt:mpt-status program not found
Apart from this spurious output, it does actually work correctly for my
md RAID and correctly detected a disk failure this week.
The system in question does have MPT hardware, but the hardware RAID
feature is not in use.
More information about the Pkg-nagios-devel
mailing list