I’m running Nagios 2.9 on FreeBSD 6.2. I installed nagiostat from ports. Subj line is my error message: The requested URL /nagiostat.cgi was not found on this server.
I don’t have a problem with the nagios .cgi’s. I’ve attached my httpd.conf, nagiostat.conf, serviceextinfo.cfg, nagiostat script and nagios.cfg.
Nagiostat perl script is here: /usr/local/libexec/nagiostat/nagiostat and it’s symbolically linked to nagiostat in the nagios cgi-bin.
On FreeBSD, nagiostat is in /usr/local/libexec/nagiostat
nagios install dir is: /usr/local/www/nagios
etc dir is: /usr/local/etc/nagios
nagios startup script: /usr/local/etc/rc.d/
cgi-bin is: /usr/local/www/nagios/cgi-bin
I don’t know what other information or files may be valuable in helping me troubleshoot this. Please let me know if I can provide any other clues. I’ve read the nagiostat install script (readme file) in the docs dir on FreeBSD, but that hasn’t helped and I think it’s the same as the linux version. I had to change the path to nagiostat as it’s different on FreeBSD.