-next-requestL Get-reponseL TrapSNMPv2 added two primitivesL Get-bulk-requestL Inform-requestThe SNMPv3 was mainly reinforced in safety.1.3 In order to simplify agent (network management agent generally divided into two functional modules and a common Module MIB library) side of the development, SNMP rules only two operations get, set, the former is used to obtain management information from the managed device. The latter acts by setting the value of
As mentioned above, the program must actively report exceptions. snmp provides the notification mechanism to implement this function. The procedure is as follows:
1. Start from the MIB file:Add the following content in the file "/usr/local/share/snmp/mibs/FIGURE-IT-MIB.txt:
1 recordNotification NOTIFICATION-TYPE 2 OBJECTS { recordTrapsEntry } 3 STATUS current 4 DESCRIPTION 5 "Record's notifications " 6 ::= { record 2 } 7
data visible on the browser is installed. Look at Apache's log.If it appears:========================[Thu Feb 09 15:12:24 2006] [ERROR] [Client 127.0.0.1] File does not exist:/var/www/html/favicon.icoError:opening '/var/www/html/cacti/rra/localhost_mem_buffers_3.rrd ': Permission deniedPS: Workaround: Turn off SELinux to resolve the issue.PS: The above can not get the data graph mostly with poller.php,cmd.php permission.Error when cacti has a graph with no data, and the state is NanPS: This is
interface br0:determining If IP address 192.168.10.103 be already in with for device br0 ...DetermineIf the following describes the successful configuration:
[Root@localhost network-scripts]# IfconfigBr0 Link encap:ethernet hwaddr f8:bc:12:60:99:86//have this OKinet addr:192.168.10.103 bcast:192.168.10.255 mask:255.255.255.0Inet6 ADDR:FE80::FABC:12FF:FE60:9986/64 Scope:linkUp broadcast RUNNING multicast mtu:1500 metric:1RX packets:36416 errors:0 dropped:0 overruns:0 frame:0TX packets:28648 err
255.255.0.0 U 1002 0 0 eth00.0.0.0 10.109.132.1 0.0.0.0 UG 0 0 0 eth0 ifconfig Command Introduction:View or configure network card IP information1 . Command format:Ifconfig ethx Ip/mask [Up|down]2 . Command function:View or configure network IP related information, effective immediately after modification, but re-activate the network card service or machine, setup failure.3 . Command parameters:-A: Displays configuration information for all network interfaces4 . Command instance:1. Check
#!/usr/bin/env python#-*-coding=utf-8-*-#Using GPL v3.3#Author: [email protected]#python monitoring Disk"""1, the realization principle: obtains the system information through the SNMP protocol, then carries on the corresponding computation and the format, the final output result 2, the special attention: the monitoring machine needs to support SNMP. Yum install-y net-snmp* Installation"""#!/usr/bin/pythonImportReImportOSdefGetallitems (host,oid): SN1= Os.popen ('snmpwalk-v 2c-c Public'+ Host +'
Pvdisplay command to display the properties of a physical volume
[Root@test ~]# Pvdisplay
---Physical volume---
PV name /dev/sda2
VG name vg_test
PV Size 9.51 gib/not usable 3.00 MiB
Allocatable Yes (but full)
pe Size 4.00 MiB Total
pe 2434 free
pe 0
allocated PE 2434
PV UUID
Application Gateway (application Gateway).If the external device does not support any management protocols, then the trustee must use some passive methods to monitor the device. For example, a token Ring bridge's trustee can monitor its performance, and if it detects any congestion errors reported by the Network Bridge, it will generate a self trap. Fortunately, most Internet device types today support SNMP manageable devices, so you can easily use an SNMP manageable device, such as hubs, bridg
statistics differently than checking common LAN or IP subnet dialogs: The RMON MIB and the RMON-2 MIB provide a framework for determining LAN and subnet information, respectively, The VLAN configuration must either define its own MIB, or configure how to obtain the above information based on other MIB. In addition, to
check the minimum number of saved backups, because there is no backup so 0, the others are OKBasic use:The following operations are performed on backupStart Backup:[[email protected] ~]# Barman backup pgserverstarting backup for server Pgserver in/var/lib/barman/pgserver/base/2015091 4t151454backup start at Xlog location:0/6000028 (000000010000000000000006, 00000028) Copying files. Copy done.Backup size:32.1 MiB. Actual size on disk:141.8 KiB ( -99.5
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.