Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

部分 VII. Monitoring

Network Management Software & Network Monitoring

目錄

I. System Monitoring & Utility
77. User
77.1. last, lastb - show listing of last logged in users
78. Memory
78.1. Memory
78.2. vmstat - Report virtual memory statistics
78.3. mpstat
78.4. pmap - report memory map of a process
79. CPU
79.1. uptime - Tell how long the system has been running.
79.2. top - display Linux tasks
79.3. atop - AT Computing's System & Process Monitor
79.4. htop - interactive process viewer
80. Processes
80.1. strace - trace system calls and signals
81. lsof - list open files 檔案監控
81.1. $$
81.2. 監控檔案系統
81.3. 設備檔案
81.4. 用戶監控
81.5. 監控進程
81.6. 監控網絡
81.7. lsof 高級用法
81.8. 根據檔案描述列出對應的檔案信息
82. Harddisk IO
82.1. input/output statistics
82.1.1. 5 秒監控一次
82.2. iotop - simple top-like I/O monitor
82.3. ionice - set or get process I/O scheduling class and priority
82.4. smartd - SMART Disk Monitoring Daemon
83. Network IO
83.1. netstat
83.2. ss
83.2.1. 查看tcp流量控制相關參數值
83.3. iftop - display bandwidth usage on an interface by host
83.4. iptraf - Interactive Colorful IP LAN Monitor
83.5. nload: Console application which monitors network traffic and bandwidth
83.6. bwm - Bandwidth Monitor
83.7. iptstate - A top-like display of IP Tables state table entries
84. Service
84.1. NFS
84.1.1. nfsstat
84.1.2. nfswatch
84.2. apachetop
85. 檔案監控
86. watchdog
87. nmon
88. Hardware
88.1. temperature/voltage/fan
88.2. mcelog - Decode kernel machine check log on x86 machines
89. sar - System Activity Reporter
90. SMS
90.1. gnokii
90.1.1. 安裝
90.1.1.1. Ubuntu
90.1.1.2. CentOS
90.1.2. 配置
90.1.3. 發送測試短信
90.1.4. 接收短信
90.1.5. 撥打電話
90.2. AT Commands
90.2.1. 發送短信
90.2.2. 語音通話
91. IPMI (Intelligent Platform Management Interface)
91.1. OpenIPMI
91.2. freeipmi
91.2.1. ipmiping
91.2.2. ipmimonitoring
91.2.3. ipmi-sensors
91.2.4. ipmi-locate
91.3. ipmitool - utility for controlling IPMI-enabled devices
91.3.1. ipmitool
91.3.1.1. ubuntu
91.3.1.2. CentOS
91.3.2. sensor
91.3.3. ipmitool shell
91.3.4. ipmitool 訪問遠程主機
91.3.5. Get chassis status and set power state
91.3.6. Configure Management Controller
91.3.6.1. Management Controller status and global enables
91.3.6.2. Configure LAN Channels
91.3.6.3. Configure Management Controller users
91.3.6.4. Configure Management Controller channels
91.3.7. Example for iDRAC
91.3.7.1. 更改IP地址,子網掩碼與網關
91.3.7.2. 更改 iDRAC LCD 顯示屏
91.3.7.3. 更改 iDRAC 密碼
91.3.7.4. 關機/開機
91.3.7.5. 啟動列表
92. JVM
92.1. jconsole
92.2. jps - Java Virtual Machine Process Status Tool
92.3. jinfo - Configuration Info
92.4. jstat - Java Virtual Machine Statistics Monitoring Tool
92.5. jHiccup
93. NET SNMP (Simple Network Management Protocol)
93.1. 安裝SNMP
93.1.1. Ubuntu
93.1.1.1. snmpd.conf
93.1.1.2. SNMP v3
93.1.2. CentOS
93.1.2.1. Configure SNMPv3 on CentOS or RHEL
93.2. 配置SNMP
93.2.1. community 配置
93.2.2. 定義可操作的範圍
93.3. SNMP 命令
93.3.1. snmpwalk
93.3.2. snmpget
93.3.3. snmptest
93.4. Cisco MBI
93.4.1. Cisco 3750
93.4.2. Cisco ASA 5550
94. Zabbix
94.1. Installing and Configuring Zabbix
94.1.1. Ubuntu
94.1.2. CentOS Zabbix 2.4
94.1.3. Zabbix 3.x CentOS 7
94.2. web ui
94.2.1. 警告腳本
94.3. zabbix-java-gateway - Zabbix java gateway
94.4. zabbix-agent
94.4.1. Ubuntu
94.4.2. CentOS 7
94.4.3. zabbix_agentd 命令
94.4.4. Nginx status 監控
94.4.5. redis
94.4.6. MongoDB
94.4.6.1. 創建 Mongo 監控用戶
94.4.6.2. Zabbix agentd 配置
94.4.6.3. Zabbix server 測試
94.4.7. PHP-FPM
94.4.7.1. 啟用 php-fpm status 功能
94.4.7.2. 配置 nginx
94.4.7.3. 配置 Zabbix 代理
94.4.7.4. php-fpm 監控參數
94.4.8. Elasticsearch
94.4.8.1. 安裝採集腳本
94.4.8.2. 配置Zabbix代理
94.4.9. Postfix
94.4.9.1. 安裝採集腳本
94.4.9.2. userparameter_postfix.conf
94.4.10. TCP stats
94.4.10.1. 採集腳本
94.4.11. 應用依賴檢查
94.4.12. Oracle
94.4.12.1. 採集腳本
94.4.12.2.
95. Cacti
95.1. Install Cacti for Ubuntu
95.2. Yum 安裝
95.3. Source Install
95.4. Web 安裝
95.5. Cacti plugins
95.5.1. Percona monitoring plugins
95.6. Template
95.6.1. Nginx
95.6.2. php-fpm
95.6.3. MySQL
95.6.4. Redis
95.6.5. Percona JMX Monitoring Template for Cacti
96. Nagios
96.1. Install
96.1.1. Nagios core
96.1.2. Monitor Client nrpe
96.1.3. Monitoring Windows Machines
96.1.4. PNP4Nagios 圖表插件
96.2. nagios
96.3. nrpe node
96.4. 配置 Nagios
96.4.1. authorized
96.4.2. contacts
96.4.3. hostgroups
96.4.4. generic-service
96.4.5. SOUND OPTIONS
96.4.6. SMS 短信
96.4.7. nrpe plugins
96.5. 配置監控設備
96.5.1. routers
96.5.2. host
96.5.3. service
96.5.3.1. http
96.5.3.2. mysql hosts
96.5.3.3. check_tcp
96.6. Nagios Plugins
96.6.1. check_ping
96.6.2. check_procs
96.6.3. check_users
96.6.4. check_http
96.6.5. check_mysql
96.6.5.1. check_mysql
96.6.5.2. mysql.cfg check_mysql_replication
96.6.5.3. nrpe.cfg check_mysql_replication
96.6.6. Disk
96.6.6.1. disk.cfg
96.6.6.2. check_disk
96.6.6.3. disk-smb.cfg
96.6.7. check_tcp
96.6.7.1. 連接埠檢查
96.6.7.2. Memcache
96.6.7.3. Redis
96.6.8. check_log
96.6.9. check_traffic
96.6.10. Nagios nrpe plugins
96.6.11. check_nt
96.6.12. nsca - Nagios Service Check Acceptor
96.6.13. jmx
96.7. FAQ
96.7.1. Macro Name
96.7.2. 插件開發手冊
97. ElasticSearch + Logstash + Kibana
97.1. 安裝
97.1.1. 6.x
97.1.2. ElasticSearch + Logstash + Kibana 安裝
97.1.2.1. ElasticSearch 安裝
97.1.2.2. Kibana 安裝
97.1.2.3. Logstash 安裝
97.1.2.4. 從 5.x 升級到 6.x
97.2. logstash 命令簡單應用
97.2.1. -e 命令行運行
97.2.2. -f 指定配置檔案
97.2.3. -t:測試配置檔案是否正確,然後退出。
97.2.4. -l:日誌輸出的地址
97.2.5. log.level 啟動Debug模式
97.3. 配置 Broker(Redis)
97.3.1. indexer
97.3.2. shipper
97.4. logstash 配置項
97.4.1. input
97.4.1.1. 標準輸入輸出
97.4.1.2. rubydebug
97.4.1.3. 本地檔案
97.4.1.3.1. 指定檔案類型
97.4.1.4. TCP/UDP
97.4.1.5. Redis
97.4.1.6. Kafka
97.4.1.7. jdbc
97.4.2. filter
97.4.2.1. 日期格式化
97.4.2.2. patterns
97.4.2.3. syslog
97.4.2.4. csv
97.4.2.5. 使用ruby 處理 CSV檔案
97.4.2.6. 執行 ruby 代碼
97.4.2.7. grok debug 工具
97.4.3. output
97.4.3.1. stdout
97.4.3.2. file 寫入檔案
97.4.3.3. elasticsearch
97.4.3.3.1. 自定義 index
97.4.3.4. exec 執行腳本
97.5. Example
97.5.1. Spring boot logback
97.5.2. 索引切割實例
97.5.3.
97.5.3.1.
97.6. Beats
97.6.1. 安裝 Beta
97.6.1.1. Beats 6.x 安裝
97.6.1.2. Beats 5.x 安裝
97.6.2. Filebeat
97.7. FAQ
97.7.1. 查看 Kibana 資料庫
97.7.2. logstash 無法寫入 elasticsearch
97.7.3. 標準輸出
97.7.4. 5.x 升級至 6.x 的變化
98. Logs 分析
98.1. log
98.1.1. logwatch
98.1.2. logcheck : Analyzes log files and sends noticeable events as email
98.1.3. nulog
98.2. Web
98.2.1. Apache Log
98.2.1.1. 刪除日誌
98.2.1.2. 統計爬蟲
98.2.1.3. 統計瀏覽器
98.2.1.4. IP 統計
98.2.1.5. 統計域名
98.2.1.6. HTTP Status
98.2.1.7. URL 統計
98.2.1.8. 檔案流量統計
98.2.1.9. URL訪問量統計
98.2.1.10. 腳本運行速度
98.2.1.11. IP, URL 抽取
98.2.2. awstats
98.2.2.1. 語言
98.2.2.2. 輸出HTML文檔
98.2.2.3. 多站點配置
98.2.2.4. 合併日誌
98.2.2.5. Flush history file on disk (unique url reach flush limit of 5000) 優化
98.2.2.6. JAWStats
98.2.3. webalizer
98.2.3.1. 手工生成
98.2.3.2. 批量處理歷史數據
98.2.3.3. crontab
98.2.4. Sarg - Squid Analysis Report Generator
98.2.5. goaccess - Fast web log analyzer and interactive viewer.
98.3. Tomcat
98.3.1. 截取 0-3 點區間的日誌
98.3.2. 監控Redis
98.4. Mail
98.4.1. pflogsumm.pl - Produce Postfix MTA logfile summary
98.5. OpenSSH 日誌 /var/log/secure
98.5.1. 查看登陸用戶
98.6. rinetd.log
98.7. php-syslog-ng
98.8. Log Analyzer
98.9. Splunk
98.10. Octopussy
98.11. eventlog-to-syslog
98.12. Apache Flume
98.12.1. 安裝 Apache flume
98.12.2. 基本配置
98.12.3. 配置 MySQL 存儲日誌
98.12.4. 配置 HDFS 存儲日誌
98.13. graylog - Enterprise Log Management for All
99. MRTG
99.1. Ubuntu 安裝
99.2. CentOS 安裝
99.3. 監控多個設備
99.4. 批量生成監控配置檔案
99.5. 圖片尺寸
100. Munin
100.1. Ubuntu
100.1.1. Installation Monitor Server
100.1.2. Installation Node
100.1.3. Additional Plugins
100.1.4. plugins
100.1.4.1. mysql
100.1.4.2. apache
100.2. CentOS
100.3. 用戶認證
100.4. munin-node and plugins
100.4.1. munin-node.conf
100.4.2. mysql plugin
100.4.3. apache plugin
100.4.4. memcached plugin
100.5. munin.conf
100.6. munin-node
100.6.1. munin-node.conf
101. Ntop
101.1. Installation
101.1.1. Ubuntu
101.1.2. CentOS
101.2. Web UI
101.3. Plugins
101.3.1. NetFlow
102. Bandwidth
102.1. apt-get install
102.2. CentOS rpm/yum
102.3. source code
102.4. /etc/bandwidthd.conf
103. NetFlow
103.1. flow-tools - collects and processes NetFlow data
103.1.1. flow-capture
103.1.2. NetFlow into MySQL with flow-tools
103.2. netams - Network Traffic Accounting and Monitoring Software
103.2.1. netams-web
104. Ganglia
104.1. Server
104.2. Client
104.3. Plugin
104.4. Installing Ganglia on Centos
105. lvs-rrd
106. Observium
106.1. Installation
107. OpenTSDB
108. Graphite
109. Graphite - Scalable Realtime Graphing
110. BIG BROTHER
111. Big Sister
112. OpenNMS
113. Performance Co-Pilot
114. Clumon Performance Monitor
115. Zenoss
116. 商業軟件
117. Hyperic HQ
118. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
119. HawtIO
120. moloch
121. varnish - a state-of-the-art, high-performance HTTP accelerator
121.1. Varnish Install
121.2. varnish utility
121.2.1. status
121.2.2. varnishadm
121.2.2.1. 清除緩存
121.2.3. varnishtop
121.2.4. varnishhist
121.2.5. varnishsizes
121.3. log file
121.4. Varnish Configuration Language - VCL
121.4.1. unset / set
121.5. example
122. Apache Traffic Server
122.1. Install
122.2. Configure
123. Zipkin 分散式鏈路追蹤

1. icinga

https://www.icinga.org/