All information of a device that needs to be managed is considered as a collection of various managed objects. These managed objects are defined by OSI in a managed Information Base (MIB) in the virtual information library, the following is the Mrtg configuration for MRTG windows traffic monitoring settings.
Mrtg for w
Mrtg (Multi Router Traffic Grapher, MRTG) is a tool software used to monitor network link Traffic load. It obtains device Traffic information through the snmp protocol, the traffic load is displayed to the user in HTML document format that contains PNG format, and the traffic load is displayed in a very intuitive way. The following describes how to install Perl and Mrtg
MRTG Server Setup (monitor network traffic)
[Date: 2012-07-03]
Source: Linux Community Split_two
[Font: Big Small]
"Experimental Environment"Monitor: Red Hat Linux 5.3 ip:10.10.10.2/24 the operating window of the monitor is a green fontMonitored by: Red Hat Linux 5.3 ip:10.10.10.10/24 operation as white font"Experimental Purpose"Monitor network traffic"Experimental Steps"1, the
:
The code is as follows
Copy Code
#时间从左至右显示, the minimum unit bits,growright is not opened, and the default is the time display order from right to leftOptions[_]: Growright, Bits#页面刷新频率, 300srefresh:300#也是刷新频率, 5 minutes.Interval:5#mrtg默认数据是以文本的格式存在的, add the following content to support the RRDtool database format generation#LogFormat: RRDtool#rrdtool程序所在的目录#PathAdd:/usr/bin/Enableipv6:noWorkdir:/var/www/
Install MRTG monitoring software on the Ubuntu Server:I. install network traffic monitoring [collection once every 5 minutes by default]Switch to Super User:Sudo-sHInstall software:Apt-get install apache2Apt-get install mrtgApt-get install snmpdEdit snmpd:Vim/etc/snmp/snmpd. confFind a similar row and change it to the following: (modify only to block or release)#
Mrtg is an early monitoring software for Internet applications. For example, it was very popular in and years. Its principle is relatively simple: through snmp communication with the managed device, the data is retrieved, and then an image is generated, which is displayed directly without writing the data into the database, which is very simple, mrtg is the prefe
files in the/HOME/MRTG to/HOME/MRTG1Cfgmaker [email protected]--output/root/mrtg1.cfg (192.168.51.236 for client side IP)The addition of the top add content to the configuration file, but will be an error, prompted to have the same name, modify it, for example:target[cpu]: '/home/mrtg/mrtg.cpu ' → target[cpu1]: '/home/mrtg1/ Mrtg.cpu 'Create a client-side directory/HOME/MRTG1Copy the files in t
Recently, the bandwidth in the IDC is always full. To measure the daily traffic and increase the bandwidth, the switch is the S5000 series of H3C, I thought of using a relatively mature MRTG to measure the traffic of the monitoring switch port. Next I will record the implementation steps for future use.Required devices:One management ip address of the H3C switch: 192.168.0.233Server 2003 ip address: 192.168
large number of html files www.2cto.com are generated under the c: \ netmanager directory.Each port generates an html file, which is not conducive to management. We can continue to summarize it into an html file and monitor the ports of all switches on one page. Run the command c: \ mrtg \ bin> perl indexmaker mrtg. cfg -- output = c: \ netmanager \ index.htmlIn this case, the "index.html" file under "c: \
Mrtg (Multi Router Traffic Grapher, MRTG) obtains device Traffic information from the device through the snmp protocol, and displays the Traffic load to the user in an HTML document containing a PNG format, the traffic load is displayed in a very intuitive way. The following is a batch of Mrtg windows traffic monitoring
One, MRGT configuration case Description, here to monitor the card as an example
#通过public监控localhost上的192.168.1.68 address Flow
target[eth1_lan]:/192.168.1.68:public@localhost
#图片右对齐方式
Options[eth1_lan]:growright
#生成图片存放目录
directory[eth1_lan]:eth1
#网卡最大流量
Maxbytes[eth1_lan] : 100000000
#图片Y轴单位数
kmg[eth1_lan]:k,m,g
#Y轴标题
ylegend[eth1_lan]:bytes per Second
#Y轴单位
shortlegend[eth1_lan]:b/s
#接下来是网页上的数据 because the MRTG needs to render the resulting pict
MRTG memory monitoring problems ~ -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. I set up MRTG and want to monitor the memory ~ However, the result shows that the device cannot be found? Why? I don't know why. Please help me. Hey hey... Thank you.
Memory Usages
Last Statistical Update Time: 2008
data. Therefore, in terms of network management, it is necessary to understand the traffic status of our hosts and limit or increase bandwidth based on traffic.We can download the MRTG software from the http://www.mrtg.org. Go to http://www.stat.ee.ethz.ch/mrtg/to get the output result of the mrtgtraffic monitoring chart.MRTG is written in Perl and uses zlib, Gd
3.3Open Step 4.2Mac OS X 10.1And about and other sensible Unix
Devices that can be monitored through MRTG (most products on the market currently support the SNMP protocol, as long as the devices that support the SNMP protocol can use MRTG for monitoring ):
3Com netbuilders, lanplex 6012 and 25003Com etherswitches and hubs3Com linkswitching 1000 1100 33003Com
Installation details for MRTG under Linux (CentOS)MRTG is very powerful, he can control your server for a move, and web-style presented to you, to tell you the network, CPU, memory, hard plate and other uses, but the configuration of this software is actually very troublesome.To install this software and configure it, I went to the internet to check the two days information, finishing the final summary of t
MRTG is working on the SNMP protocol, you have to install SNMP to start MRTG to observe your network, I just did not configure a good net-snmp, so MRTG display will have no graphics, I just made such a mistake.
MRTG uses SNMP to obtain network traffic information from devices using devices such as switches, and to dis
allow them to constantly refresh, you need to add the above command into the crontab
#crontab-E
Add the following line
*/3 * * * env LANG=C/USR/LOCAL/MRTG/BIN/MRTG/ETC/MRTG/MRTG.CFG
Note: This row means that every three minutes is refreshed, and you can modify the refresh interval to suit your needs.
6. Installation finished, you can go to see the results, in t
MRTG is an open source graphical tool for monitoring network traffic load (OETIKER + partner ag in 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 load in PNG format is displayed to the user in WEB mode, and the traffic load
Network traffic is an important indicator for network administrators. Observe the traffic to learn the newest symptoms of the network. Here is the Mrtg tutorial for installing the network traffic statistical analysis tool MRTG.
Mrtg tutorial By SeeLinux
Installing network traffic statistical analysis tool MRTG in FreeB
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.