, grant the Group read-only access to the systemview view.# Group context sec. Model sec. Level prefix read write notifAccess notconfiggroup "" any noauth exact systemview noneChange the "read" field to all.Code:# Access notconfiggroup "" any noauth exact all none3. Search for the following fields:# Incl/excl subtree mask# View all supported ded. 1 80Remove "#" before this row.Disk/Save and close========================================================== ==========================================
I. cacti script and template
Cacti script and template Forum:
Http://forums.cacti.net/forum-12.html
A complete list of cacti scripts and templates:Http://forums.cacti.net/about15067.html
1. Advance Ping script and template
:Http://forums.cacti.net/about10049.html
Note: To use this template, you must add the -- enable-sockets option to support sockets during PHP
To use cacti, you must have certain knowledge about using net-snmp and rrdtool. Today, we need to run the Catci configuration command to help you install and update the CentOScacti system.
Catci Configuration:
# Mysqlcacti-uroot-p # chown-Rcactiuserrra/log/# Viinclude/config. php$ Database_type = "mysql ";$ Database_default = "cacti ";$ Database_hostname = "localhost ";$ Database_username = "cactiuser ";$
Custom Cacti host Template
After installing cactiEZ, You can monitor the host and find that the built-in template is different from what you want to monitor. Some monitoring projects do not, but many useless items are added. So I made a custom set and did not say anything. The attachment is a template.
------------------------------------------ Split line ------------------------------------------
Free in http://linux.bkjia.com/
The username and passw
/conf/httpd.confDirectoryIndex index.php index.htmlCreating index.php at the root of the Web pagevim/var/www/html/index.phpPhpinfo ();?>Start HTTP and MySQLService httpd StartService mysqld StartChkconfig--level httpd onChkconfig--level mysqld onTest the lamp for normal access3, installation (RRDtool, cacti)Install RRDtool, Perl-rrdtool, Ruby-rrdtool, Rrdtool-devel, libdbi with rpmUnzip the cacti to the Web
Cacti the method and idea of the error of the imageCacti the monitoring is not much to say. After the installation is complete, novice will encounter a lot of problems, but the most important problem is that Cacti can not draw the image (can not draw the image and what you do). So here is a brief introduction to the wrong idea. In the following summary, the wrong order:1.system Utilities–>rebuildpoller Cac
because of the efficiency, when a large amount of data acquisition is required, if the use of the cmd.php poll will be slow, 1 minutes 1 times the acquisition frequency may not complete the polling of all the monitored machines, This may result in the partial monitoring project not showing the graph or the graphics intermittent . In order to solve the efficiency problem, cacti official also launched spine, using multi-threaded way of efficient polling
Installation Environment:RHEL 5.8 Apache 2.4 Mysql 5.5 PHP 5.5First install the lamp platform, installed after the establishment of test page Test no problem to cacti official website to download the installation package, I installed this is cacti 0.8.8c version (latest) 650) this.width=650; "title=" HJ] ' x0bs[9qq7{9% @LW} 0fv.png "alt=" wkiom1sswqszadcuaacrkj5kxye522.jpg "src=" http://s3.51cto.com/wyfs02/
problem one, intermittent into a diagramJust started to make a habitual attempt:Web-side Delete metadata and views and delete the corresponding source data at the command line, no effect, check the domestic and Foreign Forum website, no effect, there is a domestic Bo friend also deleted the original and new, helpless the entire device deleted, and delete all the relevant source data ( command line ) , the second day of rebuilding was normal 、、、So after all the heart is not steadfast ah so look a
Installing cacti with lamp is still relatively simple. Learn it quickly!
Steps:
1. Install net-snmp
yuminstallnet-snmp*
Note that you need to add * to install all the doon; otherwise, there is no command required by cacti.
2. install php-snmp
yuminstallphp-snmp
3. Install rrdtool
wget[url]ftp://ftp.pbone.net/mirror/atrpms.net/el4-i386/atrpms/stable/rrdtool-1.0.50-25.el4.at.i3
Cacti is an excellent monitoring tool that intuitively displays the status of Monitored Objects through templates or custom templates. By importing the apache_status template, Cacti can monitor the performance of Apache servers.
1. Configure apache
1. Enable server status Details
Edit the apache main configuration file httpd. conf and remove the comments before the following statement: vim/etc/httpd/conf/
Production environment:Os:centosrelease 6.7 (Final)Monitoring software: Cacti 0.8.8aPlugin: cacti087e-mssql-host_template.tgz:Http://docs.cacti.net/_media/usertemplate:host:microsoft:cacti087e-mssql-host_template.tgzTask: Cacti monitor MSSQL 2005 running resource statusOverview: SQL server2000\2005\2008 itself does not support SNMP, using cacti to monitor MSSQL,
Since I am using the latest version of cacti-0.8.8a, there is no need to patch to support the installation of Plug-ins. So how do you know you don't need a patch?
Open Console--〉〉user Management if you find plug management, you don't need a patch.
For message alerting
[Root@test3 ~]# tar zxvf settings-0.5.tar.gz
[Root@test3 ~]# MV Settings/usr/local/apache/htdocs/cacti/plugins
Click on the console---
To monitor the performance of mysqlserver, it is estimated that many people use the mysql-cacti-templates template in cacti, but its default configuration only supports monitoring of the standard mysql3306 port. In fact, its script supports multiple ports, but the configuration in the template is not supported by default. The script parameters are as follows: Usage: phpss_get_mysql_stats
To monitor the perf
configuration files of the old yum package. Original configuration: com2secnotConfigUser default publicaccess notConfigGroup "" any noauth exact systemview none # view all included. 1 80 changed to: com2secnotConfigUser 127.0.0.1 public #127.0.0.1. access notConfigGroup "" any noauth exact all none noneview all encoded. 1 80 startup service: service snmpd start 4. install cacti tar zxvf cacti-0.8.7g.tar.gz
CACTI installation soon, the image interface came out, but there has been no data.Errors or warnings in the Cacti log are all resolved. There are also some permissions that require access to files.Reference Online Summary: solve cacti no image or no data
1.system utilities–>rebuild Poller Cache
2. System time is not accurate, reset time must pay attention t
Recently, we want to use memcache for single-instance and multi-instance performance tests. We checked some monitoring tool information on the Internet to lock the powerful cacti.
The prerequisite for installing this file is that you have obtained the cacti installation package. The machine is installed with the MySQL, Apache, and PHP environment. In other words, your machine can execute the PHP file.
System Environment: CentOS 5.5Install all software using yum. 1. When installing Nginx to compile PHP, check whether the -- enable-sock parameter is added. After installation: cd/usr/binln-s/usr/local/php/bin/php 2. To install rrd and snmp, add the yum source first, otherwise, Yum won't get what we want. vi/etc/yum. repos. d/CentOS-Base.repo [dag] name = Dag RPM Repository for Red Hat Enterprise Linux baseurl = export gpgcheck = 1 gpgkey = http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt e
Cacti The default polling cmd.php performs a bit less efficiently, and spine components written in C language are much better performing. Install spine to match the version of Cacti, this article takes the latest version of cacti0.8.8a installation as an example.
Here we are set the default five-minute poll to one-minute polling
Install Cacti-spine
wget http:/
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.