I have everything set up properly and all my hosts are being monitored properly etc etc.
I can navigate the cgi’s with no problems except when I come to a form that uses POST.
I have tried using packet sniffer (everything seems ok), running the CGI on the command line (again ok), re-building nagios(no errors, found gd, looks ok), sticking a few printfs here and there in cmd.cgi(and rebuilding it), tried modifying a few apache settings(no difference, no ‘Limit POST’).
The cgi shows up as sleeping when I do ‘ps -ax’, and the browser keeps on waiting. If I stop the transaction in the browser, I notice a vague error in apache logs:
Premature end of script headers: /home/nagios/nagios/sbin/cmd.cgi
Now, does anyone have any idea why when everything seems to work fine EXCEPT when I POST information via form?
I’m led to believe that it must be an Apache configuration problem since after searching everywhere(mailing list archives, here, google) I’m the only one with this problem. This is nagios 2.0b4.
I guess my next step might be to do a quick hack of the cgi and see if I can change all the POST to GET and see if that helps. :x