(SNMPv2: Simple Network Management Protocol V2)
SNMP is a standard protocol used to manage network nodes (servers, workstations, routers, switches, and hubs) in an IP network. It is an application layer protocol. SNMP enables network administrators to manage network performance, discover and solve network problems, and plan network growth. The Network Management System receives random messages (and event reports) through SNMP
CISCO router switch SNMPv2 configuration, cisco Router
Cisco router SNMP Configuration
Snmp-server community CQGASPZW-R RO // ro read-only
Snmp-server trap-source Loopback0 // use the loopbackaddress as the source address of the message sent by the trap.
Snmp-server host 50.1.50.3 version 2c CQGASPZW-R udp-port 9006 // configure the SNMP server IP address, SNMP version number, community string CQGASPZW-R, port number 9006
#### What message to trap is
PHP-FPM reboot
killall php-fpm
(usr/local/php is the installation directory of PHP)
/USR/LOCAL/PHP/SBIN/PHP-FPM
I saw the following error to know to uninstall PHP-SNMP:
root@izwz9h8g1nh0vb5lh0jqvez:/bcc/production/bccservicev1.0.1#/usr/sbin/php-fpm7.0 MIB Search Path:/root/.snmp/ Mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/ Snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot Find Module (
. However, for various reasons, CMIP does not replace SNMP, and SNMP has evolved into an industry standard.
SNMP has developed three main versions: SNMPv1, SNMPv2, and SNMPv3. SNMPv2 is divided into several sub-versions, among which snmpv2c is most widely used:
SNMPv1: the first formal protocol version, defined in the RFC1155-RFC1158, which uses a security mechanism based on the community name;
Snmpv2c:
"my_password" myuserEnable the service:/Etc/init. d/snmpd startV3 access command:Snmpget-v 3-u myuser-l authNoPriv-a MD5-A my_password localhost sysUpTime.0
Snmp-trap configuration for v1 and v2:1. in/etc/hosts. allow, add the acceptable network segment snmptrapd: 110.1.
2. Create/usr/share/snmp/snmptrapd. conf (this is the one on my machine. Different machines may be stored in/etc/snmp,/usr/local/share/snmp/, and experiment slowly according to different situations ), add the following line:Aut
1. click File> New... in the menu. In the displayed dialog box, select "version 1" or "version 2". Select "version 2 ".2. Enter the module name in the module name: edit box. Note that all letters must be in uppercase. Enter "LIUZY-TEST-MIB" here ".3. Import the MIB module where the parent OID node is located. Here I need to create a private node 39988 located under "Enterprises", so I need to import the module SNMPv2-SMI where "Enterprises" is located
confidentiality and AccuracyRfc1365 an IP address extension proposalRfc1370 OSPF applicability statementRfc1387 rip (version 2) protocol analysisRfc1388 RIP Protocol Version 2Rfc1393 traceroute IP OptionRfc1397 in the Border Gateway Protocol (Border Gateway Protocol) Version 2Rfc1408 Telnet environment optionsRfc1413 Authentication ProtocolRfc1418 SNMP is better than OSIRfc1420 SNMP is better than IPXRfc1426 SMTP service extension for 8bit-multi-purpose Internet Mail Extension protocol (MIME) T
management process controls the access to the MIB located in the management site center and provides network administrator interfaces. The Administrator Process manages the network through SNMP. SNMP is implemented on UDP, IP, and related special network protocols (such as Ethernet, FDDI, and X.25.The core of the SNMPv2 standard is the communication protocol-a request/response protocol.
This Protocol provides an intuitive and basic way to exchange ma
syntax, see callback. The following is my MIB file. -- Test-SLK-MIB.txt Test-SLK-MIB DEFINITIONS: = begin imports object-GROUP, MODULE-COMPLIANCE, NOTIFICATION-group from SNMPv2-CONF enterprises, Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-type from SNMPv2-SMI DisplayString FROM SNMPv2-TC; Test MODULE-identity last-UPDATED "201601221450Z" -
can see the NET-SNMP directory after the installation, typically /usr/local/net-snmp/share/snmp/mibs/ .ls /usr/local/net-snmp/share/snmp/mibs/AGENTX-MIB.txt IPV6-TCP-MIB.txt SNMP-NOTIFICATION-MIB.txt...IPV6-MIB.txt SNMP-MPD-MIB.txt UDP-MIB.txtA simple exampleHere we write a MIB file that contains two nodes, one that is read-only, and one with read and write permissions. Then name the file myTest.mib and sa
data is being collected.[[emailprotected]~]#snmpwalk-v2c-cpublic192.168.168.168 snmpv2-mib::sysdescr.0=string:sonicwallnsa3600 (SonicOSEnhanced 6.2.2.2-19n) Snmpv2-mib::sysobjectid.0=oid:snmpv2-smi::enterprises.8741.1disman-event-mib:: sysuptimeinstance=timeticks: (638740986) 73days,22:16:49.86snmpv2-mib:: Syscontact.0=string:snmpv2-mib::sysname.0=string:zabbixsnmpv2-mib:: Syslocation.0=string:snmpv2-mib::
message, load all problematic DLL files one by one and comment them out. The workload is a bit heavy. Finally, I will give the correct final loading information.
Continue to search for the error information in error. log and find the following error:
Cannot find module (IP-MIB): At line 0 in (none)Cannot find module (IF-MIB): At line 0 in (none)Cannot find module (TCP-MIB): At line 0 in (none)Cannot find module (UDP-MIB): At line 0 in (none)Cannot find module (
Protocol improvement suggestions to SNMPv2, that is, add a block read Operation Get-bulk-Request Message to the network management workstation. You can call a request primitive to extract a large amount of data (such as reading the content of a table) to improve efficiency. SNMPv2 also introduces communication between management processes and management processes for status reporting. Therefore, an inform-
PhenomenonRecent work in the company's system to add some network-related features, it is based on Gatewayworker, after the launch report similar to the following error message:Cannot find module (IP-MIB): at line 0 in (none)Cannot find module (IF-MIB): at line 0 in (none)Cannot find module (TCP-MIB): at line 0 in (none)Cannot find module (UDP-MIB): at line 0 in (none)Cannot find module (HOST-RESOURCES-MIB): at line 0 in (none)Cannot find module (SNMPV2
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.