Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Check_eva_cv

Current Version
1.1
Last Release Date
2013-06-03
Compatible With
  • Nagios 3.x
License
GPL
Hits
39360
Files:
FileDescription
check_eva_cv.shcheck_eva_cv.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
v1.0
Date: 2012-03-12
Date: 2012-03-05
Author: Alberto Lazzarin - ITA

v1.1
Date: 2013-05-30
Author: Ivan Bergantin - ITA
Fix grep function on disk and disk group component


This script works with HP SSSU Binary (architecture dependent x86 or x86_64)
you need to place the binary somewhere you like and set the appropriate permission.


Tested and works wit CV Version: 10.2.0.121112
Bash script to check the health of hp eva and P storage series manage by Hp command view.

You need the sssu binary and appropriate permission on CV.

Tested and works with CV Version: 10.2.0.121112
Reviews (2)
Thank you in advance for the plugin,

I have the same problem that I first found using check_eva.py.

I get some good results (With exit code 0 and well formed output) and some bad ones (with little information and exit code of 3)
-----------------------------------------
Command was allways the same:
root@nagios:libexec# ./check_eva_cv.sh -H -E -U "myUser" -P "myPass" -C controllers -S /usr/sbin/sssu
-----------------------------------------
GOOD OUTPUT:
HP Eva: - controllers check.
Failed to get host name
Failed to get host name

Controller 2 - Model: HSV300 - SN: P5512G39SWD06I
P5512G39SWD06I - FW: CR2306lep-11300000
OK: Controller 2 Operational state: good
OK: Cache State: good
Mirror Path 1 NOT Found
Mirror Path 2 NOT Found
Mirror Port 1 NOT Found
Mirror Port 2 NOT Found
OK: 2 of 2 Host Ports are in good status
OK: 2 of 2 Device Ports are in good status
Controller Fans NOT Found
Controller Power System NOT Found
Failed to get host name

Controller 1 - Model: HSV300 - SN: P5512G39SWC02Z
P5512G39SWC02Z - FW: CR2306lep-11300000
OK: Controller 1 Operational state: good
OK: Cache State: good
Mirror Path 1 NOT Found
Mirror Path 2 NOT Found
Mirror Port 1 NOT Found
Mirror Port 2 NOT Found
OK: 2 of 2 Host Ports are in good status
OK: 2 of 2 Device Ports are in good status
Controller Fans NOT Found
Controller Power System NOT Found
-----------------------------------------
BAD OUTPUT:
HP Eva: - controllers check.
Failed to get host name
Failed to get host name
ATTENTION: Controller NOT found
-----------------------------------------

Does this ring any bells to you?

I am looking forward to reading from you,
sebastiaopburnay
bydcalmeida, July 12, 2013
This scripts works like a charm! After a few debug with Alberto, I am monitoring EVAs like I never did, is really great.