[[email protected] ~]#View the mode rate of the second NIC (Red is required to fill in the Zabbix SNMP OID)[Email protected] ~]# snmpwalk-v 2c-c public 192.168.100.246 if-mib::ifinoctets.2if-mib::ifinoctets.2 = counter32:101 09443[[email protected] ~]#650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/95/wKioL1cjTJPi2gDpAACKngAoZF4028.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cjtjpi2gdpaackngaozf4028.png "/>650) this.width=650;
MAGUSV this view can read and write to the previously set node.To this end, the server configuration has been completed, restart the snmpd on it, below to see how to get the data we want through SNMP
Snmpwalk-v 2c-c magus localhost 1.3.6.1.4.1.9129.1.2.2
Snmpwalk can facilitate all child nodes under the specified node, and the-v parameter specifies the protocol version of SNMP, which is the s
use the command:$ service SNMPD StartTip: Starting SNMPD: [OK], the SNMP service started successfully.You can set the SNMP service to boot from boot, which eliminates the hassle of manual startup.Use the command: $ chkconfig snmpd on to set the SNMPD service to boot from.Then use the command: $ chkconfig--list | grep snmpd to see if it has been set successfully.4. Verifying SNMP Service(1) Use the Snmpwalk command to view the host name of native loca
' MyGroup ' group, define group permissions
Group MyGroup v1 MyUser
Group MyGroup v2c MyUser
View all included 1
Access MyGroup "" Any noauth exact all none
root@server:~# Service SNMPD Restart
root@server:~# Chkconfig snmpd on
Restart the SNMPD service and add it to the Startup services list.
Testing SNMP
SNMP can be tested by running the Snmpwalk command. If SNMP has been configured successfully, this command generates a large amount of ou
Linux services)It is important for Linux users. Disabling unnecessary services can make Linux run more efficiently, but not all Linux services can be disabled. After installing centos Linux today, we found that many services were started when
Linux-(2) Basic file operations in Linux, linux-linux
In linux, everything is files, directories are files, and hardware is files. Therefore, basic file operations are especially important.
1. List the contents of the directory:
Ls
Parameters:
-A: displays all files (includ
Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external commands: Type CDWhich find the locatio
.
As we all know,linux system everything is a file, so each process has its file descriptor, The Nginx process writes its own file descriptor to the Nginx.pid, and we need to tell Nginx to reopen a new log file (the configuration details of the log file can be seen here, simply by letting the log record what. So we need this directive:kill -USR1 `cat ${pid_path}`This instruction means: first cat to Nginx PID, is an integer, and then send the signal
Common linux O M commands in Linux O M, recording the work bit by bit, accumulating over time and constantly improving! Routine shell operations and a collection of typical commands are shared with Linux O M beginners! Everyone just needs to share a little bit, and we can all get a lot! 1. Search for all tar files and move them to the directory: find. -name "*
Becoming a Senior Programmer proficient in Linux programming has always been the goal of many friends. According to statistics from chinacache, the monthly salary of Linux programmers in Beijing is 1.8 times that of Windows programmers, 2.6 times that of Java programmers, and 2.9 times that of Windows programmers. At the same time, the data shows that with the increase of work experience, the income gap bet
Since there is a firewall enabled when adding a Linux host, there are two ways to troubleshoot Linux hosts because of the inability to monitor Linux hosts:This command can be executed by the monitoring host: Snmpwalk-c public-v 2c 192.168.100.244 indicates the ability to receive data information from the monitored mach
A collection of Common commands:1. Search for all tar files and move them to the directory: Find. -name "*. tar "-exec MV {}. /backup/; 2. Search for I in 'Find. -name *. HTML | SED's /. // G' | SED's/html /. html/g''; do echo http: // 192.168.0.170: 8017 $ I; done
3. Remove the. character at the beginning of the line:Find. -name *. HTML | SED's/^. // g'4. Find the file type and back up it to another directory: Find. -Name nginx. conf. tgz-exec CP {} DIR/; 5. Monitors
Cacti monitoring Linux and Windows disk IOTags: cacti linux disk io windows disk IO original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated. http://charlie928.blog.51cto.com/3741218/1331780One, the environment
123
cacti版本:0.8.8b# uname -aL
This series of articles summarizes Linux network stacks, including:(1) Linux Network protocol Stack Summary(2) Network multipart offload technology Gso/tso/ufo/lro/gro in non-virtualized Linux environment(3) QEMU/KVM Network multipart offload technology in virtualized Linux environment Gso/tso/ufo/lro/gro1.
Cacti is a set of graphical analysis tools for network traffic monitoring based on PHP, MySQL, SNMP and RRDtool.
If you want to use CACTI to monitor the Linux server's network card traffic, you need to install Net-snmp-utils-related packages on the monitored Linux servers, and we can install them via yum online, for example:After the net-snmp-utils is installed, edit the/etc/snmp/snmpd.conf document on the
1, what is Linux?
To be exact, the Linux kernel (the core program of the system), whose kernel copyright belongs to Linus Torvalds, is issued under the GPL (GNU general public License) Copyright Agreement, and anyone can copy (copy) and modify ( Change), package distribution (distribute), sales, but can not add any restrictions at the time of distribution, and all the original code must be public, so anyone
DirectoryFirst, common monitoring softwareIi. Overview of CactiThree, cacti working principleIv. installation of cactiV. Configure cacti Monitor the machineNote: All software in this document is installed with YumI. Overview of common monitoring software1, cactiCacti 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 and related informati
as follows: 1) VI mytask.sh Enter the following command Date>>/home/mydate3 Cp/home/mydate3/root 2) Grant mytask.sh Execute permission chmod 744 MYTASK.S H 3) Crontab-e 4) Re-enter the command: * * * * * */root/mytask.sh. (3) How to terminate a task crontab-r means to terminate a task schedule. After the command is executed, the tasks in the crontab-e are removed. CRONTAB-L indicates which task schedules are currently in the list.2, the Linux proces
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.