Figure-LAMP
The most comprehensiveLAMPEnvironment setup:
Build a linux environment
I. system conventions
Software source code package storage location:/usr/local/src
Source code package compilation and installation location
Figure-LAMP
When using LAMP,LAMP SecurityI am worried about the problem, but the problem has been introduced in the previous two articles. Now I will introduce the last one of LAMP security: mysql.
MysqlAspect:
1. Modify the root user password and
The LAMP platform is not powerful and has failed again. Let's see what the problem is!
1. Error description:
"Cocould not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName"
Solution:
1.
Nagios alarmPassFetionThe specific operations are as follows:
Figure-nagios
System Environment: suse 10.1
Nagios: nagios-3.0.6.tar.gz Plugin: nagios-plugins-1.4.13.tar.gz
Fetion: fetion_linux_20080402.tar.tar and lib library files to be used
All
NagiosFunction monitoringWindowsThe local information operation process is a bit annoying, but it is easy to learn. Let's take a look!
Figure-Nagios
How to monitor "Local Information" in windows"
In the nagios2.x series, there are few
Nagios featuresAndNagios StructureVery powerful and useful!
How can system administrators monitor a large number of machines and services to solve problems in advance to prevent people from being affected by these problems? The answer is Nagios.
Nagios ServiceThe configuration is as follows:
Figure-Nagios
Custom Configuration
The configuration file of the sample is installed in the directory/usr/local/nagios/etc by default. You can configure Nagios to run the sample file properly.
ConfigurationNagiosMany configurations are required, such as configuring contacts and contact groups.
By default, all Nagios configuration files are located in the/etc/nagios directory. For convenience, the configuration file symbols related to
Figure-nagios
Nagios distributedThe configuration process is as follows:
I. installation and configuration of NSCA plug-in
Http://nchc.dl.sourceforge.net/sourceforge/nagios/nsca-2.7.2.tar.gz
Compile and install nsca:
View Source Code
Print help 0./
NagiosInstall sanjianke:
Create a nagios account
/usr/sbin/useradd nagios && passwd nagios
Create a user group named nagcmd to execute External commands from the Web interface. Add both nagios users and apache users to this group.
Open-Source MonitoringWeaponNagiosScenario Description:
For ease of Problem description, we assume that five servers (web servers, database servers, email servers, and nfs file sharing servers) need to monitor the services of several servers,
DeploymentNagios ServiceThe specific implementation steps are as follows:
Deploy nagios services
(1) Add an accountTo run Nagios. Of course, you can also run it with the root account. However, for security reasons, you can run it with a common
Nagios monitoring iostatThe specific steps are as follows!
NetSeek wrote an article is to use nagios monitoring iostat, But he uses the source code package compilation, specific can refer to his article
CACTIIt is a software that monitors network traffic. It is very useful. You can find the basic knowledge you want to know in this article!
1. What is CACTI? What is its use?
Cacti is a PHP program that uses snmpget to collect data and rrdtool to
In this network information age, O & M personnel and network management personnel do not have a software suitable for themselves. If the work is not smooth, try it.CactiFor new access to Cacti, you must refer to this article and introduce some
PNP is a small open-source software package. It is based on PHP and PERL and uses rrdtool to plot data collected by Nagios into charts. If you want to install Nagios pnp, the detailed Nagios pnp configuration is provided for your reference.
Nagios
CactiIs a commonly used monitoring network software, sometimes I useMonitoringMyHard DiskI/O. Let's see how it works!
Cacti hard disk I/O monitoring method:
The cacti template can only monitor the disk usage, but cannot monitor the usage percentage.
Nagios pnp has been configured and installed. Here, detailed Nagios pnp configuration is provided for you to refer to the configuration of Nagios pnp after installing all the software. Test the configuration file and restart Nagios.
Problem:1. For
CactiTraffic MonitoringBitThe specific method for converting to M is as follows!
The Cacti built-in Traffic monitoring threshold template is "Interface-Traffic". Only bytes can be monitored. After adding a threshold value, the alarm information
Cacti Data StructureAs follows:
Cacti is easy to use and powerful, but its data structure is very messy. Most people cannot understand it and there is no information. It is really a great deal of effort to do some secondary development.
The data
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