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

Merge pull request #5 from argusb/patch-1

Update check_eva.py, looking good, merged. Thanks!
This commit is contained in:
Tomas Edwardsson 2013-08-12 08:05:47 -07:00
commit 5ab6e198ec

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