Cacti plug-in (1)

Source: Internet
Author: User

CactiI often use network monitoring software. To better use it, I decided to install a few usefulPlug-ins!

Cacti plugin

The Cacti plug-in is an extension of cacti.

To use the cacti plug-in, you must first extend the cacti architecture to support the plug-in.

1. Install cacti plug-in architecture Extension

: Http://cactiusers.org/downloads/patches/

The current version is V1.1 and is designed specifically for cacti V0.8.6.

1) decompress the downloaded tar package and you will get a cacti-plugin-arch directory.

# Tar-zxvf cacti-plugin-arch.tar.gz

# Cd cacti-plugin-arch

# Ls

2 ). there are two methods to install cacti plug-in architecture extension. The first method is to use the patch file, which contains the differences between the original file and the modified file, therefore, you can use the patch file to obtain the new file. The second method is to use the pre-patched file to directly overwrite the files in the files-0.8.6 * directory corresponding to cacti. Choose to use the patch file for installation (this is also recommended on the official website ). Copy the cacti-pligin-0.8.6 *. diff file of the corresponding version of cacti to the cacti directory and install it using the patch command.

# Cp cacti-plugin-0.8.6j.diff/usr/local/apache/htdocs/cacti

// Back up the cacti directory so that the plug-in extension can be restored to the original state after the installation fails.

# Cd/usr/local/apache/htdocs

# Cp-r cacti./cacti. bak

# Cd./cacti

// Use the following command to test

# Patch-p1-N -- dry-run <cacti-plugin-0.8.6j.diff

// After the preceding command is successful, run the following command to install

# Patch-p1-N <cacti-plugin-0.8.6j.diff

3 ). after the configuration is installed, first check your cacti configuration file to see if cacti-related database information is overwritten. If so, copy a copy from the backup file directly to the configuration file directory.

# Cp ../include/config. php./include/config. php

Open the cacti configuration file and find the following options:

$ Config ['url _ path'] = "/";

If your cacti can be directly accessed in a browser using the following methods, you do not need to modify the cacti configuration file.

Http://www.youdomain.com or

Http: // ip address of the cacti Machine

If cacti is directly accessed in a browser using the following methods,

Http://www.youdomain.com/cacti or

Http: // ip address of the cacti machine/cacti

Then $ config ['url _ path'] = "/"; must be changed to $ config ['url _ path'] = "/cacti /";

Note that the forward and backward/cannot be lost.

Now that the cacti plug-in structure has been extended, you can download and install the required cacti plug-in.


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.