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. FAQ
97.6.1. 查看 Kibana 数据库
97.6.2. logstash 无法写入 elasticsearch
97.6.3. 标准输出
97.6.4. 5.x 升级至 6.x 的变化
98. Beta
98.1. 安装 Beta
98.1.1. Beats 6.x 安装
98.1.2. Beats 5.x 安装
98.2. filebeat
99. Logs 分析
99.1. log
99.1.1. logwatch
99.1.2. logcheck : Analyzes log files and sends noticeable events as email
99.1.3. nulog
99.2. Web
99.2.1. Apache Log
99.2.1.1. 刪除日志
99.2.1.2. 统计爬虫
99.2.1.3. 统计浏览器
99.2.1.4. IP 统计
99.2.1.5. 统计域名
99.2.1.6. HTTP Status
99.2.1.7. URL 统计
99.2.1.8. 文件流量统计
99.2.1.9. URL访问量统计
99.2.1.10. 脚本运行速度
99.2.1.11. IP, URL 抽取
99.2.2. awstats
99.2.2.1. 语言
99.2.2.2. 输出HTML文档
99.2.2.3. 多站点配置
99.2.2.4. 合并日志
99.2.2.5. Flush history file on disk (unique url reach flush limit of 5000) 优化
99.2.2.6. JAWStats
99.2.3. webalizer
99.2.3.1. 手工生成
99.2.3.2. 批量处理历史数据
99.2.3.3. crontab
99.2.4. Sarg - Squid Analysis Report Generator
99.2.5. goaccess - Fast web log analyzer and interactive viewer.
99.3. Tomcat
99.3.1. 截取 0-3 点区间的日志
99.3.2. 监控Redis
99.4. Mail
99.4.1. pflogsumm.pl - Produce Postfix MTA logfile summary
99.5. OpenSSH 日志 /var/log/secure
99.5.1. 查看登陆用户
99.6. rinetd.log
99.7. php-syslog-ng
99.8. Log Analyzer
99.9. Splunk
99.10. Octopussy
99.11. eventlog-to-syslog
99.12. Apache Flume
99.12.1. 安装 Apache flume
99.12.2. 基本配置
99.12.3. 配置 MySQL 存储日志
99.12.4. 配置 HDFS 存储日志
99.13. graylog - Enterprise Log Management for All
100. MRTG
100.1. Ubuntu 安装
100.2. CentOS 安装
100.3. 监控多个设备
100.4. 批量生成监控配置文件
100.5. 图片尺寸
101. Munin
101.1. Ubuntu
101.1.1. Installation Monitor Server
101.1.2. Installation Node
101.1.3. Additional Plugins
101.1.4. plugins
101.1.4.1. mysql
101.1.4.2. apache
101.2. CentOS
101.3. 用户认证
101.4. munin-node and plugins
101.4.1. munin-node.conf
101.4.2. mysql plugin
101.4.3. apache plugin
101.4.4. memcached plugin
101.5. munin.conf
101.6. munin-node
101.6.1. munin-node.conf
102. Ntop
102.1. Installation
102.1.1. Ubuntu
102.1.2. CentOS
102.2. Web UI
102.3. Plugins
102.3.1. NetFlow
103. Bandwidth
103.1. apt-get install
103.2. CentOS rpm/yum
103.3. source code
103.4. /etc/bandwidthd.conf
104. NetFlow
104.1. flow-tools - collects and processes NetFlow data
104.1.1. flow-capture
104.1.2. NetFlow into MySQL with flow-tools
104.2. netams - Network Traffic Accounting and Monitoring Software
104.2.1. netams-web
105. Ganglia
105.1. Server
105.2. Client
105.3. Plugin
105.4. Installing Ganglia on Centos
106. lvs-rrd
107. Observium
107.1. Installation
108. OpenTSDB
109. Graphite
110. Graphite - Scalable Realtime Graphing
111. BIG BROTHER
112. Big Sister
113. OpenNMS
114. Performance Co-Pilot
115. Clumon Performance Monitor
116. Zenoss
117. 商业软件
118. Hyperic HQ
119. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
120. HawtIO
121. moloch
122. varnish - a state-of-the-art, high-performance HTTP accelerator
122.1. Varnish Install
122.2. varnish utility
122.2.1. status
122.2.2. varnishadm
122.2.2.1. 清除缓存
122.2.3. varnishtop
122.2.4. varnishhist
122.2.5. varnishsizes
122.3. log file
122.4. Varnish Configuration Language - VCL
122.4.1. unset / set
122.5. example
123. Apache Traffic Server
123.1. Install
123.2. Configure
124. Zipkin 分布式链路追踪

1. icinga

https://www.icinga.org/