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:
commit
5ab6e198ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user