Sorry everyone for taking so long for an update… and then this! I have really no chance to test these anymore, so please be aware that this version is NOT tested. Please send me and email if you still find it useful and it works (if not please send me a patch to fix things, thank you!)
Ah yes… credits are to be found in the ChangeLog!
check plugins for Compaq/HP (526 downloads)
Quick progress these days… as of Andrew Gray’s inquiry I added support for retrieving Smart Array CPU information. This is not active by default and may be used to check and/or gather performance data.
As usual I cleaned some code parts. This time there are some improvements to the output of ‘–help’ and more important to the output of the debug switch (‘-d|–debug’).
check plugins for Compaq/HP (4464 downloads)
The plugin now displays some product information like model, serial number, form factor and asset tag (if given). Thanks to Billy Szkoda for asking for this feature!
Please note: this information is now retrieved by default on every query. If you don’t need or don’t like the idea, or you’d rather have higher performance on a big network, just skip this using ‘-x cpqSystemInfo’ and you’ll get the behaviour as it was before.
Some minor code cleanup done in between.
check plugins for Compaq/HP (1159 downloads)
Updated state information for newer generations of HP equipment. Thanks to Jason Wasser who pointet out an error and by debugging helped discover the missing information provided by new Gen9 servers.
This release now includes the latest MIBS as they are freely available with the HP SIM 7.4 release.
Last not least, after Jason pointed this out, the /usr/lib64/nagios/plugins folder is now automatically searched as well.
check plugins for Compaq/HP (876 downloads)
Added a check for cpqDaAccelCondition (Drive Array Accelerator Condition) – thanks to Robert Brooks for suggesting this!
check plugins for Compaq/HP (1994 downloads)
Thanks this time to an improvement by Steffen Weinreich who added a parameter that allow “requiring” the presence of some subsystems (they not being there during the check being the issue at hand). Use it by specifying the following:
PS: please verify if the library-settings work for you. If they don’t and you think you have a quite common path, let me know and I’ll add it to the next release!
check plugins for Compaq/HP (1877 downloads)
PS: v2.16 is a bugfix-release for v2.15 and v2.14 – those were broken because of the automatic libexec folder-discovery! Sorry to everyone – it took me 2 months to get to fix things!!
Many thanks to Rod Payne, Buffalo NY, for the current addition.
He suggested it would be helpful to specify particular values that should be treated as warnings. Specifically this could mean that instead of treating all NIC logical group problems as warnings, he would want to make “redundancyReduced” a warning and leave “redundancyLost” as critical. He extended the code to allow the
warning exception to be more specific using the following syntax:
check plugins for Compaq/HP (2253 downloads)
Got a few nice inputs from George Hansper, who thought it better to indicate more details about single component units in order to have the possibility to exclude some specific device.
This may not be a best practice to be followed, but nevertheless is a valid requirement in some specific and possibly temporary cases.
Thanks George for pointing out and testing the current version!
check plugins for Compaq/HP (1464 downloads)
Some more testing done by Martin Boer together with some nice feedback on how to shorten down and beautify the code:
- replaced a lot of silly ‘elsif’ statements with a single (but safe) ‘eval’
- introduced a ‘-w’ parameter to set some failures to WARNING states instead of CRITICAL since “you don’t consider a bad disk in a RAID configuration necessarily something you want to find out in the middle of the night”
Since I published this without much testing, that would now be up to you guys 😉
check plugins for Compaq/HP (1982 downloads)
Some of the changes in version 2.10 are:
- definitions now moved into a hash of hashes instead of different arrays
- cleanup to the ‘–help’ parameter (now hinted at when none is given)
- added an ‘–exclude’ parameter for different checks as requested by ‘Mastrboy’
check plugins for Compaq/HP (1397 downloads)