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
check_eva.py errors
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_eva.py errors
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?
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: check_eva.py errors
Hi Shafey,
Did u manged to fix it ? I am also getting same error. if yes, please do post here..!
Did u manged to fix it ? I am also getting same error. if yes, please do post here..!
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: check_eva.py errors
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'
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
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
https://github.com/opinkerfi/nagios-plu ... /check_eva
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Re: check_eva.py errors
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)
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: check_eva.py errors
Is your problem now resolved?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.