Cacti in the English meaning is the meaning of cactus, Cacti is a set of PHP,MYSQL,SNMP and rrdtool development of network Traffic Monitoring Graphics analysis tool, using PHP development, it is composed of a number of PHP page software, mainly for the enterprise's large number of network equipment, server host Can monitor the service, can provide the CPU load, m
Article title: use Mrtg to monitor network traffic (for Linux ). 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.
Although mrtg has been used to monitor the traffic of network dev
Most products on the market currently support the SNMP Protocol. As long as devices that support the SNMP protocol can use MRTG for monitoring, the following are the specific configurations and services for installing linux Mrtg to monitor host traffic.
(1) linux Mrtg monitors host
Article title: Cacti cannot normally monitor traffic exceeding MB. 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.
Modify the configuration in Cacti
On the Cacti management page, choose Console> Data Source.
Find the port to be modified (that is, the port with a
/system32/cmd.exe in addition to the administrators user group for security reasons, all other user permissions are deleted. To solve this problem, add the system read and run permissions.
In addition, in the process of searching for information, we found that the MRTG is not authorized to monitor the traffic, and WMI and SNMP can be used to
MRTG is an open source graphical tool to monitor network traffic load (OETIKER + PARTNERAG Germany provides one of the open source projects, http://oss.oetiker.ch/mrtg/), through the snmp protocol to obtain the traffic information of the device, the HTML document of the traffic
. cfg file. There are two methods:
1. Just delete comments and modify them to point to the device you want to monitor. You need to have a good understanding of the MIB or OID information. If possible, you can add it later.
2. It is also a simple method. You only need to use the generator maker to enable MRTG to automatically create a mrtg. cfg (configuration file ). The method is as follows:
Use consumer maker
Command
Registrant maker public@192.168.
0.24KB. The Check Interval is 30s |In=0.12kb;1200;1700;0;0Out=0.12kb;1500;1800;0;0Total=0.24kb;2700;3500;0;0 Interval=30s;1200;1800;0;0Explain:-V SNMP Protocol version-C Community NameThe-I parameter corresponds to the network card of the above-l output index value. Flag to monitor the appropriate network card.-W Warning value-C Alarm ValueConfiguration of the 4,nagiosIncrease the command.cfg of NagiosVim/
1. Switch to enable SNMP protocol2. Installing MRTGYum-y Install MRTG3. Configure MRTG(1) Create the configuration file, if there are multiple switches, you can create a corresponding configuration file for each switchMkdir-p/USR/LOCAL/MRTGcfgmaker-output=/usr/local/mrtg/switch.cfg [email protected] Switch IPThe switchw.cfg configuration file generated at this time records information such as the model of the monitored switch, all ports being used, VL
Demand is that we need to monitor the traffic on the server, there is a circulating check_traffic.sh on the network, it needs to be monitored by the machine to turn on SNMP. But it feels like you're using Nagios and you have to open SNMP ... A bit of axe scissors together with the feeling, so I wrote a
I suddenly wanted to monitor the network card Traffic in Linux and didn't want to use cacti. I thought it was very troublesome to Configure SNMP. Ready-made tools seem to be useless. Decide to write a script by yourself.
Click (Here) Fold or open
#! /Bin/bash
Rx1 = $ (ifconfig $1 | grep "RX bytes" | awk '{print $2}' | awk-F: '{print $2 }')
Sleep 1
Rxa
In Linux/Unix-like systems, you can use top to view system resources, processes, memory usage, and other information. To view the network status, you can use tools such as netstat and nmap. To view real-time network traffic and monitor TCP/IP connections, you can use iftop. What is iftop? Iftop is mainly used to display the network traffic of the local machine an
Article Title: monitors the real-time traffic of NICs. 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.
Real-time traffic of NICs in Linux/Unix Monitoring Systems
Iftop is a good choice. She can come to the source and target and port in detail.
Ifstat reports interface
In Linux/Unix-like systems, you can use top to view system resources, processes, memory usage, and other information. To view the network status, you can use tools such as netstat and nmap. To view real-time network traffic and monitor TCP/IP connections, you can use iftop.
What is iftop?
Iftop is mainly used to display the network traffic of the Local Machine a
Comment: In Unix-like systems, you can use top to view system resources, processes, memory usage, and other information. To view the network status, you can use tools such as netstat and nmap. To view real-time network traffic and monitor TCP/IP connections, you can use iftop. I. What is iftop? Iftop is a real-time traffic monitoring tool similar to top. Official
Nload is a very useful traffic monitoring tool with powerful functions. it can monitor network card traffic in real time, including Incoming and Outgoing, that is, inbound and outbound traffic CentOS.
NloadIt is a very useful traffic monitoring tool with powerful functions.
Cacti self-brought traffic monitoring threshold template for "interface–traffic", can only monitor bytes, after adding thresholds, alarm traffic information in bytes units, viewing is unfriendly, you can convert Btyes to MB units by the following methods.1, add the Traffic c
software. This article uses its powerful traffic Graphic System Host Table to monitor network traffic in real time. In terms of monitoring software, we chose the sniffer pro, which is commonly used by NAI companies. In fact, many Internet cafe administrators have experience in monitoring the network: when there is a network problem or network conditions are expl
Through the/proc/net/dev can be viewed to the network card traffic, according to the changes in the value of the file in conjunction with while loop write a real-time monitoring network card script, by specifying the network card name as parameters to monitor the traffic of the specified network card
#!/bin/bashWhile ["1"]TodoEth=$1rxpre=$ (Cat/proc/net/dev | gr
Install vnStat on CentOS to monitor ECs traffic
In addition to the Panel provided by the service provider, we can also install vnStat to monitor the upstream and downstream traffic of your VPS or server on a daily basis. The vnStat installation method is simple, which can be divided into compilation and installation or
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.