Build precise queries to find exactly what you need
Press ESC to close
Since I’m developing the Windows version, but I’m not Bob, I am forbidden by this site to reply to anyone, so this is all I can do.
Happyblue: “Nb Ctrl” is the number of RAID controllers found. For it to be zero (0), this suggests that you installed HPACUCLI/HPSSACLI onto a server that doesn’t have a RAID controller fitted. I don’t know that I’ve ever seen this specifically, but while deploying this script I have indeed found at least one server without RAID. If the server does have RAID but the script still reports no RAID controllers, then please provide the exact output of an invocation of HPACUCLI/HPSSACLI with the following parameters: ctrl all show config
Example: “Program FilesHPhpssaclibinhpssacli.exe” ctrl all show config
The script looks for a line of output starting with “Smart Array”; each line is recorded as being a controller found.
uguu: I don’t use MRPE and cannot test this, but basically what the program does (as mentioned above) is call HPACUCLI/HPSSACLI with the parameters “ctrl all show config”:
$exec = & $prg ‘ctrl all show config’ #Write-Host $exec
(ll. 249-250 in version 1.7)
If it can’t find HPACUCLI/HPSSACLI, it throws an error, so we know that it’s able to locate the relevant program. Therefore, it is not recognising the output. The commented-out Write-Host line above, if enabled, would reveal exactly what response it received. It’s either being disallowed the privilege of executing this program (so $exec may contain an error message), or something is causing the program’s output to be misreported or lost, such that the script cannot read off the controller and array details.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!