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 存储日志
100.13. graylog - Enterprise Log Management for All
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/