Page 1 of 1

check_eva.py errors

Posted: Wed Feb 20, 2013 3:42 pm
by shafey
Dears

I am running Nagios XI pre-installed on vmware

I am trying to run the script check_eva.py to check my EVA8000 i get theses errors "I install sssu rpm on vmware"


This is the command i was trying to execute: Error: Syntax error at or near here
Error running the sssu command
sssu "set option on_error=continue" "select manager 192.168.33.24 USERNAME=administrator PASSWORD=administrator" "ls system full"
NoSystemSelected> select manager 192.168.33.24 USERNAME=administrator PASSWORD=administrator

NoSystemSelected> ls system full
^
Error: Syntax error at or near here

Re: check_eva.py errors

Posted: Wed Feb 20, 2013 4:08 pm
by scottwilkerson
You may get more traction on the check_eva site http://opensource.is/trac/wiki/check_eva as this wasn't developed by Nagios Enterprises, but, what is the command you are executing?

Re: check_eva.py errors

Posted: Wed Aug 24, 2016 4:51 am
by ericssonvietnam
Hi Shafey,

Did u manged to fix it ? I am also getting same error. if yes, please do post here..!

Re: check_eva.py errors

Posted: Wed Aug 24, 2016 4:52 am
by ericssonvietnam
command i am executing is :

python ./check_eva.py --host HOST! --username nagios --password PASSWORD! --mode check_diskgroups
Error 2:
command was: 'sssu "set option on_error=continue" "select manager HOST! USERNAME=nagios PASSWORD=PASSWORD!" "ls system full" '
Traceback (most recent call last):
File "./check_eva.py", line 757, in <module>
longserviceoutputfields=longserviceoutputfields, perfdata_fields=perfdata_fields)
File "./check_eva.py", line 484, in check_generic
systems = run_sssu()
File "./check_eva.py", line 234, in run_sssu
output = output.split('\n')
AttributeError: 'NoneType' object has no attribute 'split'

Re: check_eva.py errors

Posted: Wed Aug 24, 2016 12:18 pm
by tgriep
Take a look at this link to the plugin to contact the author of the plugin but is looks like there is not an update for it.
https://github.com/opinkerfi/nagios-plu ... /check_eva

Re: check_eva.py errors

Posted: Sat Aug 27, 2016 11:32 am
by ericssonvietnam
i got the fix, i was using wrong "user" id. Make sure ,user exist on the sssu? it also should be in the local group HP Storage Admins group (or HP Storage Users group)

Re: check_eva.py errors

Posted: Sun Aug 28, 2016 8:21 pm
by Box293
Is your problem now resolved?

Re: check_eva.py errors

Posted: Wed Sep 07, 2016 2:59 am
by ericssonvietnam
Yes..!

Re: check_eva.py errors

Posted: Wed Sep 07, 2016 10:39 am
by rkennedy
Sounds good, going to close this one out.