4 * Major overhaul of the perfdata code. This includes API breakage and
6 - Probes were not sorted correctly
7 - Voltage data was not included
8 * The PNP template check_openmanage.php has been redone to work with
9 the changes in perfdata output from the plugin
10 * A new option '--legacy-perfdata' will make the the plugin output the
11 performance data in the old format
12 * The old PNP template for performance data is available in the
13 distribution as 'check_openmanage_legacy.php'
14 * Added support for a configuration file
19 * Added workaround for a rare condition in which blade detection fails
20 because the chassis IDs for the blade and interconnect board have
21 switched places in the BaseBoardType SNMP table.
26 * A regression wrt. non-certified drives were fixed. The plugin failed
27 to identify non-certified physical drives via SNMP.
28 * Added the ability to blacklist non-certified drives with the
29 'pdisk_cert' blacklisting keyword.
34 * Fixed typo in help output
35 * SD card check is now included if the parameter '--only chassis' is
37 * The plugin will issue a proper warning if a physical drive is
38 uncertified, instead of an unspecified warning. One or more
39 uncertified drives will make the controller go into a non-critical
41 * Slightly improved reporting of fan status
42 * Exit with value 3 (unknown) if printing debug, help or version
43 info. This is considered best practice for Nagios plugins.
44 * Workaround added for logical SAS connectors to external storage
45 enclosures, when using check_openmanage in local mode with OMSA
46 6.4.0 or later versions. The output from omreport could contain
47 lines that the plugin was unable to parse, which would lead to
53 * Fix counting of components when blacklisting is used. Components
54 should be counted even if blacklisted
55 * Added some unsupported vdisk types to the list. The OMSA MIB
56 identifies these, but lists them as unsupported.
57 * Added option '-B' or '--show-blacklist' to show any blacklistings in
59 * Fixed a bug for checking voltage probes, if the reading is missing
61 * Fixed a regression bug for a power monitoring corner case.
66 * Added more robustness wrt. values from OMSA obtained via SNMP, to
67 avoid internal errors where non-important values are missing.
72 * A few compatibility fixes for OMSA 6.4.0 were added.
77 * Added support for IPv6 when checking via SNMP. IPv6 can be turned on
78 with the option '-6' or '--ipv6'. The default is IPv4 if the option
80 * Added support for TCP when checking vis SNMP. The option '--tcp' can
81 be used to turn on TCP. The default transport protocol is UDP if the
82 option is not present.
83 * The mode of operation (local or SNMP) is shown in the debug
84 output. If SNMP is used, the debug output will also show the SNMP
85 protocol version, IP version and transport protocol (UDP or TCP).
86 * Amperage probe status via SNMP is of type "probe status", not
87 regular status. This has been fixed.
88 * Massive overall robustness improvements to handle OMSA bugs where
89 some information from OMSA is missing.
90 * Memory module enumeration via SNMP changed somewhat to reflect
91 enumeration provided by omreport. This ensures that the plugin's
92 output is identical in SNMP or local mode wrt. dimms IDs.
93 * Fan enumeration via SNMP changed somewhat to reflect enumeration
94 provided by omreport. This ensures that the plugin's output is
95 identical in SNMP or local mode wrt. fan IDs.
100 * Included new check for SD cards. Newer servers such as the R710 can
101 have SD cards installed, these should be monitored. The SD card
102 check is on by default. A new blacklisting keyword 'sd' has been
103 added. The SD card check can be turned off with '--check sdcard=0'.
104 * Handle special cases where power monitoring capability is disabled
105 due to non-redundant and/or non-instrumented power supplies.
106 * For physical disks probed via SNMP, check that values for vendor,
107 product ID and capacity is available before attempting to display
109 * If a physical disk is in sufficiently bad condition, the vendor
110 field reported by OMSA may be empty. The plugin now handles this
111 situation without throwing an internal error.
117 * Storage is no longer allowed to be absent. If the plugin doesn't
118 find a storage controller, it will give an alert. For diskless
119 systems or servers without a Dell controller that OMSA recognizes
120 you will now have to specify '--no-storage' or '--check storage=0'
122 * Report the system revision (if applicable) wherever the model name
123 is printed. E.g. "PowerEdge 2950 III" instead of "PowerEdge 2950".
124 * Small change in search path for omreport: The new location for OMSA
125 6.2.0 and later on Linux will be attempted first.
126 * Small bugfix for the '--check' parameter, if the argument is a
127 filename. The file could not contain a linebreak, this has been
129 * Added an option '--no-storage', which is equivalent to the general
130 option '--check storage=0'.
136 * If a physical disk is a hot spare, display this information in
138 * Report the bus protocol (e.g. SAS, SATA) and media type (e.g. HDD,
139 SDD) for physical disks in the debug output, if applicable
140 * Minor fix for 100GB physical disks, write "100GB" instead of "99GB"
141 * SNMP: Use new features of OMSA 6.3.0 to display occupied and total
142 slots in storage enclosures, if applicable. This information is not
143 available with omreport and check_openmanage will not display this
145 * SNMP: Added new processor IDs from the OMSA 6.3.0 MIBs
146 * SNMP: Use connection tables in a proper way to determine controller
147 and enclosure IDs, for use with physical disks and enclosure
148 components (fan, temp sensors etc.). This fixes a long standing bug
149 for servers with more than one controller, if checked via SNMP.
150 * SNMP: Use the nexus ID as last resort to find the controller for
151 physical disks. Workaround for older, broken OMSA versions.
152 * SNMP: Identify enclosures (e.g. '2:0:0') properly so that the
153 reporting with SNMP corresponds to the same report with omreport.
154 * SNMP: added a couple of workarounds for pre-historic OMSA versions
160 * More fine-grained reporting of temperature warnings for enclosure
162 * Max/min temperature limits for enclosure temp probes are reported in
164 * Report enclosure temperature probes that are "Inactive" as ok
165 * Don't try to print out the reading of enclosure temperature probes
166 if the reading doesn't exist or is not an integer
167 * Report enclosure EMMs that are "Not Installed" as ok, instead of
169 * Corrected typo in the PNP4Nagios template
175 * Remove reporting of which controller a logical drive is "attached"
176 to, since this information can't be reliably extracted via SNMP.
177 * Avoid collecting Lun ID via SNMP for virtual disks, we don't use it
178 * Report total memory and number of dimms in the ok output
179 * Difference in reporting if amperage probes have discrete readings
180 * Workaround for broken amperage probes
181 * Added workaround for bad temperature probes that yields no reading
183 * Get OMSA version via SNMP slightly more efficiently
189 * Added robustness for received SNMP values that are not defined in
190 the MIB. Instead of throwing a perl warning when this happens, the
191 plugin will not report the undefined value.
192 * Defined "Replacing" as a defined state for physical disks in SNMP
193 mode, even though this state is not defined in the MIB. It is
194 reported as such by omreport.
195 * Physical disk brand/model is now reported when the state of the disk
196 is "Rebuilding" or "Replacing".
197 * The state of a physical disk is reported in parentheses when
198 predictive failure is detected. It is useful to know if a disk is
199 online, offline, spare or even failed when predictive failure is
201 * Handling of physical disk predictive failure has been improved
203 * Refactoring of the perfdata code. In conformance with the plugin
204 development guidelines, the UOM (unit of measure) previously
205 reported in the perfdata output has been removed.
206 * The -p or --perfdata option now
207 takes an optional agrument 'minimal', which triggers shorter names
208 for the perfomance data labels. This shortens the output and is a
209 workaround for systems where the amount of output exceeds the 1024
211 * The PNP4Nagios template has been updated. Users of check_openmanage
212 and PNP4Nagios are advised to upgrade. This version of
213 check_openmanage needs the new template.
214 * Lots of other small improvements and updates.
220 * New option '--use-get_table' is added as a workaround for SNMPv3 on
221 Windows using net-snmp. This option will make check_openmanage use
222 the Net::SNMP function get_table() instead of get_entries() to
223 collect information via SNMP.
224 * Include a blacklisting option 'ctrl_pdisk' which takes the
225 controller number as argument. This blacklisting option only works
226 with omreport and is a workaround for broken disk firmwares that
227 contain illegal XML characters. These characters makes openmanage
228 barf and exit with an error. Patch from Bas Couwenberg.
229 * If the blacklisting keyword "all" is supplied for a component type,
230 that component type is not checked at all, i.e. the commands are
231 never executed. This will make check_openmanage execute faster if
232 blacklisting is heavily used.
233 * Option '--htmlinfo' now has a shorter equivalent '-I'
234 * The option '--short-state' now has a shorter equivalent '-S'
240 * Fixed an SNMP bug where the plugin didn't handle OID indexes that
241 were not sequential. Thanks to Gianluca Varenni for reporting.
242 * Fixed an SNMP bug when checking old hardware such as the PE 2650 and
243 PE 750. The controller id for physical drives were collected and
244 displayed incorrectly. This release uses an additional OID to fetch
245 this info, which would otherwise be unavailable. Thanks to Gianluca
246 Varenni for reporting this bug.
247 * Should use %snmp_probestatus, not %snmp_status when checking the
248 status of voltage probes. Thanks to Ken McKinlay for a patch.
249 * Fix when identifying blades via SNMP with very old OMSA
250 versions. Patch from Ken McKinlay.
251 * Better way of finding the ID of physical drives via SNMP
257 * Added support for storport driver version for controllers, only
258 applicable on servers running Windows. A new blacklisting keyword
259 for suppressing storport driver messages was added.
260 * The "all" keyword in blacklisting is now case insensitive.
261 * More fine-grained reporting in the rare case where a controller
262 battery fails during learning and charging states.
263 * New improved way of reporting perl warnings during execution of the
270 * Fix for path to omreport on Linux with OMSA 6.2.0
271 * A couple of other small fixes
277 * Fix for undefined device name for logical drives (thanks to Pontus
279 * Fixed a bug in the PNP4Nagios template, that prevented the template
280 from working with PNP4Nagios 0.6. Thanks to the PNP4Nagios team for
287 * CPU type, family etc. are now reported in case of a CPU failure (and
289 * The debug output now reports Openmanage version and plugin version
295 * New option '-a' or '--all' turns on checking of everything
296 * The manual page (POD info) is removed from the script and is now in
297 a separate file, to make check_openmanage fully ePN compatible
298 * ePN is no longer disabled by default, check_openmanage no longer has
299 an opinion on whether it should run under ePN or not
300 * The '-m' or '--man' option is no longer available
301 * The option '-v' or '--verbose' is renamed to '-d' or '--debug',
302 which makes more sense wrt. its usage
303 * The '-g' or '--global' option is removed. Checking the global health
304 status is now default if applicable
305 * Checking intrusion detection is now turned on by default
306 * The obsolete option '--snmp' is removed
307 * The option '--state' now has a shorter equivalent '-s'
308 * The basename stuff and options '--only-critical' and
309 '--only-warning' are now replaced by an option '--only'
310 * If plugin is run by Nagios, redirect stderr to stdout
311 * Added option '--omreport', that lets the user specify the full path
312 to the omreport binary
313 * Added non-8bit-legacy default search paths for omreport.exe for
315 * Minor changes to the plugin output, for consistency
316 * New blacklisting keyword 'bat_charge' disables warning messages
317 related to controller cache battery charging. Thanks to Robert
318 Heinzmann for a patch.
319 * For blacklisting, the component ID kan now be "ALL", in which all
320 components of that type is blacklisted.
321 * Man page is moved to manual section 8
327 * Fixed a bug that could cause errors and weird results when checking
328 cooling devices (fans) via SNMP. Thanks to Ken McKinlay for spotting
329 this bug and reporting it.
334 * For failed physical drives, check_openmanage will now output the
335 drive's vendor, model and size in GB or TB.
340 * The -s|--snmp option was redundant and no longer does anything. SNMP
341 is triggered automatically if the -H|--hostname option is
342 present. The -s|--snmp option is kept for compatibility, but has no
348 * Added support for performance data (temperatures) from attached
349 storage enclosures such as the MD1000
354 * Fixed a regression in the --htmlinfo option when it is not supplied
360 * New option --htmlinfo adds clickable HTML links in the plugin's
366 * Fixed a regression bug in CPU and power supply reporting that only
367 affects verbose output
368 * If blacklisting is used, the global health check (via the --global
369 option) is now negated. Checking the global health doesn't make
370 sense when one or more components is blacklisted. Thanks to Rene
371 Beaulieu for reporting this bug
372 * The PNP4Nagios template is now included in the tarball and zip
378 * Improved memory error reporting, when using omreport
379 * Collect performance data from pwrmonitoring (amperage probes) that
380 were previously ignored when using omreport
385 * Improved memory error reporting, when using SNMP
386 * Other small ehnancements
391 * The plugin is now compatible with the Nagios embedded Perl
392 interpreter (ePN) in theory. However, the plugin will not not use
393 ePN by default. We don't want any "accidents".
394 * License is now GPLv3, previously only specified as "GPL"
395 * New options --only-critical and --only-warning. With these options
396 the plugin will only print critical or warning alerts, respectively.
397 * Bugfixes and speed enhancements in the storage section, when
398 checking enclosure components via omreport
399 * The --okinfo option is now less verbose and more to the point
400 * Lots of code refactoring for readability, maintainability and
406 * Fixed a bug in the storage section, when checking controllers. This
407 is an obscure bug that only manifests itself in the odd case where a
408 server has multiple controllers, and one of the controllers are
409 missing some of the OIDs, in which case these OIDs will be missing
410 for the other controllers as well. The change is minor and only
411 includes using get_table() instead of get_entries() to collect the
412 SNMP result. Thanks to Stephan Bovet for reporting this bug.
417 * The --perfdata option can now optionally take an argument
418 "multiline", which makes the plugin produce multiline performance
419 data output in a Nagios 3.x way. Not really needed, but the plugin
421 * Added comment within the 10 first lines to disable the nagios
422 embedded perl (ePN) interpreter by default for Nagios 3.x
423 * Improvements in the performance data output. Units are now included
428 * Added --global option, which turns on checking of everything. If
429 used with SNMP, the global system health status is also probed, to
430 protect the user against bugs in the plugin. If used with omreport,
431 the overall chassis health is used.
432 * Support for SNMP version 3
433 * New check added: esmhealth. This checks the overall health of the
434 ESM log, i.e. the fill grade. More than 80% means a warning message
435 * Fixed alert log reporting to use the same format as for the ESM log
436 * Output messages are now sorted by severity
437 * Minor changes in how out-of-date controller firmware/driver is
439 * Code refactoring and cleanup
444 * Use "omreport about" to collect OMSA version. Slightly faster than
445 "omreport system version". This should give a small speedup in
446 certain configurations
447 * Fixed typo in output when a logical drive is rebuilding. Thanks to
448 Andreas Olsson for reporting
449 * Improved reporting of ESM log content
450 * Added omreport.sh as alternate omreport path
451 * Lots of other small fixes and enhancements
453 Plus: A few changes to make the plugin work with old PowerEdge models
454 (e.g. 2550, 2450) and/or old OMSA versions (e.g. version 4.5):
456 * Use the chassisModelName OID to determine if SNMP works (instead of
458 * No longer require a response when checking baseboard type via
459 SNMP. If there is no response, we assume that we're not dealing with
462 Thanks to Christian McHugh for help with testing and debugging this
468 * Use 'omreport system operatingsystem' to collect OS info, instead of
469 'omreport system' version which is incredibly slow. This should speed
470 things up in certain configurations.
471 * A few speedups, don't collect information that isn't needed
477 * New option --linebreak to specify the separator between line in case
479 * Added support for 64bit Windows. Thanks to Patrick Hemmen for a patch
480 * [Patrick Hemmen] Added install.bat for Windows installation
481 * [Patrick Hemmen] Improvements on install.sh. Will now install in
482 /usr/lib64 for x86_64
483 * RPMs are now architecture dependent, because of different libdir
488 * New option -o|--ok-info to display extra information when everything
489 is ok. The plugin can now display storage firmware and driver info,
490 DRAC and BMC firmware, and OMSA version
491 * Support for setting custom minimum temperature thresholds via the
492 -c|--critical and -w|--warning options
493 * Better and more detailed temperature error reporting
494 * Bugfix in the amperage report (including performance data). The
495 plugin now takes into account the correct unit and measurement for
496 amperage probes (other than watts)
497 * New option --port lets the user specify the remote SNMP port number
502 * Regression fix: Use the older Processor Device SNMP OIDs for older
503 PowerEdge models, that don't have the new Processor Device Status
504 OIDs. Thanks to Nicole Hähnel for reporting this bug.
505 * Default output (when there are no alerts) now shows RAC firmware,
506 BMC firmware, info about controllers and enclosures (firmware,
512 * Regression fix: Ignore unoccupied CPU slots with SNMP probing. This
513 fixes a bug introduced in versjon 3.2.1, which would output
514 something like this if one or more CPU slots were empty: CPU 1 needs
520 * Use Processor Device Status Table OIDs instead of Processor Device
521 Table when checking CPUs via SNMP
522 * Bugfix: don't report throttled CPUs as warnings when checking via
523 SNMP (same as for checking locally)
528 * New options --state and --short-state for displaying service state
530 * Lots of small fixes for code readability and maintainability
535 * Support for running natively on Windows (using omreport.exe). Thanks
536 to Peter Jestico for a patch.
537 * Support for compiled Windows version, i.e. check_openmanage.exe is
538 now a legal script name.
539 * Exit with error if script basename is illegal/unknown
540 * Various small fixes
545 * Use of alternate basenames for checking only one class of components
546 * Added support for checking the ESM log via SNMP
547 * Code refactoring for robustness and maintainability
548 * Numerous small fixes and enhancements
549 * Added install script in distribution tarball
554 * The script no longer aborts if it can't get system information via
555 SNMP. Give a warning instead, as this is not a critical error
556 * Increased robustness when checking controllers
561 * Man page fix in the 'check' section. Thanks to Ansgar Dahlen for
563 * Allow invalid command error from 'omreport chassis pwrmonitoring'
564 * Various small fixes
569 * Use unique IDs for storage components with regard to blacklisting,
570 which means that the blacklisting API has changed
571 * Added checks for storage components: connectors (channels),
572 enclosures, enclosure fans, enclosure power supplies, enclosure
573 temperature probes and enclosure management modules (EMMs)
574 * Improved verbose output
575 * New option -t|--timeout for setting the plugin timeout
576 * New option -w|--warning for setting custom temperature warning
578 * New option -c|--critical for setting custom temperature critical
580 * Option --check can no longer be specified in its short form (-c)
581 * Code cleanup and improvements
586 * The workaround for the OMSA bug introduced in OMSA 5.5.0 didn't take
587 multiple controllers into account. This has been fixed.
592 * New option -i|--info prefixes all alerts with the service tag
593 * New option -e|--extinfo gives and extra line of output in case of an
594 alert (model and service tag)
595 * New option --postmsg lets the user specify a post message string,
596 with info such as model, service tag etc.
597 * Options -b|--blacklist and -c|--check can now be specified multiple
598 times (actually quite useful)
603 * Slightly improved output for alerts on logical drives (vdisks)
604 * Now shows a rebuilding physical disk as a warning, as this is
605 usually accompanied by a degraded vdisk. Previous versions didn't
606 show this at all (omreport classifies it as "OK").
611 * Slightly improved output for charging controller batteries
616 * Bugfix for reporting physical drives with predictive failure (both
622 * Fix bug in option handling (ambiguous options)
623 * Slightly improved output if checking the storage subsystem is turned
625 * Don't complain if there are no logical drives. This is OK. Thanks to
626 Jamie Henderson for reporting this
631 * Fix bug in SNMP status level table
636 * Added workaround for a BUG introduced in OpenManage 5.5.0. OM
637 sometimes adds a newline in the controller driver version name,
638 which leads to problems parsing the output. Thanks to Hiren Patel
639 for bringing this to my attention.
644 * (snmp) Improved handling of cases where OM is not working properly
649 * Fixed issue where controller number for physical disks can't be
650 established via SNMP (now identifies as controller no. -1)
655 * Correctly identifies and reports error condition in which OpenManage
656 has stopped working (it happens)
662 * Same options for checking, blacklisting etc. supported with SNMP
663 * Same output with SNMP as with NRPE
668 * Collects performance data if the option '-p' or '--perfdata' is
670 * New blacklisting directives ctrl_fw and ctrl_driver
671 added. Suppresses the "special" warning messages concerning outdated
672 controller firmware and driver. Useful if you can't or won't
678 * Fix getting system model and serial number for newer blades
683 * Three new checks added:
684 - System battery probes (typical CMOS battery). Newer poweredge
686 - Power consumption monitoring (if the server supports it)
687 - ESM log, with same functionality as the alert log check. Disabled
693 * Internal refactoring: use ssv-formatted output from openmanage,
694 resulting in slightly faster execution and increased robustness.
695 * If /usr/bin/omreport doesn't exist, try
696 /opt/dell/srvadmin/oma/bin/omreport.
697 * Allow for no instrumented/redundant power supplies. Needed on
698 low-end poweredge models and blades.
703 * Openmanage reports non-critical warning about throttled CPUs on new
704 hardware models. Most og us use ondemand CPU frequency scaling (with
705 throttled CPUs as a result). This specific non-critical warning (CPU
706 Throttled) is ignored from now on.
707 * Remove superfluous Celcius sign when reporting temperatures.
712 * Accommodate blade systems with no fans or powersupplies, i.e. accept
713 errors from omreport when trying to check fans or powersupplies on
715 * Accommodate newer hardware with slightly different omreport
716 options. Use the newer options if they exist. Not really necessary
717 yet, but deprecated options may be removed in future versions of
723 * When everything is OK, check_openmanage now outputs the same info as
724 Gerhard Lausser's excellent check_hpasm plugin does for HP servers:
726 OK - System: 'poweredge 2850', S/N: 'XXXXXXX', ROM: 'A06
727 10/03/2006', hardware working fine, 2 logical drives, 4 physical