You are required to be in the Developer group to start new threads in these categories.
You may join this group from your Profile
Regards Chemist
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)
- - "POST /sysop/cgi-bin/status.cgi HTTP/1.1" 404 3031 "-" "-"
/sysop/nagios/cgi-bin/status.cgi
ScriptAlias /sysop/cgi-bin /usr/lib/cgi-bin/nagios3
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:
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)
- - "POST /sysop/cgi-bin/status.cgi HTTP/1.1" 404 3031 "-" "-"
/sysop/nagios/cgi-bin/status.cgi
ScriptAlias /sysop/cgi-bin /usr/lib/cgi-bin/nagios3
Steve