Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | 雲棲社區 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Github | Search | About

部分 VII. Monitoring

Network Management Software & Network Monitoring

目錄

I. System Monitoring & Utility
78. User
78.1. last, lastb - show listing of last logged in users
79. Memory
79.1. Memory
79.2. vmstat - Report virtual memory statistics
79.3. mpstat
79.4. pmap - report memory map of a process
80. CPU
80.1. uptime - Tell how long the system has been running.
80.2. top - display Linux tasks
80.3. atop - AT Computing's System & Process Monitor
80.4. htop - interactive process viewer
81. Processes
81.1. strace - trace system calls and signals
82. lsof - list open files 檔案監控
82.1. $$
82.2. 監控檔案系統
82.3. 設備檔案
82.4. 用戶監控
82.5. 監控進程
82.6. 監控網絡
82.7. lsof 高級用法
82.8. 根據檔案描述列出對應的檔案信息
83. Harddisk IO
83.1. input/output statistics
83.1.1. 5 秒監控一次
83.2. iotop - simple top-like I/O monitor
83.3. ionice - set or get process I/O scheduling class and priority
83.4. smartd - SMART Disk Monitoring Daemon
84. Network IO
84.1. netstat
84.2. ss
84.3. iftop - display bandwidth usage on an interface by host
84.4. iptraf - Interactive Colorful IP LAN Monitor
84.5. nload: Console application which monitors network traffic and bandwidth
84.6. bwm - Bandwidth Monitor
84.7. iptstate - A top-like display of IP Tables state table entries
85. Service
85.1. NFS
85.1.1. nfsstat
85.1.2. nfswatch
85.2. apachetop
86. 檔案監控
87. watchdog
88. nmon
89. Hardware
89.1. temperature/voltage/fan
89.2. mcelog - Decode kernel machine check log on x86 machines
90. sar - System Activity Reporter
91. SMS
91.1. gnokii
91.1.1. 安裝
91.1.1.1. Ubuntu
91.1.1.2. CentOS
91.1.2. 配置
91.1.3. 發送測試短信
91.1.4. 接收短信
91.1.5. 撥打電話
91.2. AT Commands
91.2.1. 發送短信
91.2.2. 語音通話
92. IPMI (Intelligent Platform Management Interface)
92.1. OpenIPMI
92.2. freeipmi
92.2.1. ipmiping
92.2.2. ipmimonitoring
92.2.3. ipmi-sensors
92.2.4. ipmi-locate
92.3. ipmitool - utility for controlling IPMI-enabled devices
92.3.1. ipmitool
92.3.1.1. ubuntu
92.3.1.2. CentOS
92.3.2. sensor
92.3.3. ipmitool shell
92.3.4. ipmitool 訪問遠程主機
92.3.5. Get chassis status and set power state
92.3.6. Configure Management Controller
92.3.6.1. Management Controller status and global enables
92.3.6.2. Configure LAN Channels
92.3.6.3. Configure Management Controller users
92.3.6.4. Configure Management Controller channels
92.3.7. Example for iDRAC
92.3.7.1. 更改IP地址,子網掩碼與網關
92.3.7.2. 更改 iDRAC LCD 顯示屏
92.3.7.3. 更改 iDRAC 密碼
92.3.7.4. 關機/開機
92.3.7.5. 啟動列表
93. JVM
93.1. jconsole
93.2. jps - Java Virtual Machine Process Status Tool
93.3. jinfo - Configuration Info
93.4. jstat - Java Virtual Machine Statistics Monitoring Tool
93.5. jHiccup
94. NET SNMP (Simple Network Management Protocol)
94.1. 安裝SNMP
94.1.1. Ubuntu
94.1.1.1. snmpd.conf
94.1.1.2. SNMP v3
94.1.2. CentOS
94.1.2.1. Configure SNMPv3 on CentOS or RHEL
94.2. 配置SNMP
94.2.1. community 配置
94.2.2. 定義可操作的範圍
94.3. SNMP 命令
94.3.1. snmpwalk
94.3.2. snmpget
94.3.3. snmptest
94.4. Cisco MBI
94.4.1. Cisco 3750
94.4.2. Cisco ASA 5550
95. Zabbix
95.1. Installing and Configuring Zabbix
95.1.1. Ubuntu
95.1.2. CentOS Zabbix 2.4
95.1.3. Zabbix 3.x CentOS 7
95.2. web ui
95.2.1. 警告腳本
95.3. zabbix-java-gateway - Zabbix java gateway
95.4. zabbix-agent
95.4.1. Ubuntu
95.4.2. CentOS 7
95.4.3. zabbix_agentd 命令
95.4.4. Nginx status 監控
95.4.5. redis
95.4.6. MongoDB
95.4.6.1. 創建 Mongo 監控用戶
95.4.6.2. Zabbix agentd 配置
95.4.6.3. Zabbix server 測試
95.4.7. PHP-FPM
95.4.7.1. 啟用 php-fpm status 功能
95.4.7.2. 配置 nginx
95.4.7.3. 配置 Zabbix 代理
95.4.7.4. php-fpm 監控參數
95.4.8. Elasticsearch
95.4.8.1. 安裝採集腳本
95.4.8.2. 配置Zabbix代理
95.4.9. Postfix
95.4.9.1. 安裝採集腳本
95.4.9.2. userparameter_postfix.conf
95.4.10. TCP stats
95.4.10.1. 採集腳本
95.4.11. 應用依賴檢查
95.4.12. Oracle
95.4.12.1. 採集腳本
95.4.12.2.
96. Cacti
96.1. Install Cacti for Ubuntu
96.2. Yum 安裝
96.3. Source Install
96.4. Web 安裝
96.5. Cacti plugins
96.5.1. Percona monitoring plugins
96.6. Template
96.6.1. Nginx
96.6.2. php-fpm
96.6.3. MySQL
96.6.4. Redis
96.6.5. Percona JMX Monitoring Template for Cacti
97. Nagios
97.1. Install
97.1.1. Nagios core
97.1.2. Monitor Client nrpe
97.1.3. Monitoring Windows Machines
97.1.4. PNP4Nagios 圖表插件
97.2. nagios
97.3. nrpe node
97.4. 配置 Nagios
97.4.1. authorized
97.4.2. contacts
97.4.3. hostgroups
97.4.4. generic-service
97.4.5. SOUND OPTIONS
97.4.6. SMS 短信
97.4.7. nrpe plugins
97.5. 配置監控設備
97.5.1. routers
97.5.2. host
97.5.3. service
97.5.3.1. http
97.5.3.2. mysql hosts
97.5.3.3. check_tcp
97.6. Nagios Plugins
97.6.1. check_ping
97.6.2. check_procs
97.6.3. check_users
97.6.4. check_http
97.6.5. check_mysql
97.6.5.1. check_mysql
97.6.5.2. mysql.cfg check_mysql_replication
97.6.5.3. nrpe.cfg check_mysql_replication
97.6.6. Disk
97.6.6.1. disk.cfg
97.6.6.2. check_disk
97.6.6.3. disk-smb.cfg
97.6.7. check_tcp
97.6.7.1. 連接埠檢查
97.6.7.2. Memcache
97.6.7.3. Redis
97.6.8. check_log
97.6.9. check_traffic
97.6.10. Nagios nrpe plugins
97.6.11. check_nt
97.6.12. nsca - Nagios Service Check Acceptor
97.6.13. jmx
97.7. FAQ
97.7.1. Macro Name
97.7.2. 插件開發手冊
98. ElasticSearch + Logstash + Kibana
98.1. 安裝
98.1.1. 6.x
98.1.2. ElasticSearch + Logstash + Kibana 安裝
98.1.2.1. ElasticSearch 安裝
98.1.2.2. Kibana 安裝
98.1.2.3. Logstash 安裝
98.1.2.4. 從 5.x 升級到 6.x
98.2. logstash 命令簡單應用
98.2.1. -e 命令行運行
98.2.2. -f 指定配置檔案
98.2.3. -t:測試配置檔案是否正確,然後退出。
98.2.4. -l:日誌輸出的地址
98.2.5. log.level 啟動Debug模式
98.3. 配置 Broker(Redis)
98.3.1. indexer
98.3.2. shipper
98.4. logstash 配置項
98.4.1. input
98.4.1.1. 標準輸入輸出
98.4.1.2. rubydebug
98.4.1.3. 本地檔案
98.4.1.3.1. 指定檔案類型
98.4.1.3.1.1. Nginx
98.4.1.4. TCP/UDP
98.4.1.5. Redis
98.4.1.6. Kafka
98.4.1.7. jdbc
98.4.2. filter
98.4.2.1. 日期格式化
98.4.2.2. patterns
98.4.2.3. syslog
98.4.2.4. csv
98.4.2.5. 使用ruby 處理 CSV檔案
98.4.2.6. 執行 ruby 代碼
98.4.2.7. grok debug 工具
98.4.3. output
98.4.3.1. stdout
98.4.3.2. file 寫入檔案
98.4.3.3. elasticsearch
98.4.3.3.1. 自定義 index
98.4.3.4. exec 執行腳本
98.5. Example
98.5.1. Spring boot logback
98.5.2. 索引切割實例
98.5.3.
98.5.3.1.
98.6. FAQ
98.6.1. 查看 Kibana 資料庫
98.6.2. logstash 無法寫入 elasticsearch
98.6.3. 標準輸出
98.6.4. 5.x 升級至 6.x 的變化
99. Beta
99.1. 安裝 Beta
99.1.1. Beats 6.x 安裝
99.1.2. Beats 5.x 安裝
99.2. filebeat
100. Logs 分析
100.1. log
100.1.1. logwatch
100.1.2. logcheck : Analyzes log files and sends noticeable events as email
100.1.3. nulog
100.2. Web
100.2.1. Apache Log
100.2.1.1. 刪除日誌
100.2.1.2. 統計爬蟲
100.2.1.3. 統計瀏覽器
100.2.1.4. IP 統計
100.2.1.5. 統計域名
100.2.1.6. HTTP Status
100.2.1.7. URL 統計
100.2.1.8. 檔案流量統計
100.2.1.9. URL訪問量統計
100.2.1.10. 腳本運行速度
100.2.1.11. IP, URL 抽取
100.2.2. awstats
100.2.2.1. 語言
100.2.2.2. 輸出HTML文檔
100.2.2.3. 多站點配置
100.2.2.4. 合併日誌
100.2.2.5. Flush history file on disk (unique url reach flush limit of 5000) 優化
100.2.2.6. JAWStats
100.2.3. webalizer
100.2.3.1. 手工生成
100.2.3.2. 批量處理歷史數據
100.2.3.3. crontab
100.2.4. Sarg - Squid Analysis Report Generator
100.2.5. goaccess - Fast web log analyzer and interactive viewer.
100.3. Tomcat
100.3.1. 截取 0-3 點區間的日誌
100.3.2. 監控Redis
100.4. Mail
100.4.1. pflogsumm.pl - Produce Postfix MTA logfile summary
100.5. OpenSSH 日誌 /var/log/secure
100.5.1. 查看登陸用戶
100.6. rinetd.log
100.7. php-syslog-ng
100.8. Log Analyzer
100.9. Splunk
100.10. Octopussy
100.11. eventlog-to-syslog
100.12. Apache Flume
100.12.1. 安裝 Apache flume
100.12.2. 基本配置
100.12.3. 配置 MySQL 存儲日誌
100.12.4. 配置 HDFS 存儲日誌
101. MRTG
101.1. Ubuntu 安裝
101.2. CentOS 安裝
101.3. 監控多個設備
101.4. 批量生成監控配置檔案
101.5. 圖片尺寸
102. Munin
102.1. Ubuntu
102.1.1. Installation Monitor Server
102.1.2. Installation Node
102.1.3. Additional Plugins
102.1.4. plugins
102.1.4.1. mysql
102.1.4.2. apache
102.2. CentOS
102.3. 用戶認證
102.4. munin-node and plugins
102.4.1. munin-node.conf
102.4.2. mysql plugin
102.4.3. apache plugin
102.4.4. memcached plugin
102.5. munin.conf
102.6. munin-node
102.6.1. munin-node.conf
103. Ntop
103.1. Installation
103.1.1. Ubuntu
103.1.2. CentOS
103.2. Web UI
103.3. Plugins
103.3.1. NetFlow
104. Bandwidth
104.1. apt-get install
104.2. CentOS rpm/yum
104.3. source code
104.4. /etc/bandwidthd.conf
105. NetFlow
105.1. flow-tools - collects and processes NetFlow data
105.1.1. flow-capture
105.1.2. NetFlow into MySQL with flow-tools
105.2. netams - Network Traffic Accounting and Monitoring Software
105.2.1. netams-web
106. Ganglia
106.1. Server
106.2. Client
106.3. Plugin
106.4. Installing Ganglia on Centos
107. lvs-rrd
108. Observium
108.1. Installation
109. OpenTSDB
110. Graphite
111. Graphite - Scalable Realtime Graphing
112. BIG BROTHER
113. Big Sister
114. OpenNMS
115. Performance Co-Pilot
116. Clumon Performance Monitor
117. Zenoss
118. 商業軟件
119. Hyperic HQ
120. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
121. HawtIO
122. moloch
123. varnish - a state-of-the-art, high-performance HTTP accelerator
123.1. Varnish Install
123.2. varnish utility
123.2.1. status
123.2.2. varnishadm
123.2.2.1. 清除緩存
123.2.3. varnishtop
123.2.4. varnishhist
123.2.5. varnishsizes
123.3. log file
123.4. Varnish Configuration Language - VCL
123.4.1. unset / set
123.5. example
124. Apache Traffic Server
124.1. Install
124.2. Configure

1. icinga

https://www.icinga.org/