check_eva.py errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shafey
Posts: 4
Joined: Wed Feb 13, 2013 10:20 am

check_eva.py errors

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_eva.py errors

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: check_eva.py errors

Post by ericssonvietnam »

Hi Shafey,

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

Post 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'
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_eva.py errors

Post 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
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

Post 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)
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: check_eva.py errors

Post by Box293 »

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.
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: check_eva.py errors

Post by ericssonvietnam »

Yes..!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_eva.py errors

Post by rkennedy »

Sounds good, going to close this one out.
Former Nagios Employee
Locked