Ubuntu – Nagios showing “NOT FOUND” error

nagios3troubleshooting

I have installed nagios package in my Ubuntu system. After opening the configuration page localhost/nagios3 i have succesfully logged in. After that when i select any option from the left side menu it displays one of the following error

The requested URL /cgi-bin/nagios3/extinfo.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/showlog.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/notifications.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/history.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/status.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/outages.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/statuswrl.cgi was not found on this server.
The requested URL /cgi-bin/nagios3/trends.cgi was not found on this server.

Apache/2.2.14 (Ubuntu) Server at 192.168.1.7 Port 80

How to solve this problem ?

Best Answer

Please check if the Apache configuration file /etc/apache2/sites-available/nagios3.conf,

/etc/apache2/conf.d/nagios3.conf or similar has "ScriptAlias" entries like the one

below (please make sure that you have the correct file system paths):

  ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
  ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
Related Question