Thread
:
TEASER: Maegios - Nagios Client for Maemo 5
View Single Post
Ralph
2010-02-02 , 03:15
Posts: 14 | Thanked: 10 times | Joined on Jan 2010 @ Italy
#
35
I don't know which version other people are testing, but i have an issue in version 0.3.1-2 during the connection similar to the one described before in this thread.
Using python, as described, I found out that in file nagiosconnector.py, line 57 the variable url[3] is the problem.
My Nagios instance isn't in a subdirectory, my URL is like
http://nagios.domain.it
So i do not have any element at index 3 in the array url and I have an error trying to access an element beyond the end of the array.
After a little i realized that a trailing slash in the URL is needed for correct parsing.
I'm new to python but have some experience with other languages.
Maybe you have to check the size of the array or find a better way to parse the url, maybe using regexp.
Thanks for the good job
Last edited by Ralph; 2010-02-02 at
11:10
. Reason: Spelling
Quote & Reply
|
Ralph
View Public Profile
Send a private message to Ralph
Find all posts by Ralph