Monitor, Thold, setting installation of cacti under CentOS

Source: Internet
Author: User



First, download the required installation package



There are two methods of downloading:



1. Download to local, install by Mount:



Main download page: http://docs.cacti.net/



Php-weathermap-0.97a.zip



Settings-v0.71-1.tgz



Thold-0.4.1.tar.gz



Monitor-v1.3-1.tgz



2, directly in the CentOS through the wget command to download the installation:



wget http://docs.cacti.net/plugin:settings/settings-v0.71-1.tar.gz



wget Http://www.network-weathermap.com/files/php-weathermap-0.97a.zip



wget http://docs.cacti.net/plugin:monitor/monitor-v1.3-1.tgz



Both methods can function properly, according to personal interests, the following wget download as an example to install.



Second, install the plug-in



Friendly tip: Install settings and Thold plug-in, first install settings plug-in, after installing Thold plug-in. Because the settings plug-in provides the relevant settings of the email, later through the setting settings to send mail.



1, enter the cacti directory, download the required installation package



[Email protected] cacti]# cd/usr/share/cacti/



[Email protected] cacti]# wget http://docs.cacti.net/plugin:monitor/monitor-v1.3-1.tgz



[Email protected] cacti]# wget http://docs.cacti.net/plugin:settings/settings-v0.71-1.tar.gz



[Email protected] cacti]# wget http://www.network-weathermap.com/files/php-weathermap-0.97a.zip



2. Unzip the installation package and move the extracted files to the cacti/plugins/directory



[Email protected] cacti]# tar zxvf settings-v0.71-1.tar.gz



[Email protected] cacti]# MV settin~1.tgz/usr/share/cacti/



[Email protected] cacti]# tar zxvf thold-0.4.1.tar.gz
[Email protected] cacti]# MV thold/usr/share/cacti/plugins/



[Email protected] cacti]# Unzip Php-weathermap-0.97a.zip



[Email protected] cacti]# MV weathermap/usr/share/cacti/plugins/



[Email protected] cacti]# CD plugins/
[[email protected] plugins]# ls
index.php Monitor settings simple.conf thold weathermap



3, configuration settings and Thold, modify the configuration file:



[Email protected]/]# vi/usr/share/cacti/include/config.php



/* make sure these values refect your actual Database/host/user/password */
$ Database_type = "MySQL";
$database _default = "cacti";
$database _hostname = "localhost";
$database _username = "Cactiuser";
$database _password = "321321";
$database _port = "3306";
$database _ssl = false;

/*load up  old Style plugins here */

$cacti _session_name = " Cacti ";

$plugins = Array ();

$plugins [] = ' Settings '; 

//$plugins [] = ' thold '; Thold commented out
$plugins [] = ' weathermap ' when installing setting; /span>
/*
   Edit This to point to the default URL of your Cacti install
   ex:if your Cacti Install as at Http://serverip/cacti/this
   would bes set to/cacti/
*/
//$url _path = "/cacti/";

/* Default session name-session name must contain alpha characters */
//$cacti _session_name = "cacti";

?



4, then enter cacti Plugin Management on the page,Thold front there is a blue downward arrow, put the mouse on the top will appear hand shape, click





Click on the green Arrow to enable (Enbale) to become a rectangular box, you will find that the "Status" in the diagram becomes "active".



Then modify the include/config.php file, annotate it, and install it in the Web page, referring to step 3rd.



5. Configuring monitor



Cacti the new version does not require the following configuration file settings, older versions may be required (older versions also need to import their own SQL files):



Activate the monitor plugin and modify the cacti configuration file (include/config.php under the cacti directory). In the configuration


$plugins = Array (), join below this line:
$plugins [] = ' monitor ';
$plugins [] = ' Settings ';
$plugins [] = ' thold ';


Then go to the cacti Plugin Management page, monitor front has a blue downward arrow, the mouse on the top will appear hand shape, installation activation.




To this plug-in installation is complete, down is the specific operation, are relatively simple, here is not detailed said.












This article is from the "Knox" blog, please be sure to keep this source http://9840752.blog.51cto.com/9830752/1837495



Monitor, Thold, setting installation of cacti under CentOS


Related Article

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.