Pandora has six components: Pandora Data Server, Pandora Network Server, Pandora SNMP Console, Pandora Agents, Pandora Database and Pandora Web Management System (Web Console).
1、安装mysql-5.0.45/php/apache等
过程略
mysql> create database pandora;
修改/usr/local/lib/php.ini中
session.bug_compat_42 = 1
下载pandora_console包,移至apache的htdocs目录下
mysql -D pandora -u root -p < pandoradb.sql
mysql -D pandora -u root -p < pandoradb_data.sql
mysql> grant all on pandora.* to identified by 'pandora';
mysql> set password for = old_password('你所设置的password');
mysql> flush privileges;
检查include中的config.php db相关配置是否有问题
下载pandora_server包
useradd pandora -d /home/pandora
mkdir /home/pandora -p
chown pandora /home/pandora
mv pandora_server /opt/pandora
检查conf/pandora_server.conf db相关配置是否有问题
cp pandora_server /etc/init.d/
2、Pandora Data Server需要准备安装以下模块
Requires SSH Servr and Perl v5.8 or higher
the next Perl Modules:
XML::Simple, useful XML functions
Digest::MD5, MD5 generation
Time::Local, Date and Time basic manipulation
DBI, DB interface with MySQL
Date::Manip, needed to manipulate Date and Time formats of input, output and compare
Next, you need to set the TZ (Time Zone) environment variable.
3、Pandora Network Server需要准备安装以下模块
Requires SSH Server and Perl v5.8 or higher
the next Perl Modules:
IO::Socket, manage and manipulation of TCP/UDP sockets
Time::HiRes, needed for ICMP times
Time::Local, Date and Time basic manipulation
Net::Ping, to calculate latency times (it's required that the server runs as root user).
Net::Ping::External, needed to "ping" to remote systems
SNMP, for SNMP management
Date::Manip, needed to manipulate Date and Time formats of input, output and compare
To use SNMP fuctions it's needed also to have installed the net-snmp package. It's worth to say that to run modules of GENERIC_ICMP_DATA type (calculate ICMP latency time) Pandora Network Server must run with root privileges.
4、Pandora SNMP Console,安装snmp就ok了
5、配置pandora console
先安装jpgraph
wget
修改/usr/local/lib/php.ini中
output_buffering = Off
error_reporting = E_ALL
未完,待续
阅读(4858) | 评论(0) | 转发(0) |