Univention Bugzilla – Bug 37672
check_linux_raid removed - use check_raid
Last modified: 2022-06-27 17:48:20 CEST
Reported via 2015013121000177: check_linux_raid was removed in nagios-plugins. As UNIVENTION_RAID still uses it, we should adjust the service - perhaps to check_raid from nagios-plugins-contrib.
Requested again 2015080521000329
This was already implemented in package univention-nagios-raid on 02 Sep 2014 in version 4.0.0-2 as part of Bug #35265 "Migrate nagios services to UCS 4". I just tried it by * creating a RAID1 * installing univention-nagios-raid * adding UNIVENTION_RAID to the list of tests * scheduling an immediate test (runs /usr/lib/nagios/plugins/check_raid) * when green → setting one drive as faulty (mdadm /dev/md0 --fail /dev/vdb1) * scheduling an immediate test → red (critical) If you wish to check it out without the hassle of a raid installation, use VM "dtroeder_18-ucs4" with snapshot "+stuff +RAID1 with 2 disks" (please inform me, if VM is running ;) *** This bug has been marked as a duplicate of bug 35265 ***
OK, works for me too UCS 4.0-3 with univention-nagios-raid -> more /etc/nagios-plugins/config/univention-raid.cfg # Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: # Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry überschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/nagios-plugins/config/univention-raid.cfg # define command { command_name check_raid command_line /usr/lib/nagios/plugins/check_raid } -> file /usr/lib/nagios/plugins/check_raid /usr/lib/nagios/plugins/check_raid: Perl script, UTF-8 Unicode text executable