Trends under reporting not working

I see the cgi.cfg tile…it looks good. But I get this error when I click on the report/trend.

The requested URL /nagios/cgi-bin/trends.cgi was not found on this server.

Where should I find trends.cgi?

Thanks.