Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

部分 VI. Monitoring

Network Management Software & Network Monitoring

目录

63. User
63.1. last, lastb - show listing of last logged in users
64. Memory
64.1. Memory
64.2. vmstat - Report virtual memory statistics
64.3. mpstat
64.4. pmap - report memory map of a process
65. CPU
65.1. uptime - Tell how long the system has been running.
65.2. top - display Linux tasks
65.3. atop - AT Computing's System & Process Monitor
65.4. htop - interactive process viewer
66. Processes
66.1. strace - trace system calls and signals
66.2. lsof - list open files
66.2.1. 监控文件系统
66.2.2.
66.2.3. 用户监控
66.2.4. 监控网络
66.2.5. 监控进程
66.2.6. lsof 高级用法
67. Harddisk IO
67.1. input/output statistics
67.1.1. 5 秒监控一次
67.2. iotop - simple top-like I/O monitor
67.3. ionice - set or get process I/O scheduling class and priority
68. Network IO
68.1. netstat
68.2. ss
68.3. iftop - display bandwidth usage on an interface by host
68.4. iptraf - Interactive Colorful IP LAN Monitor
68.5. nload: Console application which monitors network traffic and bandwidth
68.6. bwm - Bandwidth Monitor
69. Service
69.1. NFS
69.1.1. nfsstat
69.1.2. nfswatch
69.2. apachetop
70. iptstate - A top-like display of IP Tables state table entries
71. 文件监控
72. watchdog
73. nmon
74. Hardware
74.1. temperature/voltage/fan
74.2. mcelog - Decode kernel machine check log on x86 machines
75. SMS
75.1. gnokii
75.1.1. 安装
75.1.1.1. Ubuntu
75.1.1.2. CentOS
75.1.2. 配置
75.1.3. 发送测试短信
75.1.4. 接收短信
75.1.5. 拨打电话
75.2. AT Commands
75.2.1. 发送短信
75.2.2. 语音通话
76. IPMI (Intelligent Platform Management Interface)
76.1. OpenIPMI
76.2. freeipmi
76.2.1. ipmiping
76.2.2. ipmimonitoring
76.2.3. ipmi-sensors
76.2.4. ipmi-locate
76.3. ipmitool - utility for controlling IPMI-enabled devices
76.3.1. ipmitool
76.3.1.1. ubuntu
76.3.1.2. CentOS
76.3.2. sensor
76.3.3. ipmitool shell
76.3.4. ipmitool 访问远程主机
76.3.5. Get chassis status and set power state
76.3.6. Configure Management Controller
76.3.6.1. Management Controller status and global enables
76.3.6.2. Configure LAN Channels
76.3.6.3. Configure Management Controller users
76.3.6.4. Configure Management Controller channels
76.3.7. Example for iDRAC
76.3.7.1. 更改IP地址,子网掩码与网关
76.3.7.2. 更改 iDRAC LCD 显示屏
76.3.7.3. 更改 iDRAC 密码
76.3.7.4. 关机/开机
76.3.7.5. 启动列表
77. Logs 分析
77.1. log
77.1.1. logwatch
77.1.2. nulog
77.2. Web
77.2.1. Apache Log
77.2.1.1. 刪除日志
77.2.1.2. 统计爬虫
77.2.1.3. 统计浏览器
77.2.1.4. IP 统计
77.2.1.5. 统计域名
77.2.1.6. HTTP Status
77.2.1.7. URL 统计
77.2.1.8. 文件流量统计
77.2.1.9. URL访问量统计
77.2.1.10. 脚本运行速度
77.2.1.11. IP, URL 抽取
77.2.2. Tomcat Log
77.2.2.1. 截取 0-3 点区间的日志
77.2.3. awstats
77.2.3.1. 语言
77.2.3.2. 输出HTML文档
77.2.3.3. 多站点配置
77.2.3.4. 合并日志
77.2.3.5. Flush history file on disk (unique url reach flush limit of 5000) 优化
77.2.3.6. JAWStats
77.2.4. webalizer
77.2.4.1. 手工生成
77.2.4.2. 批量处理历史数据
77.2.4.3. crontab
77.2.5. Sarg - Squid Analysis Report Generator
77.2.6. goaccess - Fast web log analyzer and interactive viewer.
77.3. rinetd.log
77.4. php-syslog-ng
77.5. Log Analyzer
77.6. Splunk
77.7. logstash - open source log management
77.8. Octopussy
77.9. eventlog-to-syslog
77.10. Apache Flume
78. JVM
78.1. jconsole
78.2. jps - Java Virtual Machine Process Status Tool
78.3. jinfo - Configuration Info
78.4. jstat - Java Virtual Machine Statistics Monitoring Tool
78.5. jHiccup
79. NET SNMP (Simple Network Management Protocol)
79.1. 安装SNMP
79.1.1. Ubuntu
79.1.1.1. snmpd.conf
79.1.1.2. SNMP v3
79.1.2. CentOS
79.1.2.1. Configure SNMPv3 on CentOS or RHEL
79.2. 配置SNMP
79.2.1. community 配置
79.2.2. 定义可操作的范围
79.3. SNMP 命令
79.3.1. snmpwalk
79.3.2. snmpget
79.3.3. snmptest
79.4. Cisco MBI
79.4.1. Cisco 3750
79.4.2. Cisco ASA 5550
80. Cacti
80.1. Install Cacti for Ubuntu
80.2. Yum 安装
80.3. Source Install
80.4. Web 安装
80.5. Cacti plugins
80.5.1. Percona monitoring plugins
80.6. Template
80.6.1. Nginx
80.6.2. php-fpm
80.6.3. MySQL
80.6.4. Redis
80.6.5. Percona JMX Monitoring Template for Cacti
81. Nagios
81.1. Install
81.1.1. Nagios core
81.1.2. Monitor Client nrpe
81.1.3. Monitoring Windows Machines
81.1.4. PNP4Nagios 图表插件
81.2. 配置 Nagios
81.2.1. authorized
81.2.2. contacts
81.2.3. hostgroups
81.2.4. generic-service
81.2.5. SOUND OPTIONS
81.2.6. SMS 短信
81.3. 配置监控设备
81.3.1. routers
81.3.2. host
81.3.3. service
81.3.3.1. http
81.3.3.2. mysql hosts
81.3.3.3. check_tcp
81.4. Nagios Plugins
81.4.1. check_ping
81.4.2. check_procs
81.4.3. check_users
81.4.4. check_http
81.4.5. check_mysql
81.4.5.1. check_mysql
81.4.5.2. mysql.cfg check_mysql_replication
81.4.5.3. nrpe.cfg check_mysql_replication
81.4.6. Disk
81.4.6.1. disk.cfg
81.4.6.2. check_disk
81.4.6.3. disk-smb.cfg
81.4.7. check_tcp
81.4.7.1. 端口检查
81.4.7.2. Memcache
81.4.7.3. Redis
81.4.8. check_log
81.4.9. check_traffic
81.4.10. Nagios nrpe plugins
81.4.11. check_nt
81.4.12. nsca - Nagios Service Check Acceptor
81.4.13.
81.5. FAQ
81.5.1. Macro Name
81.5.2. 插件开发手册
82. Munin
82.1. Installation Monitor Server
82.2. Installation Node
82.3. Additional Plugins
82.4. plugins
82.4.1. mysql
82.4.2. apache
83. Zabbix
83.1. Installing and Configuring Zabbix
83.1.1. Ubuntu
83.1.2. CentOS
83.2. web ui
83.3. zabbix-java-gateway - Zabbix java gateway
83.4. zabbix-agent
84. Ganglia
84.1. Server
84.2. Client
84.3. Plugin
84.4. Installing Ganglia on Centos
85. lvs-rrd
86. Ntop
86.1. Installation
86.1.1. Ubuntu
86.1.2. CentOS
86.2. Web UI
86.3. Plugins
86.3.1. NetFlow
87. Observium
87.1. Installation
88. OpenTSDB
89. Graphite
90. Graphite - Scalable Realtime Graphing
91. BIG BROTHER
92. Big Sister
93. OpenNMS
94. Performance Co-Pilot
95. Clumon Performance Monitor
96. Zenoss
97. 商业软件
98. Hyperic HQ
99. OSSIM,Spiceworks,FireGen,LANSweeper,OSSEC,HIDS
100. HawtIO
101. moloch
102. NetFlow
102.1. flow-tools - collects and processes NetFlow data
102.1.1. flow-capture
102.1.2. NetFlow into MySQL with flow-tools
102.2. netams - Network Traffic Accounting and Monitoring Software
102.2.1. netams-web
103. varnish - a state-of-the-art, high-performance HTTP accelerator
103.1. Varnish Install
103.2. varnish utility
103.2.1. status
103.2.2. varnishadm
103.2.2.1. 清除缓存
103.2.3. varnishtop
103.2.4. varnishhist
103.2.5. varnishsizes
103.3. log file
103.4. Varnish Configuration Language - VCL
103.4.1. unset / set
103.5. example
104. Apache Traffic Server
104.1. Install
104.2. Configure

1. Mrtg

$ sudo apt-get install mrtg
$ sudo mkdir /etc/mrtg/
$ sudo sh -c 'cfgmaker --global "HtmlDir: /var/www/mrtg" \
--global "ImageDir: /var/www/mrtg" \
--global "LogDir: /var/lib/mrtg" \
--global "ThreshDir: /var/lib/mrtg" \
--global "Options[_]: growright,bits"  \
--ifref=name --ifdesc=descr --show-op-down \
public@172.16.0.254 > /etc/mrtg/firewall.cfg'

$ sudo mkdir -p /var/www/mrtg
$ sudo indexmaker --output=/var/www/mrtg/firewall.html /etc/mrtg/firewall.cfg
	

例 78. mrtg

		

		
		

comments powered by Disqus