This script is intended to be used with Nagios to monitor a HP P2000 SAN. Below is a description and the file can be downloaded here:
All versions can be found here: https://github.com/thomasweaver/check_p2000_api
Version 1.2 allowing input of username and password. Great thanks to Jon Witts who added the code which can be found here http://pastebin.com/T1DMYJbu# or download zip below Version 1.3 Adds an extra check to the status check.