02-06-2019 07:37 AM
Good morning,
I have Cisco UCS 6248UP 48, Cisco UCS C220, Cisco UCS B200 M4 Blade Server, and Cisco UCS 5108 Blade Server Chassis that I want to monitor with Nagios.
I have my Nagios 4.4.1 server where I already have Cisco switches and other equipment too. But I have problems when I want to use plugins with these devices.
I tried to use the cisco-ucs-nagios-0.9.4.tar and cisco-imc-nagios-0.9.4.tar and I get the same error when installing it
[root @ localhost cisco-imc-nagios-0.9.4] # ./installer.py
File "./installer.py", line 94
except Exception, cfg_err:
^
SyntaxError: invalid syntax
Could you please indicate how to fix it or if they are the right plugins to monitor my equipment
Greetings from Peru.
02-06-2019 07:42 AM
alex3105,
This is clearly a Python error, so you would be better off asking this on the likes of stackoverflow.com. Another thing that I would suggest is check whether you have got all the required Python modules installed and if you are running the correct version of Python.
02-06-2019 07:45 AM
Ok .. I could confirm with which of the plugins I can monitor the equipment.
02-06-2019 08:05 AM
02-06-2019 09:02 AM
Thanks for the help .. I made the changes but now the message appears You could indicate me how to correct it .. apparently there are several parentheses ..
[root@localhost cisco-ucs-nagios-0.9.4]# ./installer.py
File "./installer.py", line 125
print str(err)
^
SyntaxError: invalid syntax
02-06-2019 09:12 AM
02-06-2019 12:32 PM
Add several corrections to the file but unfortunately I can not make it work .. It is missing several parentheses and has syntax errors that hinder its operation .. If someone had the file corrected for Nagios 4.4.1 and Centos 7 I will thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide