3.安装icinga中文安装包
tar jxf icinga-cn-1.9.3.tar.bz2 //解压
编译 ./configure
Web Interface Options:
------------------------
HTML URL: http://localhost/icinga/
CGI URL: http://localhost/icinga/cgi-bin/
Main URL: http://localhost/icinga/cgi-bin/tac.cgi
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
!!! Please take care about the upgrade documentation !!!
以上提示安装成功
icinga-cn-1.9.3]#make all //全部编译
icinga-cn-1.9.3]# make fullinstall
make[1]: Entering directory `/opt/icinga/icinga-cn-1.9.3'
cd ./base && make install
make[2]: Entering directory `/opt/icinga/icinga-cn-1.9.3/base'
make install-basic
make[3]: Entering directory `/opt/icinga/icinga-cn-1.9.3/base'
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/bin
/usr/bin/install: 无效的用户"icinga"
make[3]: *** [install-basic] 错误 1
make[3]: Leaving directory `/opt/icinga/icinga-cn-1.9.3/base'
make[2]: *** [install] 错误 2
make[2]: Leaving directory `/opt/icinga/icinga-cn-1.9.3/base'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/opt/icinga/icinga-cn-1.9.3'
Run make install-config for installing/overwriting the configs...
以上错误时没有创建用户
重新安装配置文件 icinga-cn-1.9.3]# make install-config
给用户添加密码
etc]# htpasswd -mc htpasswd.users icingaadmin
New password:
Re-type new password:
htpasswd: password verification error
You have mail in /var/spool/mail/root
以上就配置完成了。
4.启动icinga
首先启动 httpd 服务
service httpd restart
再次启动
service icinga restart