Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
check_openmanage
> check_openmanage.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_openmanage.spec of Package check_openmanage (Revision 13)
Currently displaying revision
13
,
show latest
Summary: A Nagios plugin to check hardware health on Dell servers Name: check_openmanage Version: 3.5.6 Release: 1%{?dist} License: GPL Packager: Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://folk.uio.no/trondham/software/check_openmanage.html Source0: http://folk.uio.no/trondham/software/%{name}-%{version}.tar.gz Requires: perl %description check_openmanage is a plugin for Nagios which checks the hardware health of Dell PowerEgde and PowerVault servers. It uses the Dell OpenManage Server Administrator (OMSA) software to accomplish this task. check_openmanage can be used with SNMP or NRPE, whichever suits your needs and particular taste. The plugin checks the health of the storage subsystem, power supplies, memory modules, temperature probes etc., and gives an alert if any of the components are faulty or operate outside normal parameters. %prep %setup -q %build gzip %{name}.8 mkdir -p %{buildroot}/%{_libdir}/nagios/plugins/contrib mkdir -p %{buildroot}/%{_mandir}/man8 %install install -d -m 0755 %{buildroot}/%{_libdir}/nagios/plugins/contrib install -m 0755 %{name} %{buildroot}/%{_libdir}/nagios/plugins/contrib install -m 0755 %{name}.8.gz %{buildroot}/%{_mandir}/man8 pushd %{buildroot}/%{_libdir}/nagios/plugins/contrib ln -s %{name} %{name}_alertlog ln -s %{name} %{name}_batteries ln -s %{name} %{name}_cpu ln -s %{name} %{name}_esmlog ln -s %{name} %{name}_fans ln -s %{name} %{name}_intrusion ln -s %{name} %{name}_memory ln -s %{name} %{name}_power ln -s %{name} %{name}_pwrmonitor ln -s %{name} %{name}_storage ln -s %{name} %{name}_temperature ln -s %{name} %{name}_esmhealth popd %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %{_libdir}/nagios/plugins/contrib/%{name}* %dir %{_libdir}/nagios %dir %{_libdir}/nagios/plugins %dir %{_libdir}/nagios/plugins/contrib %attr(0755, root, root) %{_mandir}/man8/%{name}.8* %changelog * Tue Feb 23 2010 Carsten Schoene <cs@linux-administrator.com> - 3.5.6-1 - update to version 3.5.6 - New option --use-get_table is added as a workaround for SNMPv3 on Windows using net-snmp. This option will make check_openmanage use the Net::SNMP function get_table() instead of get_entries() to collect information via SNMP. - Include a blacklisting option ctrl_pdisk which takes the controller number as argument. This blacklisting option only works with omreport and is a workaround for broken disk firmwares that contain illegal XML characters. These characters makes openmanage barf and exit with an error. Thanks to Bas Couwenberg for a patch. - If the blacklisting keyword "all" is supplied for a component type, that component type is not checked at all, i.e. the commands are never executed. This will make check_openmanage execute faster if blacklisting is heavily used. - Option --htmlinfo now has a shorter equivalent -I - The option --short-state now has a shorter equivalent -S * Sat Jan 23 2010 Carsten Schoene <cs@linux-administrator.com> - 3.5.5-1 - update to version 3.5.5 - Fixed an SNMP bug where the plugin didn't handle OID indexes that were not sequential. Thanks to Gianluca Varenni for reporting. - Fixed an SNMP bug when checking old hardware such as the PE 2650 and PE 750. The controller id for physical drives were collected and displayed incorrectly. This release uses an additional OID to fetch this info, which would otherwise be unavailable. Thanks to Gianluca Varenni for reporting this bug. - Should use %snmp_probestatus, not %snmp_status when checking the status of voltage probes. Thanks to Ken McKinlay for a patch. - Fix when identifying blades via SNMP with very old OMSA versions. Patch from Ken McKinlay. - Better way of finding the ID of physical drives via SNMP * Wed Jan 13 2010 Carsten Schoene <cs@linux-administrator.com> - 3.5.4-1 - update to version 3.5.4 - Added support for storport driver version for controllers, only applicable on servers running Windows. A new blacklisting keyword for suppressing storport driver messages was added. - The "all" keyword in blacklisting is now case insensitive. - More fine-grained reporting in the rare case where a controller battery fails during learning and charging states. - New improved way of reporting perl warnings during execution of the plugin. * Fri Dec 18 2009 Carsten Schoene <cs@linux-administrator.com> - 3.5.3-1 - update to version 3.5.3 - Fix for path to omreport on Linux with OMSA 6.2.0 - A couple of other small fixes * Wed Nov 18 2009 Carsten Schoene <cs@linux-administrator.com> - 3.5.2-1 - update to version 3.5.2 - Fix for undefined device name for logical drives (thanks to Pontus Fuchs for a patch) - Fixed a bug in the PNP4Nagios template, that prevented the template from working with PNP4Nagios 0.6. Thanks to the PNP4Nagios team for the fix. - Other small fixes * Thu Oct 22 2009 Carsten Schoene <cs@linux-administrator.com> - 3.5.1-1 - update to version 3.5.1 - Minor feature enhancements - CPU type, family etc. are now reported in case of a CPU failure (and in the debug output) - The debug output now reports Openmanage version and plugin version * Wed Oct 14 2009 Carsten Schoene <cs@linux-administrator.com> - 3.5.0-1 - update to version 3.5.0 - Major feature enhancements - New option -a or --all turns on checking of everything - The manual page (POD info) is removed from the script and is now in a separate file, to make check_openmanage fully ePN compatible - ePN is no longer disabled by default, check_openmanage no longer has an opinion on whether it should run under ePN or not - The -m or --man option is no longer available - The option -v or --verbose is renamed to -d or --debug, which makes more sense wrt. its usage - The -g or --global option is removed. Checking the global health status is now default if applicable - Checking intrusion detection is now turned on by default - The obsolete option --snmp is removed - The option --state now has a shorter equivalent -s - The basename stuff and options --only-critical and --only-warning are now replaced by an option --only - If plugin is run by Nagios, redirect stderr to stdout, useful for detecting errors within the plugin - Added option --omreport, that lets the user specify the full path to the omreport binary - Added non-8bit-legacy default search paths for omreport.exe for Windows boxen - Minor changes to the plugin output, for consistency - New blacklisting keyword bat_charge disables warning messages related to controller cache battery charging. Thanks to Robert Heinzmann for a patch. - For blacklisting, the component ID kan now be "ALL", in which all components of that type is blacklisted. - Man page is moved to section 8 * Sat Aug 08 2009 Carsten Schoene <cs@linux-administrator.com> - 3.4.9-1 - update to version 3.4.9 - Fixed a bug that could cause errors and weird results when checking cooling devices (fans) via SNMP. - changes in 3.4.8 - For failed physical drives, check_openmanage will now output the drive's vendor, model and size in GB or TB. * Fri Jul 24 2009 Carsten Schoene <cs@linux-administrator.com> - 3.4.7-1 - update to version 3.4.7 * Tue Apr 28 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.3.1-1 - Version 3.3.1 * Tue Apr 7 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.3.0-1 - Version 3.3.0 * Sun Mar 29 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.7-1 - Version 3.2.7 * Thu Mar 5 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.6-1 - Version 3.2.6 * Tue Feb 24 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.5-1 - Version 3.2.5 - take 64bit (other libdir) into consideration * Tue Feb 17 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.4-1 - Version 3.2.4 * Mon Feb 9 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.3-1 - Version 3.2.3 * Tue Feb 3 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.2-1 - Version 3.2.2 * Tue Feb 3 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.1-1 - Version 3.2.1 * Tue Jan 27 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.0-1 - Version 3.2.0 * Sat Dec 20 2008 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.0.2-1 - Version 3.0.2 * Thu Dec 4 2008 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.0.0-1 - Version 3.0.0 * Wed Nov 19 2008 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 2.1.0-0 - first RPM release