Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Building rrdtool solution on cacti platform

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Note: a slight error in the cacit rrdtool experiment leads to the make compilation error to be corrected by the experiment.

First, prepare the environment, two computers

One server, one test machine.

On the first computer (server)

1. Install gcc*

Yum-y install gcc*

Reload the tool kit

Yum-y install mysql mysql-server mysql-devel libxml2 mysql-connector-odbc

Yum-y install perl-DBD-MySQL unixODBC

Yum-y install php php-mysql php-pdo libxml2-devel httpd

2. Start the website service and Mysql

Service httpd start

] # service mysqld start

3. Reinstall

Yum-y install net-snmp net-snmp-utils net-snmp-libs lm_sensors

Lm_sensors hardware monitor program

4. Mount the software CD

Upload cacti.iso and mount it

Mkdir / gp

Mount-o loop cacti.iso / gp

Cd / gp

Put all the software under root.

Cp-rf * /

5. Install cactus

Cd

Tar-zxf rrdtool-1.4.5.tar.gz

Cd rrdtool-1.4.5

#. / configure-prefix=/usr/local

If something goes wrong, follow these steps to solve it.

Step 1

Cd

Tar zxvf cgilib-0.5.tar.gz (agents provide a way to control the target objects to be accessed)

Cd cgilib-0.5

Make

Cp libcgi.a / usr/local/lib

Cp cgi.h / usr/include

Step 2

Yum-y install libart_lgpl-devel

Step 3

Yum-y install pango-devel* cairo-devel*

6. Now continue to install the above software

[root@localhost cgilib-0.5] # cd

[root@localhost ~] # cd rrdtool-1.4.5ma

(1)

[root@localhost rrdtool-1.4.5] #. / configure-prefix=/usr/local

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report