XYmon网络监控软件配置大全

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

XYmon网络监控之一 --> XYMON安装步骤

一、安装之前的准备工作:

第一、下载安装centOS 5.0 或者6.0。

第二、笔者是使用VMworkstation安装CentOS,安装步骤简单。

二、准备工作完成后,我们就可以进行XYMON的安装的。笔者只是在一台虚拟机上安装,取消那些繁琐的Gateway,DNS,AD等等一些东西。我们直接君如主题。

1. 添加rpmforge软件;

[root@xymonsvr

~]# wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-

1.el5.rf.i386.rpm#下载安装文件

rpmforge-release-0.5.0-1.el5.rf.i386.rpm

rpmforge-release-0.5.2-2.el5.rf.i386.rpm最新rpm包

[root@xymonsvr ~]# rpm --import /rpm/packages/RPM-GPG-KEY.dag.txt

#导入验证文件,基本通用的。

[root@xymonsvr ~]# rpm -K rpmforge-release-0.3.6-1.el5.rf.i386.rpm

#注意K为大写

[root@xymonsvr ~]# rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm#安装

2. 添加xymon的源代码文件包备用,这里我们下载4.2.3的版本,最新的是4.

3.7

[root@xymonsvr

~]# wget /projects/xymon/files/Xymon/4.2.3/xymon-4.2.3.tar.gz

/projects/xymon/files/Xymon/4.3.6/xymon-4.3.6.tar.gz

/project/xymon/Xymon/4.3.7/xymon-4.3.7.tar.gz

版本高,比较稳定,参数比较好设定。

Resolving ... 140.115.17.45

Connecting to |140.115.17.45|:80... connected.yumi

HTTP request sent, awaiting response... 200 OK

Length: 2313567 (2.2M) [application/x-gzip]

Saving to: `xymon-4.2.3.tar.gz'

10% [===> ] 253,933 24.2K/s eta 85s

<以下省略>

3. 安装Xymon需要用到的组件,这里通CentOS的软件管理软件yum从软件源直接下载并安装;

(如果你安装的CentOS server版本的话,需要额外安装一下两个插件)yum install gcc-c++

yum install httpd

[root@xymonsvr ~]# yum install fping #安装fping

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

…<中间省略>...

Install 1 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 40 k

Is this ok [y/N]: y #输入y确认安装

Downloading Packages:

fping-2.4-1.b2.2.el5.rf.i386.rpm | 40 kB 00:02

…<中间省略>...

Installed: fping.i386 0:2.4-1.b2.2.el5.rf

Complete!

[root@xymonsvr ~]# yum install rrdtool-devel#安装rrdtool-devel

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* rpmforge:

* base: .tw

* updates: .tw

* addons: .tw

* extras:

Setting up Install Process

…<中间省略>...

Install 5 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 2.8 M

Is this ok [y/N]: y #输入y确认安装

Downloading Packages:

(1/5): rrdtool-devel-1.3.8-2.el5.rf.i386.rpm | 6.8 kB 00:00 (2/5): perl-rrdtool-1.3.8-2.el5.rf.i386.rpm | 51 kB 00:01

(3/5): ruby-1.8.5-5.el5_3.7.i386.rpm | 274 kB 00:14

(4/5): rrdtool-1.3.8-2.el5.rf.i386.rpm | 913 kB 00:16

(5/5): ruby-libs-1.8.5-5.el5_3.7.i386.rpm | 1.6 MB 01:56

…<中间省略>...

Installed: rrdtool-devel.i386 0:1.3.8-2.el5.rf

Dependency Installed: perl-rrdtool.i386 0:1.3.8-2.el5.rf rrdtool.i386 0:1.3.8-2.el5.rf ruby.i386 0:1.8.5-5.el5_3.7 ruby-libs.i386 0:1.8.5-5.el5_3.7

Complete!

[root@xymonsvr ~]# yum install pcre-devel#安装pcre

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* rpmforge:

* base:

* updates:

* addons:

* extras:

Setting up Install Process

…<中间省略>...

Total download size: 176 k

Is this ok [y/N]: y #输入y确认安装

Downloading Packages:

pcre-devel-6.6-2.el5_1.7.i386.rpm | 176 kB 02:44

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : pcre-devel [1/1]

Installed: pcre-devel.i386 0:6.6-2.el5_1.7

Complete!

4. 创建一个用户:xymon以用于运行Xymon Monitor Server;

[root@xymonsvr ~]# useraddxymon#创建用户

[root@xymonsvr ~]# passwdxymon#创建密码(无密码将无法登入)

Changing password for user xymon.

相关文档
最新文档