First, the start times wrong
"Starting Nagios:this account isn't currently available"
Workaround:
Modify/ETC/PASSWD
Change the/sbin/nologin into/bin/bash
Second, Nagios installed, Web Access to the following error:
You do not have permission to view information for any host.
Check the HTTP server's access rights settings for this CGI.
Solution:
Vi/usr/local/nagios/etc/cgi.cfg
Change the value of Use_authentication to 0.
Use_authentication=0
and restart the Nagios service.
Service Nagios Restart
It is also possible:
Hostname and service_description in the configuration file use Chinese.
Advise hostname and service_description not to use Chinese
Third, the visit appears garbled
Typically, the Apache configuration file has a coding problem
Workaround:
Vim/usr/local/apache2/conf/httpd.conf
Finally add Adddefaultcharset utf-8
Four, appears the requested url/nagios/cgi-bin/statusmap.cgi is not found on this server error
Workaround:
Determine the installation Gd-devel package
And then back to the extract directory,
#make Clean
Recompile installation
#./configure--with-gd-lib=/usr/lib--with-gd-inc=/usr/include
Next
#./configure--with-command-group=nagcmd
#make all;
make install;
Make install-init;
Make install-config;
Make Install-commandmode;
Makeinstall-webconf
V. To view the Nagios.log log, the following error occurred:
Ndomod:could not Open Data sink! I ' ll keep trying, but some output may get lost ...
Solution Idea:
# vim/usr/local/nagios/etc/ndo2db.cfg
Ndo2db_user=nagios
Ndo2db_group=nagcmd
Note that the second, ndo2db group, is nagcmd. Because the previous system plus user Nagios is the Nagcmd group.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/web/