Installing and using Cacti plug-ins (1)

Source: Internet
Author: User

Select one.Plug-insTo make ourCactiThe monitoring function is more comprehensive and more careful. The following describes how to install and use the Cacti plug-in!

1. Install the PA of cacti.

Before installing other plug-ins, you must install a patch of cacti-Plugin Architecture to support plug-ins.

Relationship between PA and cacti versions

PA 1.0 = cacti 0.8.6i

PA 1.1 = cacti 0.8.6i et 0.8.4.7

PA 2.0 = cacti 0.8.7b

PA 2.2 = cacti 0.8.7c

PA 2.4 = cacti 0.8.7d

We use 0.8.7, so we use the latest 2.4

Wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip

Unzip cacti-plugin-0.8.7d-PA-v2.4.zip-d cacti-plugin-arch

Cp-R cacti-plugin-arch/*/usr/share/cacti/

 
 
  1. #cd /usr/share/cacti/  
  2.  
  3. #mysql -ucacti -p cacti < pa.sql  
  4.  

If you are a Chinese cacti, execute the following command (download required)

Patch-p1-N <cacti-plugin-0.8.7d-PA-v2.4-cn-utf8.diff

If you are in English, download the original

Patch-p1-N <cacti-plugin-0.8.7d-PA-v2.4.diff

After this is done, the image may be incorrect (the premise is that the url you set is http: // xxx/cacti). You need to modify the following content.

 
 
  1. vim include/global.php  
  2.  
  3. $config['url_path'] = ‘/cacti/’;  
  4.  

Choose "user Management"> "admin"> "regional Permissions"> "Plugin Management ".

Install the settings, thold, and monitor plug-ins.

The monitor plug-in provides simpler and more intuitive device status diagrams;

The thold plug-in provides device exception warnings.

Cd cacti/plugins

 
 
  1. #wget http://mirror.cactiusers.org/downloads/plugins/settings-0.5.tar.gz  
  2.  
  3. #tar zxvf settings-0.5.tar.gz  
  4.  
  5. #wget http://mirror.cactiusers.org/downloads/plugins/thold-0.4.1.tar.gz  
  6.  
  7. #tar zxvf thold-0.4.1.tar.gz  
  8.  
  9. #wget http://cactiusers.org/downloads/monitor.tar.gz  
  10.  
  11. #tar zxvf monitor.tar.gz  
  12.  
  13. #vim ../include/global.php  
  14.  

Add the following content after $ plugins = array ();

 
 
  1. $plugins[] = ‘thold’;  
  2.  
  3. $plugins[] = ‘settings’;  
  4.  
  5. $plugins[] = monitor;  
  6.  


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.