Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Windows NRPE plugin to check HP SmartArray controllers
108690
File | Description |
---|---|
check_smartarray.vbs | 26/06/2008, Version 0.9b |
check_smartarray.vbs | 03/08/2008, Version 1.0b, bug fix release |
check_smartarray.vbs | 25/08/2008, Version 1.0.1, see change log |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Script Name: check_smartarray.vbs
Usage Syntax: cscript.exe //NoLogo //T:10 check_smartarray.vbs [--hpacucli PATH|-h]
Author: Alex Simenduev, PlanetIT.WS (http://www.planetit.ws)
Version: 1.0.1
LastModified: 25/08/2008
Description:
Checks the status of HP Smart Array Controller Series by using "hpacucli.exe", the produced output is compatibe with Nagios. The script assumes that "hpacucli.exe" is in the path, if it is not you can specify the path in command line argument (only version 1.0.1 and up) or modify the global variable in the script that responable for the "hpacucli.exe" location, the name of the variable is: "gsHpacucliPath".
Default Exit code is 3 (UNKNOWN)
Note:
This script is based on the BASH shell script taken from HP forum:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1128853
!!! Make sure you using a latest version of "HP Array Configuration Utility CLI" !!!
License:
1: This script is supplied as-is without any support, I hope it works for you.
2: You free to modify/distribute this script as you wish, but you must have the folowing line in the script: "Original author Alex Simenduev, PlanetIT.WS (http://www.planetit.ws)"
3: I cannot guaranty that this script works in all cases, please report bugs to shamil.si(at)gmail.com
Change Log:
Version 1.0.1:
[+] Added constant for script version
[+] Added commandline arguments, use "-h" for usage help
[*] Other small/minor changes
Version 1.0b:
[!] Fixed a bug when another instance of ACU is running, a warning state will be produced in such situation.
Version 0.9b:
[*] Initial release.
Usage Syntax: cscript.exe //NoLogo //T:10 check_smartarray.vbs [--hpacucli PATH|-h]
Author: Alex Simenduev, PlanetIT.WS (http://www.planetit.ws)
Version: 1.0.1
LastModified: 25/08/2008
Description:
Checks the status of HP Smart Array Controller Series by using "hpacucli.exe", the produced output is compatibe with Nagios. The script assumes that "hpacucli.exe" is in the path, if it is not you can specify the path in command line argument (only version 1.0.1 and up) or modify the global variable in the script that responable for the "hpacucli.exe" location, the name of the variable is: "gsHpacucliPath".
Default Exit code is 3 (UNKNOWN)
Note:
This script is based on the BASH shell script taken from HP forum:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1128853
!!! Make sure you using a latest version of "HP Array Configuration Utility CLI" !!!
License:
1: This script is supplied as-is without any support, I hope it works for you.
2: You free to modify/distribute this script as you wish, but you must have the folowing line in the script: "Original author Alex Simenduev, PlanetIT.WS (http://www.planetit.ws)"
3: I cannot guaranty that this script works in all cases, please report bugs to shamil.si(at)gmail.com
Change Log:
Version 1.0.1:
[+] Added constant for script version
[+] Added commandline arguments, use "-h" for usage help
[*] Other small/minor changes
Version 1.0b:
[!] Fixed a bug when another instance of ACU is running, a warning state will be produced in such situation.
Version 0.9b:
[*] Initial release.
Reviews (7)
bycobrew2003, February 29, 2016
Hello!
I don't understand. How from nagios I run the script and capture the output if the script is in the Windows host?
Can anybody help me?
Thanks!!
I don't understand. How from nagios I run the script and capture the output if the script is in the Windows host?
Can anybody help me?
Thanks!!
byStout, January 23, 2016
find and replace all hpacucli with hpssacli and this checks works with new controllers
bynoortr01, September 16, 2015
There is also a new CLI program for these contoller.
Script is not working anymore.
Annyone a update of these nice tool ?
Script is not working anymore.
Annyone a update of these nice tool ?
bywotagios, June 12, 2014
Nowadays I have to copy new HP CLI tools:
copy hpssacli.exe hpacucli.exe
copy hpssascripting.exe hpacuscripting.exe
Check works still excellent! Thank you!
copy hpssacli.exe hpacucli.exe
copy hpssascripting.exe hpacuscripting.exe
Check works still excellent! Thank you!
byJohannesM, February 24, 2014
You have to change line 203 from "Battery Status:" to "Battery/Capacitor Status:" to get all OKs
And I had problems with the arguments. It could not find the hpacucli.exe with the given arguments. Change Line 56 to "C:Program FilesCompaqHpacucliBinhpacucli.exe"
Using Version 1.0.1
And I had problems with the arguments. It could not find the hpacucli.exe with the given arguments. Change Line 56 to "C:Program FilesCompaqHpacucliBinhpacucli.exe"
Using Version 1.0.1
byMaxWinterstein, August 1, 2013
had a small problem while using the wrapper scripts that are around here, but this did the trick:
check_smartarray=cscript.exe //T:30 //NoLogo scriptscheck_smartarray.vbs --hpacucli "C:ProgrammeCompaqHpacucliBin"
also important to say it was not able to run it via "C:Program Files" for me...
check_smartarray=cscript.exe //T:30 //NoLogo scriptscheck_smartarray.vbs --hpacucli "C:ProgrammeCompaqHpacucliBin"
also important to say it was not able to run it via "C:Program Files" for me...