Use SNMP and Cacti to monitor Linux servers
SNMP (Simple Network Management Protocol) is used to collect internal data, such as load, disk status, and bandwidth. Network monitoring tools such as Cacti use this data to generate icons for monitoring purposes.
In a typical Cacti
Cacti adds monitoring remote Linux host based on the SNMP service
After Cacti is installed, only the local host can be monitored by default. To monitor Linux and Windows Remote clients, you must install the SNMP service on the remote client host to capture data through SNMP,
CACTIIt took a long time, but it was a lot of trouble for beginners to configure CACTI. This article will learn how to test the Basic settings of CACTI.SNMP Service!
Test the SNMP service
Use the following command on the Cacti Server:
Snmpwalk-v 2c-c public 192.168.0.1 if
This command indicates that the SNMPV2c version and community name are used.
"Public":
The suspicious snmp service is reflected in many software. So we will introduce the Cacti software today. Now I will give a brief introduction to some functions and operations of this software. The Cacti Chinese version is a software implemented in php. Its main function is to use the snmp service to obtain data and th
) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/8B/97/wKioL1hSTnnzERz8AAGBjLmjt9M336.png "title=" 6.png " alt= "Wkiol1hstnnzerz8aagbjlmjt9m336.png"/>question three, Warning:poller Output Table not EmptyAs the prompt is because the output file is not empty, guess is because the page was deleted but not at the command line delete, so cacti again the ID number was reassigned,so、、、650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/8B/98/wK
Article Title: configuration of SNMP on the monitored side of cacti. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Install net-snmp
[Root @ jacktest jackNet-snmp-5.2.1.tar.tar]
1. install and configure snmp
A. yum install-y net-snmp-utils
B. chkconfig snmpd on
C. chkconfig-list | grep snmpd
D. vi/etc/snmp/snmpd. conf
SetView systemview embedded ded. 1.3.6.1.2.1.1ChangeView systemview embedded ded. 1.3.6.1.2.1
Set
Com2sec notConfigUser default public
Change
Com2sec notConfigUser default XDXDXD (more complicated)
E. Restart the
1. install and configure SNMP
A. Yum install-y net-snmp-utils
B. chkconfig snmpd on
C. chkconfig-list | grep snmpd
D. VI/etc/snmp/snmpd. conf
SetView systemview embedded ded. 1.3.6.1.2.1.1ChangeView systemview embedded ded. 1.3.6.1.2.1
Set
Com2sec notconfiguser default public
Change
Com2sec notconfiguser default xdxdxd (more complicated)
E. Restart the
How to extract data from SNMP in cacti recently, the company is working on a cactiez-based project. Cactiez has a function that generates an alarm when the host goes down, for example, when the memory exceeds the threshold (or hard disk, traffic, etc, the problem is that you do not know how to extract the data collected by SNMP from the SN
Yesterday, my colleague told me that cacti suddenly could not catch the SNMP data of a server. Let me see it and then I hurried out .. After logging on to the server, I simply checked that port 161 is on, and the process is not suspicious. I restarted the snmpd service and used
Snmpwalk-V 2C-C public localhost. 1.3.6.1.2.1.1.3
Command to capture the data. I thought the problem had been solved. Who knows tha
Tags: cacti Open the Default SNMP configuration file/etc/snmp. conf and change the following Configuration: 1. Search for the following code: # Sec. Name source community Com2sec notconfiguserDefault Public Change the "Community" field to the password you want to set, for example, "public ". Change "default" to which machine you want to view your
Cacti is a set of graphical analysis tools for network traffic monitoring based on PHP,MYSQL,SNMP and RRDtool development.Mysqlreport is the most commonly used tool for MySQL performance monitoring, and it helps to understand MySQL running status and configuration tuning.Mysqlsla is a MySQL log analysis tool launched by hackmysql.com, which is very powerful. Data reports are very useful for analyzing the ca
. Put the template-related xml data collection file in cacti/resource/snmp_queries on Linux. Make sure that both the owner and group are cacti.
C. Click Console-> Devices to go to the device management page.
D. Click add in the upper right corner to add a new machine.
E. After the host information is filled in, click Create
F. At this time, the upper left corner of your page should display: Save Successful
divide by 1024 and fill in the alert email box to complete the addition of the threshold template.
Apply the created threshold template. On the console tab, click devices, select the host to which the template is applied, and click the topCreate graphs for this hostClick the auto-create thresholds link to apply the created threshold template.
After setting, click thresholds in the left-side menu under the console tab.
You can manage created alarms here.
Click the threshld tab to view the tr
OutlineI. Brief introduction of CACTISecond, configure Nginx, PHP, MySQLThird, cacti + spine construction
First, briefThe cacti collects data sources based on SNMP, RRDtool stores data and plots it to users. The data source that SNMP obtains is the. rrd file, which is stored in the RRA directory under the
First, CACTI monitoring introduction1, Cacti IntroductionCacti is a set of graphical analysis tools for network traffic monitoring based on PHP,MYSQL,SNMP and RRDtool development.Simply put, cacti is a PHP program. It uses the SNMP protocol to obtain remote network devices a
Cacti is a software implemented in php. Its main function is to use the snmp service to obtain data, store and update data using rrdtool, and generate charts and present them to users. Previous articles briefly talked about Cacti monitoring
The following section describes the Linux application that Cacti monitors.
I. A
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.