nagios UCS python error - IndexError: list index out of range

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2015 09:16 AM
I am trying to integrate some B-series severs with a clients Nagios system and get this error.
Traceback (most recent call last):
File "./installer.py", line 467, in <module>
extracted_name = name_list[0] + "_" + name_list[1] + "_" + name_list[2]
IndexError: list index out of range
[root@opsviewprim10 dave]#
It is the latest python 2.7
nagios core 3.23
Redhat 5.5
and latest Cisco SDK
thanks
- Labels:
-
UCS Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2015 09:01 PM
Hello Ian,
It seems to be an issue with the directory from where you are running the installer script.
Can you please provide the listing of your directory from where you are executing the script.
The directory should be similar to below output.
[root@nagios-centos cisco-ucs-nagios-0.9.3]# ls -lrt
total 92
-rwxr-xr-x 1 root root 32379 Jan 29 15:01 installer.py
-rw-r--r-- 1 root root 3456 Jan 29 15:01 INSTALL
-rw-r--r-- 1 root root 49473 Jan 29 15:01 cisco-ucs-nagios-0.9.3.tar.gz
We need to execute the "installer.py" from this directory only not from outside. And the naming convention of the tar.gz present in the directory should not be changed.
thanks
