Translated from: Example
Key words: SNMP, MIB, OID, agent, NMs
Abstract: With the rapid development of network technology, the number of network devices is increasing, and the types of devices are also diverse. How can we effectively manage these devices? We can achieve this through the SNMP function. This article focuses on the basic concepts, working principles, and main applications of SNMP.
Abbreviations:
Abbreviations
Full English nam
software bug, the number of concurrency is not enough, causing the trap in the device internal software queue line, enter.Then a funny scene appeared, 2 hours ago, a network equipment hung up, management Center monitoring staff happy to eat hot pot singing songs. Until someone rushed to the office and said, "We broke the net, what's the situation?"No Ah, you see the monitoring platform, all the green lights, how beautiful.Two hours later, someone shouted and the device was down.That goes back t
SNMP protocol Overview
SNMP (Simple Network Management Protocol) is a Simple Network Management Protocol, which provides a framework for the network management system to manage the underlying network. The SNMP protocol is widely used in many types of network devices, software, and systems, mainly because it has the following features:
First, SNMP is easy to implement compared with other types of network management systems or management protocols. SNMP management protocols,
hdOutBlocks
Add the above content to the configuration file, save and exit.
Restart the snmpd service
Server snmpd restart
3. Test on cacti monitoring host
[Root @ backup ~] # Snmpwalk-v 2c-c public 192.168.5.44. 1.3.6.1.4.1.2021.58
UCD-SNMP-MIB: ucdavis.58.1.1 = INTEGER: 1
UCD-SNMP-MIB: ucdavis.58.2.1 = STRING: "hdOutBlocks"
UCD-SNMP-MIB: ucdavis.58.3.1 = STR
/bin/snmpdiskio hdNum
Exec. 1.3.6.1.4.1.2021.55 hdIndex/usr/local/bin/snmpdiskio hdIndex
Exec. 1.3.6.1.4.1.2021.56 hdDescr/usr/local/bin/snmpdiskio hdDescr
Exec. 1.3.6.1.4.1.2021.57 hdInBlocks/usr/local/bin/snmpdiskio hdInBlocks
Exec. 1.3.6.1.4.1.2021.58 hdOutBlocks/usr/local/bin/snmpdiskio hdOutBlocks
Add the above content to the configuration file, save and exit.
Restart the snmpd service
Server snmpd restart
3. test on cacti monitoring host
[Root @ backup ~] # Snmpwalk-v 2c-c public 192.168
MIBs extension of Net-snmp
MIBs extension of Net-snmp
1 Compiling and installing NET-SNMP
2 Writing MIB files
MIB File description
A simple example
3 Making a custom MIB file effective
4 Implementing Agent Agents
Use the MIB2C program to generate. C and. h files.
Read-only
Policy Group 1
ISAKMP Policy Lifetime 3600
ISAKMP key 12345678 address 0.0.0.0 netmask 0.0.0.0
ISAKMP enable outside
!configure DHCP server address
DHCPD address 172.17.1.100-172.17.1.109
DHCPD DNS 192.168.0.20
DHCPD wins 192.168.0.10
DHCPD Lease 3000
DHCPD domain example.com
! Enable DHCP server on Inside interface
DHCPD Enable
! Use outside interface IP as PAT global address
Nat (inside) 1 0 0
Global (outside) 1 interface
Iv. use SNMP (using SNMP)
The Snmp_server command enables the PIX firew
Ubuntu 12.04 didn't install the MIB files. even if you install the SNMP applications. just check the preamble of/etc/snmp. conf # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. if you added the MIBs you can reenable # loaging them by commenting out of the following line. mibs: Sure, but how can I install them? Fortunately there is a package to d
is a example for the operations supported in this community:test#./snmpget-c private Q:What is the procedure to load a Management Base information (MIB) file to the SNMP Manager on a NetScaler appliance ?A: The procedure to load an MIB file to the SNMP manager depends on the type of the SNMP manager. Use any of the following procedures to load a MIB file to the
Bkjia.com comprehensive report: the network has gradually become the center of business and social networking around the world, which will generate numerous network demands in the next decade. Juniper Networks's enterprise development aim is to "connect everything, be dynamic and unlimited". Based on this enterprise development objective, Juniper believes that it is time to change the inherent connection mo
Original post: http://iphonesdkdev.blogspot.com/2009/01/source-code-get-hardware-info-of-iphone.html
This is a collection of open source codes to print out the hardware info of iPhone. If you know more, please post link here in comment and I will update it.
Battery info source (requires iokit header files from simulatorsdk)Http://forums.macrumors.com/showthread.php? T = 474628
Memory CPUHttp://furbo.org/2007/08/21/what-the-iphone-specs-dont-tell-you/
ProcessLandon Fuller, iphonesdk@googlegroups
devices and variables related to traffic information by extracting the MIB provided by the network device agent. The network traffic information collected based on SNMP includes the number of bytes lost, the number of broadcast packets, the number of packets lost, and the length of the Output Captain column.(2) based on NetFlow traffic information collection.Based on the NetFlow mechanism provided by network equipment, the data collection efficiency
three aspects:Data stream acquisition technology solves the problem of how to get the data stream we need from different locations in the network. From the location of data acquisition, can be divided into network-based, host-based and hybrid acquisition of three kinds: (1) Flow monitoring technology. The flow monitoring technology mainly includes SNMP-based traffic monitoring and NetFlow-based traffic monitoring. SNMP-based traffic information acquisition. Collect some specific devices and va
378257 378257.0 10.0 Test2 () 1 2 2.0 0.0 return Total
The places where hits (execution times) and time values are high are places where there is more room for optimization.
Memoryprofiler
Similar to "Lineprofiler" for modules based on the row parser memory usage. GitHub Address: https://github.com/fabianp/me .... PS: Install Psutil, will analyze faster.
Same as the code in "Lineprofiler" above, run the python-m memory_profiler profile.py command produces the following results:
➜python-m Memor
t4 = sum_num(400000) 20 1 155261 155261.0 4.1 t5 = sum_num(500000) 21 1 378257 378257.0 10.0 test2() 22 23 1 2 2.0 0.0 return total
There is a lot of room for optimization when the values of hits (execution times) and time (time consumed) are high.
Memoryprofiler
Similar to the "lineprofiler" module for row-based analytics program memory usage. Github: https://github.com/fabianp/me .... Ps: install
Linux storage experiment 2: LVM operations Linux storage experiment 2: RAID operations http://www.2cto.com/os/201303/195811.html (1) step 1 of LVM creation: create another five 10 mbscsi hard disks. This step is the same as the raid creation operation in the previous step... linux storage experiment 2: LVM operations Linux storage experiment 2: RAID operations http://www.2cto.com/os/201303/195811.html (1) step 1 of LVM creation: create another 5 10 mb scsi hard disks. This step is the same as cr
--time=60--report-interval=10-- FILE-TEST-MODE=RNDRW FileIO Run Sysbench 1.1.0 (using bundled Luajit 2.1.0-beta3) Running the test with following options : Number of Threads:4 report intermediate results every second (s) Initializing random number generator from current TI Me Extra File Open flags: (none) files, 16MiB each 2GiB total file size Block size 16KiB number of IO requests:0 Rea
D/write ratio for combined random IO test:1.50 periodic FSYNC enabled, calling FSYNC () requests.
Calling Fsy
Steps:
. Backup and recovery configuration file and ISO
. Upgrade the new versions of boot loader and ISO
Backup and recovery configuration file and ISOAs a result of backup and recovery, I Will repost a special article on the Internet for your backup. I will not talk nonsense here to prevent network interruptions in the case of Juniper firewall equipment failure, so as to ensure uninterrupted operation of your business, this section describes the ra
/dev/sdb2 # Add the physical volume of sdb2 to the vgname volume group # pvdisplay # view the PV information again after the physical volume is added.
3. Extract and delete PV
Solution 1:
1. View pv usage
# Pvdisplay # view existing PVS --- Physical volume --- PV Name/dev/sda1 VG Name vgname PV Size 1019.72 MiB/not usable 3.72 MiB Allocatable yes PE Size 4.00 MiB
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.