First, the basic concept of monitoring system
1. Sensor
Data acquisition--data storage--presentation
Time Series data
Alarm: The collected data exceeds the threshold (Yu) value
2. Network Monitoring System
NMS Monitoring Node
3. SNMP (simple Network Management Protocol) Simple Network Management Protocol
1) operating mode of SNMP
NMS collects data from agent
Agent reports data to NMS
NMS Requests Agent to modify configuration
2) Components of SNMP
mib:management Information Base management information base
Define data specifications for the monitoring and monitoring side
Smi:mib symbol for the expression
SNMP protocol:
3) operations that the NMS can initiate
Get (Get Data), GetNext (get one or more data), set (set), Trap (captures the data reported by the monitored side),
4) Actions The agent can initiate: Response (report)
5) based on UDP protocol:
nms:161
agent:162
6) version of the SNMP protocol
V1: No Authentication function
V2C: Community-based (key) authentication #认证过程是明文的
V3: Authentication, encryption, decryption #使用的还很少
Second, open source monitoring tools
1, the realization of monitoring function
Dedicated Agent:
Ssh:
Snmp:
IPMI: (Intelligent Platform Management Interface) Smart Platform Management interface
An industry standard used by peripheral devices in an Intel-architected enterprise system. IPMI is also an open, free standard that users can use without paying an additional fee.
2, the famous Open source monitoring tool
Cacti (open pie)
Data collection and presentation,
Not sensitive to state transitions
The alarm function is weak: The alarm is not timely,
Nagios (Tears enough to think)
Powerful alarms: Alarm escalation, definition of maintenance windows, component dependencies,
not used in large-scale
focus on state transitions only, not collecting and presenting data
Zabbix (Ibis)
2.2 JSON
2.4 Communication mechanism optimization, save bandwidth 1/3
Monitoring System Basics