Notices


Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#41
Great app!!! Thank you!

My nagios3 url looks like: https://a.b.com/sysop/nagios

You app seems to make wrong assumptions about the number of / in the url:
PHP Code:
url gconf.client_get_default().get_string('/apps/maegios/url').split('/')
connection httplib.HTTPSConnection(url[2])
connection.request("POST""/%s/%s" % (url[3], "cgi-bin/status.cgi"), [], headers
I get the following wrong requests:
PHP Code:
 - -  "POST /sysop/cgi-bin/status.cgi HTTP/1.1" 404 3031 "-" "-" 
instead of
PHP Code:
/sysop/nagios/cgi-bin/status.cgi 
I only got maegios working by creating a ScriptAlias in apache:
PHP Code:
ScriptAlias /sysop/cgi-bin /usr/lib/cgi-bin/nagios3 
I am sure you can fix this bug. Most other clients ask to enter the status.cgi URL directly, which would avoid problem (i guess).

Steve
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:44.