-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Daniel,
thanks for taking time to report your issue. Am 29.03.2014 09:13, schrieb Daniel Pocock: > 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 right from the documentation: Usage: check_raid [-h] [-V] [-S] [-O] [list of devices to ignore] As check_raid can't know, which raid configuration is really used, you need to blacklist all those devices you don't want to monitor. Anyways ... as development of check_raid is still very rapid, it may be a good idea to try the wheezy-backports version anyways, as it ships many enhancements. Cheers, Jan. - -- Never write mail to <w...@spamfalle.info>, you have been warned! - -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ - ------END GEEK CODE BLOCK------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIVAwUBUzf1HQxwVXtaBlE+AQjU+BAAiEIC/tiKxFLdogf7j9y9mrWPa9gVVyY3 X6IriG+qLwGFSZ2xdSH02qeoGHimYIDWmAQaTNuvHi6qnEy4qr951qCAcJ2EmUqA gEAE3AcxhpeDg4Dm5Sm4eCg0QGFxeBUfGzE4KeWPQpAnnaYfTqo+3hGtI1ixmhtS 6a73v5ENyHXF48nGLu/AGhRjKrnQcaF5dwAJDg1+frhzvICvugsQlyDHXpKuC/QG 3Q2D2qILhIXfahaJp4KUppJo13IFf4PiILNOcajHUGeQmBsohzN/MmZ6QpKYB9nV YS8HoHthlrKFkeVtGUK/d3MR3VQAc7NVLyfq0IQt/K9bIsKaUk4mOyvCAO61KTZr E67hwvaHWez8wAdYBXl5oxfhadJ5zcehrWZ4oOKl1vqll1Onmb7CF1lqWYr6jPvX CLtDUXyzVgqbgboSj248wqZXswENdbMFfIYZcrLvE09wsYXR/uuZWIjbRu4godTe NRydo3zBVSEHAROW65gVTybTlrb6+ONTueswHeisFiWUGfPsABH5pcwGu9zHaEB8 WNcQK9AXIHhn5ypUjW2kzkMUKx9AWF5UmX4tAWAr1DvKVAS28Am2A0U1Cq6ljPYX mWXYG3svMS/Al0LEhInbxd+qayM55mwaNUVJng2u1eSYGMpz53YSnaKadqIn2Wty OqEVJT/d7M0= =mlal -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org