Just installed nagios 4.0.7 on a freebsd 10.0-RELEASE-p7 server. Web interface and checks is running fine.
Upgraded because I wanted to play with the statusjson.cgi etc. but it seems to fail.
I have no file called: jsonquery.php ... not sure is this is needed but the information could be helpful later.
When going to: /nagios/jsonquery.html I get a nice fine interface as shown here: http://labs.nagios.com/2014/06/19/explo ... -7-part-1/
When changing the select list ... I get a http 500 error. Explorer further it's because of a segmenation.
When running from the command line I get this:
[root@freebsd /usr/local/www/nagios/cgi-bin]# ./statusjson.cgi
Cache-Control: no-store
Pragma: no-cache
Last-Modified: Mon, 22 Sep 2014 09:58:04 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-type: application/json; charset=utf-8
Segmentation fault (core dumped)
[root@freebsd /usr/local/www/nagios/cgi-bin]#
After settings the REQUEST_METHOD & REMOTE_USER
Now I'm lost ... I know that something is wrong