1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-22 09:03:54 +01:00

Update check_eva.py

Change parsing of SSSU output header to make it work with Command View EVA >= 10.
This commit is contained in:
argusb 2013-08-12 14:40:23 +02:00
parent a01af47d86
commit b0663e0495

View File

@ -231,7 +231,7 @@ def run_sssu(system=None, command="ls system full"):
error = 0
if output.pop(0).strip() != '': error = 1
if output.pop(0).strip() != '': error = 1
if output.pop(0).strip() != 'SSSU for HP StorageWorks Command View EVA': error = 1
if output.pop(0).strip().find('SSSU for HP ') != 0: error = 1
if output.pop(0).strip().find('Version:') != 0: error=1
if output.pop(0).strip().find('Build:') != 0: error=1
if output.pop(0).strip().find('NoSystemSelected> ') != 0: error=1