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
#!/bin/bash# Script Name: Automated installation cacti Server # script last night the Stars # notes:#1. The script applies to the ENTOSNBSP;6.2NBSP;32 bit system; 2. If you already have MySQL and Apache installed, the script may not work;#3. the script does not set a password for the root account of the MySQL service, for your MySQL service security, It is recommended that you manually set the password after the script is executed;#4. for convenience,
1. Install lamp environmentThere is no introduction, a bunch of related documents on the Internet, and a lot of automated installation scripts written by cattle.2. Installing RRDtoolYum install cairo-devel libxml2-devel Pango pango-devel rrdtool–y3. Install SNMPThe operating system typically comes with SNMP, if not installedYum-y Install NET-SNMP net-snmp-libs net-snmp-utils4. Installing cacti(1) Download cacti
I. Use of cacti
1. Interface Introduction
After logging on to cacti, you can see two tabs in the upper left corner, "console" and "graphs ". Console indicates the console, where all configurations and other operations are performed, while graphs is used to view the performance images of all servers.
2. Console menu
Create:
New Graphs-Shortcut for creating new images;
Management:
Graph management-image mana
Because the official does not provide the Windows version of cacti to monitor the number of TCP connections in the script, so here is the use of Linux version cacti monitoring TCP connection number of Bash scripts write bat batch file.1, first download from http://forums.cacti.net/download/file.php?id=5198 officially provided by the Inux version cacti monitoring
Cacti uses cmd.php to complete the data collection by default, but finds that there is a significant delay in cmd.php acquisition and that execution is inefficient. It takes longer than 10 minutes for the device to wait from the time it is added.When the device is down alert, it may take more than 10 minutes.Therefore, it is necessary to optimize cacti acquisition performance using spine.The first part: Bac
update-alternatives--Management soft Connect/Word linked (Symbolic links)
Command format
update-alternatives [Options] Command
Detailed description
Update-alternatives can be created, deleted, repaired, soft-connected, and can display information about existing soft links, all of which constitute the Debian alternative system (
Introduction to Cacti and RRDtool
I. Overview
Linux uses the most is MRTG performance monitoring, MRTG configuration is relatively simple, MRTG is really very good dongdong, but I think it is after all, is a very old software, the author of the years ago has developed a rrdtool to replace the software, now has developed very mature. Since there is a better choice, why do we have to use MRTG?
Simply put, RRDtool is a powerful drawing engine, and man
Ubuntu update-alternatives (soft connection management), ubuntualternatives
Update-alternatives-manage soft connections/character links (symbolic links)
Command Format
Update-alternatives [options] command
Detailed description
Update-alternatives can be used to create, delete, repair, and soft connections. It c
Alternatives is a powerful command under Linux. Can only be performed under root permissions. If there are several commands in the system that are very similar, but cannot be deleted at will, then you can use alternatives to specify a global setting.
Alternatives is often used to install multiple versions of the same software in the same system. For example, in
Alternatives is an important version management tool under UNIX, which was first seen in the Debain system, because its powerful usability makes it a large number of porting in various UNIX environments, And we probably most often use the Java OPENJDK Toolkit in the usual version of the conversion, and in the alternatives implementation of multi-version is the replacement system using the command link to im
Alternatives command usage
Alternatives is a powerful command in Linux. It can only run under the root permission. If the system has several commands with similar functions but cannot be deleted at will, you can use alternatives to specify a global setting.Alternatives is often used to install multiple versions of the same software on the same system. For example
Alternatives command usage
Alternatives is a powerful command in Linux. It can only be executed under the root permission. If the system has several command functions that are similar but cannot be deleted at will, you can use alternatives to specify a global setting.
Alternatives is often used to install multiple vers
Disclaimer: this series of documents is from the stone note. If you reprint the documents, please indicate the source. I keep the ownership of the documents and welcome to reprint them.
I,Overview
1. cacti is a software implemented in PHP. Its main function is to use the SNMP service to obtain data and then use rrdtool to store and update data, when you need to view data, use rrdtool to generate charts and present them to users. Therefore, SNMP and r
Reprint: http://blog.csdn.net/maixia24/article/details/11707289Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-
Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version , for example, we install both open jdk and sun in the system JDK two versions, and we want the system to use the sun JDK by default, what to do? Through the update-alternatives can be very convenient to achieve.sudo
Alternatives is a powerful command under Linux. Can only be performed under root authority. If there are several command functions in the system that are very similar, but can not be arbitrarily deleted, then use alternatives to specify a global setting.Alternatives is commonly used to install multiple versions of the same software on the same system. For example, in order to develop the need, I need to ins
MySQL templates, which are used online in this address http://mysql-cacti-templates.googlecode.com has not been accessedGoogle found this URL:Introduction Cheat: http://www.percona.com/doc/percona-monitoring-plugins/1.0/cacti/mysql-templates.htmlDownload page: http://www.percona.com/downloads/percona-monitoring-plugins/In order to facilitate everyone to download, upload to csdn available for download: http:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
@ Echo
Off
Rem
========================================================== ==============================================
Rem
Back up cacti Databases
Rem
Perfectaction
Rem
User Name
Set
User
=
Root
Rem
Password
Set
PWD
=
ABC
.
123
Rem
Database Name
Set
Database_name
=
Update-alternatives command 1. Functions
Update-alternatives is a dpkg utility used to maintain symbolic links of system commands to determine which commands are used by default.
In the Debian system, we may install many similar programs and optional configurations at the same time, such as the web browser program (Firefox, Konqueror), Window Manager (wmaker, metacity) different theme from that of the mo
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.