SNMP functions are not discussed, mainly to implement equipment monitoring.Installation of SNMP on the OpenWrt network is also a lot of the introduction of monitoring, but only through the Snmpwalk command to obtain the status of other devices are not introduced.Take a look at OpenWrt's wiki and find the installation method.The key is one sentenceInstall snmp-utilsThe status of the remote device can be test
prepared.
The installation package-free installation is easy. You can install the net-snmp package locally, and then copy the bin directory under the installation directory to other servers. As follows:
In this way, you can copy the bin directory to other machines for use. Note: To make it easier to use the snmpwalk tool, we can add the path of this directory to the system environment variables, as shown below:
In this way, we have insta
simple, which is to install the NET-SNMP software package locally and then copy the bin directory from the installation directory to the other server. As follows: This allows the bin directory to be copied to other machines for use. Note that in the process of using the Snmpwalk tool for more convenient use, we can add the path of the directory to the system environment variables, as follows: So we'll have the NET-SNMP installed. About the
command line version.–r: Specifies the number of retries, which defaults to 0 times.–t: Specifies the wait time-out for each request, in seconds, and 3 seconds by default.–l: Specifies the security level: Noauthnopriv|authnopriv|authpriv.–a: Authentication protocol: md5| SHA. Required only IF-L is specified as Authnopriv or Authpriv.–A: Validates the string. Required only IF-L is specified as Authnopriv or Authpriv.–x: Encryption protocol: DES. Only
The SNMP service is often used in routine monitoring, while the snmpwalk command is the most effective method to test the system information. Some common methods are summarized as follows:
1. snmpwalk-C public-V 1-m all 192.168.30.49. 1.3.6.1.2.1.25.1.
2. snmpwalk-C public-V 1-m all 192.168.30.49. 1.3.6.1.2.1.25.2.
The Snmpwalk command is the most effective way to test the various information of the system, commonly used in the following ways:1, snmpwalk-c public-v 1-m all 10.0.1.52.1.3.6.1.2.1.25.1 get the number of system processes users on the Windows side, etc.2, snmpwalk-c public-v 1-m all 10.0.1.52.1.3.6.1.2.1.25.2.2 Get To
For the installation process, see the official documentation. The cacti requires an SNMP package for use. The installation method in centos is yum install net-snmp. This is no problem. When installing cacti, refer
, Snmpwalk will be used. The yum method is generally unable to install this file. Baidu later found that it is generally recommended to delete the snmp package installed on the small yum, then download the complete SNMP source code and
Use the mkdir command to create directories and subdirectories under Linuxnow that we've listed the entries in the directory with the LS command, we're going to learn how to create a directory under a Linux system. Under Linux, we can use the mkdir command. MKDIR is the acronym for Make directory. What is mkdir?Mkdir is a co
Memcached Set store commandThe Memcached set command is used to store value (data value) in the specified key (key) .If the set key already exists, the command can update the original data corresponding to the key, that is, the role of the update.Grammar:The basic syntax format for the SET command is as follows:Set[noreply] The parameters are described as foll
Tags: Linux daily operation and maintenance management skillsw command: View system loadWLoad average the number of active processes that use CPU activity during the unit timeTo view the number of system CPUs (logical CPUs)Cat/proc/cpuinfo(When our process does not exceed the number of logical CPUs in our system per unit of time, it is the optimal state,When our process is larger than the CPU, be aware of what is taking up our CPU.Vmstat
Tags: sort_wc_uniq shell tee_tr_split cutNote content:L 8.10 Shell special symbol cut command L 8.11 sort_wc_uniq command L 8.12 tee_tr_split command L 8.13 Shell special symbol Note Date:2017.8.168.10 Shell special symbol cut command Special symbols:1.* Any arbitrary character wildcard a wildcard650) this.width=650;
Linux Command sharing: lsof command, linux Command sharing lsof
Lsof (listopenfiles) is a tool used to list open files in the current system. In linux, everything exists in the form of a file. Through a file, you can not only access common data, but also access network connections and hardware. Therefore, for example, the transmission control protocol (TCP) and
PHP command line command instructions, php command line instructions. PHP command line Command Guide. php command line guide when a user opens the php page, the server executes the PHP command
Tags: string alt match Delete offset size file internal command string
Command history
HistoryEnvironment variables:Histsize: Number of records in the command historyHistfile:~/.bash_historyHistfilesize: The number of history records in a command history filehistory-d OFFSET: Delete a HistoryHistory + Num
Linux Command details-less command, linux Command details less
In Linux, there is also a command similar to the more command-less command, which is more flexible and powerful than the more com
Linux cp/scp command + scp command details, cpscp + scp command details
Name: cp
Permission: All Users
Usage:
Cp [options] source dest
Cp [options] source... directory
Note: copy one file to another or copy several files to another directory.
Count
-A tries its best to copy the file status, permissions, and other information as they are.
-R if the source contains
Tags: and special symbols file standard output Options area type syntax a lot8.10 Shell Special Character _cut command* Any of any characters? Any one character#注释符号\ de-Justification symbol| pipe character"$" the symbol with "!" "!$" means the last variable in the previous command";" Delimiter, use "~" User's home directory when running two and more than two commands in one row (root user "/root", "/home/u
Linux Command: scp command, linux Command scp
Scp is short for secure copy. It is used to remotely copy files in Linux. Similar Commands include cp, but cp only Copies files on the local machine and cannot be copied across servers, scp transmission is encrypted. It may slightly affect the speed. When your server's hard disk changes to read-only system, scp can he
Command 1: alias
An alias is used for convenience. If you have a frequently-used command for a long time, you can set an alias to be equivalent. For example, the default alias of LS-Alf is ll.
The alias format is as follows:
Alias alias = command
Alias alias = "command combination"
Alias allows you to view
Linux Command: rcp command, linux Command rcp
Rcp stands for "remote file copy" (remote file copy ). This command is used to copy files between computers. The rcp command has two formats. The first format is used to copy files to files. The second format is used to copy file
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.