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

The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
解决方案,确定安装下面的包。
libgd
libgd-devel
libpng
libpng-devel
libjpeg
libjpeg-devel
zlib
zlib-devel 
回到nagios安装时解压开的目录
#make devclean
#./configure --with-gd-lib=/usr/lib   --with-gd-inc=/usr/include 
#make all
#make install
#make install-init
#make install-config
#make install-commandmode
#make install-webconf  
 
重新回到你的nagios的sbin目录查看几个cgi脚本有没有生成。 

你可能感兴趣的:(脚本,cgi,nagios)