1. Overview of IP addresses2. Configure IP AddressView IP AddressBind an IP address on the NICBind multiple IPs on the same NICBind a piece of NIC deviceModify or delete an IP addressIP Address OverviewHere is not much to repeat, refer to the "Computer network" course.Configure IP Address [[emailprotected] ~]# ifconfig eth0 Link EnCap: Ethernet HWaddr 00:0C:29:05:1D:AC Network card Physical Address inet addr:192.168.80.110 bcast:192.168.80.255 Mask: 255.255.255.0 IP address, broadcast addre
workstation. To solve the incompatibility problem between different SNMP versions, RFC3584 defines a three-way coexistence policy.
In addition, the SNMP protocol includes four basic actions:
Get: if the network management system needs to obtain the information of the monitored device, the get action is executed.
GetNext: If you want to obtain information about a project that is one of multiple projects in the project list, the network management system executes getnext to obtain information abo
(Debian4.0r1) mrtg amp; snmp-Debian information for the Linux release. For more information, see the following. Install snmpd mrtg snmp package
# Apt-get update
# Apt-get install snmpd snmp mrtg
Before modifying the configuration file, go to the/usr/share/snmp directory to view the instructions.
1. Modify/etc/default/snmpd
Set this item to SNMPDOPTS = '-Lsd-Lf/dev/null-u snmp-I-smux-p/var/run/snmpd. modify pid 127.0.0.1 to SNMPDOPTS = '-Lsd-Lf/dev/null-u snmp-I-smux-p/var/run/snmpd. pid. Othe
security and confidentiality reasons. Read your device or program documentation.
Next, a parameter called OID is used to represent the object identifier.
It seems confusing when I first started learning SNMP. When you see the MIB management information base, it is not that difficult. MiB is an inverted tree used to describe data. It has only one root-knot point and has multiple branches starting from
Linux SNMP field.
For some devices, the default public can work, but this setting may be disabled, adjusted, or protected for security and confidentiality reasons. Read your device or program documentation. Next, a parameter called OID is used to represent the object identifier.
It seems confusing when I first started learning Linux SNMP. When you see the MIB management information base, it is not that difficult.
flag use)
Minix
Limited to 2 Gib-1 (file size is limited to 65804 MIB
But note that filesystem size is limited to 64 MIB-but holes are allowed)
Sysv (aka SCO)
Limited to 2 Gib-1
Msdos
Limited to 2 Gib-1
Umsdos
Based on msdos, limited to 2 Gib-1
Smbfs
Older protocols are limited to 4 Gib-1. SMB extensions allow 64 bit
Filesystems. Lin
Topology Discovery Network layers:
1. Network Layer
Main findings: routers, subnets and their connection relationships
2. Data Link Layer
Main findings: switches, bridges and their connection relationships
MiB library Standard
RFC-1213 defined by MIB-II
RFC-1493-defined bridge-MIB (primarily for switches and bridges)
The router information stored in t
sequence index number within the group. The range of N_seq_phich is 0,1,..,7 (downstream normal CP) or 0,1,2,3 (Downlink extended CP), i.e., for normal CP, A Phich group can contain up to 8 different Phich channels, and for extended CP, a Phich group may contain up to 4 different Phich channels .So how many Phich groups are allowed in a system bandwidth? The protocol uses N_group_phich to represent the number of groups in the PHICH group, so the N_group_phich range is 0,1, ...,n_group_phich-1.
Simple idea: Start the SNMP service on the router, make sure Zabbix supports SNMP, get the required OIB, design the item1 Start the SMTP service on the routerSnmp-agent Enable Snmp-agentSnmp-agent Local-engineid 800063a280586ab1b9cd1700000001Snmp-agent community read monitor; Create read-only Community--monitorSnmp-agent community write private; Create a privately writable communitySnmp-agent Sys-info version all; support Snmpv1,v2c,v3Snmp-agent target-host Trap Address Udp-domain 60.60.60.11 Ud
Limit one: Different browsers have different restrictions on BLOB objectsTake a look at the table below (from Filesaver.js):
Browser
constructs as
Filenames
Max Blob Size
Dependencies
Firefox 20+
Blob
Yes
MiB
None
Firefox
Data:uri
No
N/A
Blob.js
Chrome
Blob
Yes
MiB
pub_pcon9-ct 192.168.232.25 1.3.6.1.4.1.9.9.48.1.1.1.5# gets how much memory is currently idle (bytes)Snmpwalk-v 2c-c pub_pcon9-ct 192.168.232.25 1.3.6.1.4.1.9.9.48.1.1.1.6# Get device serial numberSnmpwalk-v 2c-c pub_pcon9-ct 192.168.232.25 1.3.6.1.2.1.47.1.1.1.1.11.1OrSnmpwalk-v 2c-c pub_pcon9-ct 192.168.232.25 1.3.6.1.4.1.9.3.6.3.0# Get Device NameSnmpwalk-v 2c-c pub_pcon9-ct 192.168.232.25 1.3.6.1.2.1.1.5.0# Here is an example of a MAC address to get the host connected to the 2nd port (inte
the management view of NE.The conceptual data contained in the database forms the management information.Management operations are directed towards the conceptual view.A MIB cannot be confused with a real database, it is a view of the device itself, not a database that actually stores information about the device. This view is a representative of the real device of NE (represent)Core Agent LogicIt implements the operation of the management interface,
report network meta information in a timely manner, work with better performance.
2SNMP Protocol
The Simple Network Management Framework Based on SNMP protocol has been rapidly promoted due to the popularity of the Internet and has become one of the most important network management technologies. SNMP is constantly evolving, and three major versions are available: SNMPv1, v2, and v3. In addition, the emergence of remote network monitoring (RMON) makes SNMP a huge step towards Distributed Manage
Use Zabbix to monitor corporate firewalls through SNMP
The company uses the FortiGate 80C firewall, and now uses Zabbix to monitor its status through SNMP.
Add the -- with-net-snmp parameter to compile and install zabbix.
First, Enable SNMP on the firewall, and then add a host in Zabbix
References
Https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/snmp
Use snmpwalk to obtain a series of SNMP strings
$ Snmpwalk-v 2c-c public 10.10.41.254
Find the
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.