icinga-reports+jasperserver安装步骤:
安装icinga略
jasperserver:
# wget http://downloads.sourceforge.net/project/jasperserver/JasperServer/JasperReports
%20Server%20Community%20Edition%205.6.0/jasperreports-server-cp-5.6.0-linux-x64-installer.run
# chmod +x jasperreports-server-cp-5.6.0-linux-x64-installer.run
# ./jasperreports-server-cp-5.6.0-linux-x64-installer.run
一路默认回车即可
# /opt/jasperreports-server-cp-5.6.0/ctlscript.sh start
访问:http://ip:8080/jasperserver 管理员用户名密码均为jasperadmin,普通账号用户名密码均为:
joeuser
icinga-report:
# wget http://sourceforge.net/projects/icinga/files/icinga-reporting/1.9.0/icinga-reports-
1.9.0.tar.gz
# tar zxfv icinga-reports-1.9.0.tar.gz
# cd icinga-reports-1.9.0
# ./configure --with-jasper-server=/opt/jasperreports-server-cp-5.6.0
# make
# make install
(如果出现build.xml does not exist可执行下面两步,如果没出现可跳过下面两步)
# cd /opt/jasperreports-server-cp-5.6.0/buildomatic/
# ./js-import.sh --input-zip /root/icinga-reports-1.9.0/reports/icinga/package/js-icinga-
reports.zip
# /opt/jasperreports-server-cp-5.6.0/ctlscript.sh stop
# /opt/jasperreports-server-cp-5.6.0/ctlscript.sh start
http://ip:8080/jasperserver ――root――Icinga――Data Sources――IDO――编辑――
jdbc:mysql://localhost:3306/icinga 用户名:idouser 密码:123456(视前面安装icinga而定)――
测试连接(连接成功)――保存