debian/0000755000000000000000000000000012155311570007166 5ustar debian/docs0000644000000000000000000000001412150610661010032 0ustar NEWS README debian/copyright0000644000000000000000000000263112150610661011121 0ustar This work was packaged for Debian by: Christian Hofstaedtler on Wed, 27 Aug 2008 17:52:21 +0200 It was downloaded from: http://cciss.sourceforge.net/ Upstream Author: Stephen M. Cameron Copyright: Copyright (C) 2006,2007 Hewlett-Packard Development Company, L.P. License: cciss_vol_status is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. cciss_vol_status is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with cciss_vol_status; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright 2008,2009,2010,2011 Christian Hofstaedtler and is licensed under the GPL version 2 or (at your option) any later version, see above. debian/rules0000755000000000000000000000027012155310471010244 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ --with autotools_dev override_dh_auto_configure: autoreconf -i dh_auto_configure override_dh_installdocs: dh_installdocs -XREADME debian/source/0000755000000000000000000000000012150610661010464 5ustar debian/source/format0000644000000000000000000000001412150610661011672 0ustar 3.0 (quilt) debian/cron.daily-example0000644000000000000000000000163512150610661012607 0ustar #!/bin/sh # This is an example cron.daily file, which one could use to do a cheap # daily check of the RAID arrays. You might be better off setting up a # proper monitoring system though. test -x /usr/bin/cciss_vol_status || exit 0 STATUS=0 if [ -d /proc/driver/cciss ]; then DEVS=`grep -h 'cciss/c.*d0:' /proc/driver/cciss/cciss* |awk -F: '{print "/dev/" $1}'` OUTPUT=`/usr/bin/cciss_vol_status $DEVS` if [ $? -ne 0 ]; then printf "%s\n" "$OUTPUT" exit 1 fi fi # FIXME: This cronjob should also look at the scsi generic nodes # (/dev/sg*?) to cover the hpsa driver, fibre-attached MSA1000 family # devices, or the hpahcisr software RAID driver (see cciss_vol_status(8) # about how to choose the correct nodes -- i don't use these other # devices, so I cannot verify how to check them cleanly) # # -- Daniel Kahn Gillmor # Mon, 20 Sep 2010 18:12:31 -0400 exit 0 debian/control0000644000000000000000000000147412155310624010576 0ustar Source: cciss-vol-status Section: admin Priority: extra Maintainer: Christian Hofstaedtler Build-Depends: debhelper (>= 9), autotools-dev, autoconf, automake Build-Conflicts: autoconf2.13, automake1.4 Standards-Version: 3.9.4 Homepage: http://cciss.sourceforge.net/ Vcs-Browser: http://github.com/zeha/cciss-vol-status/ Vcs-Git: git://github.com/zeha/cciss-vol-status.git Package: cciss-vol-status Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends} Description: HP SmartArray RAID Volume Status Checker A RAID monitor for HP SmartArray Controllers, as supported by the "cciss", "hpsa", "hpahcisr" kernel drivers. It will check for problems on your configured logical drives, without relying on the controller's event log. . It also supports MSA500 and MSA1000 controllers. debian/watch0000644000000000000000000000031312150610661010212 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for debscripts >= 2.9 http://sf.net/cciss/cciss_vol_status-(.*)\.tar\.gz debian/changelog0000644000000000000000000000444112155311104011034 0ustar cciss-vol-status (1.11-1) unstable; urgency=low * New Upstream version 1.11 * Replace 'automake1.11' with 'automake' * Bump Standards-Version to 3.9.4 -- Christian Hofstaedtler Mon, 10 Jun 2013 10:39:58 +0200 cciss-vol-status (1.10-1) unstable; urgency=low * Imported Upstream version 1.10 * Remove local patch 'device_ids' * Remove local patch 'allow_short_persnickety_option' -- Christian Hofstaedtler Fri, 24 Aug 2012 13:12:48 +0200 cciss-vol-status (1.09-3) unstable; urgency=low * Add new hardware IDs for HP G8 servers. (Closes: #680310) * Bump Standards-Version to 3.9.3. * Build with debhelper 9, to import dpkg buildflags. -- Christian Hofstaedtler Tue, 24 Jul 2012 23:22:06 +0200 cciss-vol-status (1.09-2) unstable; urgency=low * Switched to minimal rules file, to fix lintian warning debian-rules-missing-recommended-target. * Reformatted debian/copyright. Also fixes lintian pedantic check copyright-refers-to-symlink-license. * Add patch so the short form of the --persnickety is accepted. -- Christian Hofstaedtler Mon, 29 Aug 2011 01:23:05 +0200 cciss-vol-status (1.09-1) unstable; urgency=low * New Upstream release 1.09 * Drop patch fix-strnlen-missing-arg, fixed upstream * Bump Standards-Version to 3.9.2 * Rebuild autotools build system on build, so we don't Depend: on obsolete automake1.10 * Add cron.daily example (Closes: #597573) * Set VCS Fields in debian/control * Update Package description * Remove empty /usr/sbin directory * fix example installation * Do not install useless README * Update Maintainer email address -- Christian Hofstaedtler Thu, 02 Jun 2011 18:09:06 +0200 cciss-vol-status (1.06-1) unstable; urgency=low * New upstream release (Closes: #568415) * Switch to dpkg-source 3.0 (quilt) format * Bump Standards-Version to 3.8.3 * Fix lintian warnings by adding ${misc:Depends} -- Christian Hofstaedtler Thu, 04 Feb 2010 18:39:28 +0000 cciss-vol-status (1.03-1) unstable; urgency=low * Initial release (Closes: #496788) -- Christian Hofstaedtler Wed, 27 Aug 2008 17:52:21 +0200 debian/compat0000644000000000000000000000000212150610661010362 0ustar 9 debian/patches/0000755000000000000000000000000012155310107010610 5ustar debian/patches/fix-manpage0000644000000000000000000000444712150610661012743 0ustar Description: man does not understand LD macro Author: Christian Hofstaedtler Forwarded: no Last-Update: 2010-02-04 Index: cciss-vol-status/cciss_vol_status.8 =================================================================== --- cciss-vol-status.orig/cciss_vol_status.8 2013-05-08 00:02:49.554345450 +0200 +++ cciss-vol-status/cciss_vol_status.8 2013-05-08 00:02:49.550345490 +0200 @@ -112,7 +112,7 @@ /dev/sg node to use with cciss_vol_status: .PP .nf -.LD +.PP wumpus:/home/scameron # ls -l /sys/class/scsi_generic/* lrwxrwxrwx 1 root root 0 2009-11-18 12:31 /sys/class/scsi_generic/sg0 -> ../../devices/pci0000:00/0000:00:02.0/0000:02:00.0/0000:03:03.0/host0/target0:0:0/0:0:0:0/scsi_generic/sg0 lrwxrwxrwx 1 root root 0 2009-11-18 12:31 /sys/class/scsi_generic/sg1 -> ../../devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0/scsi_generic/sg1 @@ -139,7 +139,7 @@ which corresponds to the HP P800 RAID controller listed in /proc/scsi/scsi. .SH EXAMPLE .nf -.LD +.PP [root@somehost]# cciss_vol_status -q /dev/cciss/c*d0 /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 0 status: OK. /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 1 status: OK. @@ -242,7 +242,7 @@ drive status: .PP .nf -.LD +.PP "At least one spare drive designated" "At least one spare drive activated and currently rebuilding" "At least one activated on-line spare drive is completely rebuilt on this logical drive" @@ -258,7 +258,7 @@ physical drives, if more than zero, will be reported as: .TP .nf -.LD +.PP "Total of n failed physical drives detected on this logical drive." .DE .fi @@ -279,7 +279,7 @@ power supplies, and temperature are reported as follows: .PP .nf -.LD +.PP "Fan failed" "Temperature problem" "Door alert" @@ -317,7 +317,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .SH "SEE ALSO" http://cciss.sourceforge.net -.SH note 1 +.SH NOTE 1 The /dev/cciss/c*d0 device nodes of the cciss driver do double duty. They serve as an access point to both the RAID controllers, and to the first logical drive of each RAID controller. Notice that a /dev/cciss/c*d0 @@ -329,4 +329,3 @@ were statically allocated at compile time, and were in short supply. Changing this behavior at this point would break lots of userland programs. -.FE debian/patches/series0000644000000000000000000000001412155310107012020 0ustar fix-manpage debian/cciss-vol-status.examples0000644000000000000000000000003212150610661014142 0ustar debian/cron.daily-example