

Network Monitoring คืออะไร? ทำไมต้อง Monitor Network
Network Monitoring คือ การเฝ้าดูสถานะ Network อุปกรณ์ Server และ Service อย่างต่อเนื่อง เพื่อตรวจจับปัญหาก่อนที่จะกระทบผู้ใช้งาน ถ้า Switch ล่ม Internet ช้า Server เต็ม Disk หรือ UPS Battery ต่ำ ระบบ Monitoring จะแจ้งเตือน IT ทันที ไม่ต้องรอให้ User มาบ่น การ Monitor ช่วยลด Downtime แก้ปัญหาเร็วขึ้น และวางแผน Capacity ได้
SNMP — โปรโตคอลหลักของ Monitoring
- SNMP คืออะไร: Simple Network Management Protocol โปรโตคอลมาตรฐานสำหรับ Monitor อุปกรณ์ Network
- Agent: ซอฟต์แวร์บนอุปกรณ์ที่ส่งข้อมูลกลับมา (Switch Router Server)
- OID/MIB: รหัสที่ระบุว่าต้องการดูข้อมูลอะไร เช่น CPU Load, Interface Traffic
- SNMP v2c: ใช้ Community String (เหมือน Password) ง่ายแต่ไม่ Encrypt
- SNMP v3: มี Authentication + Encryption ปลอดภัยกว่า แนะนำสำหรับ Production
Nagios vs Zabbix vs PRTG
| คุณสมบัติ | Nagios | Zabbix | PRTG |
|---|---|---|---|
| ราคา | ฟรี (Core) / $$ (XI) | ฟรี (Open Source) | ฟรี 100 Sensor / $$$ |
| UI | เก่า (Core) ดี (XI) | ดี Modern | ดีมาก สวย |
| ตั้งค่า | Config File (ยาก) | Web UI + Template (ง่ายกว่า) | Web UI (ง่ายสุด) |
| Auto Discovery | จำกัด | ดี | ดีมาก |
| Template | จำกัด | เยอะมาก | เยอะ |
| Alert | Email Script | Email Telegram Webhook | Email Push SMS |
| เหมาะกับ | Linux Admin ที่ชอบ CLI | องค์กรทุกขนาด งบจำกัด | องค์กรที่ต้องการง่าย |
สิ่งที่ต้อง Monitor
| อุปกรณ์/Service | Metric ที่ต้อง Monitor | Threshold |
|---|---|---|
| Server | CPU, RAM, Disk, Network | CPU > 80%, RAM > 85%, Disk > 90% |
| Switch/Router | Port Status, Traffic, Error, CPU | Port Down, Traffic > 80% |
| Firewall | CPU, Session, VPN Tunnel | CPU > 70%, Session > 80% |
| UPS | Battery Level, Load, Temperature | Battery < 50%, Load > 80% |
| Internet | Bandwidth, Latency, Packet Loss | Loss > 1%, Latency > 100ms |
| Service | HTTP, DNS, SMTP, Database | Down / Response > 5s |
Alert — การแจ้งเตือน
- Email: แจ้งเตือนทาง Email ง่ายสุด ทุก Tool รองรับ
- LINE/Telegram: แจ้งเตือนทาง Chat เห็นเร็วกว่า Email
- SMS: สำหรับเหตุฉุกเฉิน Critical Alert
- Escalation: ถ้าไม่มีคน Acknowledge ส่งไปคนถัดไปอัตโนมัติ
- ระวัง Alert Fatigue: Alert เยอะเกิน คนจะเพิกเฉย ตั้ง Threshold ให้เหมาะสม
Network Monitoring Best Practices
- Monitor ทุกอุปกรณ์: Server Switch Router Firewall UPS AP ทุกตัว
- SNMP v3: ใช้ SNMP v3 แทน v2c ปลอดภัยกว่า
- Template: ใช้ Template สำหรับอุปกรณ์แต่ละประเภท ไม่ต้องตั้งค่าทีละตัว
- Dashboard: สร้าง Dashboard แสดงสถานะรวม ดูได้เร็ว
- Baseline: ดู Baseline Traffic ปกติ เพื่อตรวจจับ Anomaly
- Capacity Planning: ใช้ข้อมูล Historical วางแผน Upgrade ก่อนเต็ม
- Test Alert: ทดสอบ Alert สม่ำเสมอ ว่าส่งถึงจริง
- Document: Document ว่า Monitor อะไร Threshold เท่าไหร่ ใครรับ Alert
สรุป Network Monitoring — รู้ปัญหาก่อน User
Network Monitoring เป็นพื้นฐานที่ทุกองค์กรต้องมี เลือก Zabbix (ฟรี ครบ) หรือ PRTG (ง่าย) Monitor ทุกอุปกรณ์ ตั้ง Alert ให้เหมาะสม หากต้องการข้อมูลเพิ่มเติม ติดตามได้ที่ SiamLanCard.com