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

Getting started with cacti

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

What is cacti?

To put it rudely, it is a monitoring tool, which can not only monitor a single machine, but also complete the monitoring of the cluster! So if you do a performance test and want to monitor the cluster, ask the operator for an account to see it. Don't think about it by yourself. It's all ready-made.

Cacti installation

Yum install rrdtool

Yum install net-snmp net-snmp-libs net-snmp-utils

Vi / etc/snmp/snmpd.conf

Modify view systemview included .1.3.6.1.2.1.1 to view systemview included .1.3.6.1.2.1

Service snmpd start

Snmpwalk-v 1-c public localhost. 1.3.6.1.2.1.1.1.0

Download cacti

Tar decompression

Then put it under the site directory of apache, / var/www/html

Mysqladmin-- user=root-p create cacti

Mysql-uroot-p cacti

< cacti.sql 配置include/config.php echo "*/5 * * * * root php /var/www/html/cacti/poller.php >

/ dev/null 2 > & 1 "> > / etc/crontab

Service crond restart

Http://192.168.3.2/cacti/install/

Default user name: admin password: admin

After entering, you will be forced to change your password.

Console > devices > snmp Select version2

In this way, you can monitor it. Most operators have already done this. You only need to apply for an account and know which machines to monitor the services on.

What can be monitored?

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

Internet Technology

Wechat

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

12
Report